Hi I was not able to find example on how to add desired number of grid, minor grid
similar to this example (bokeh/stocks.ts at branch-2.4 · bokeh/bokeh · GitHub)
// Add axis and grid
const xaxis = new Bokeh.DatetimeAxis({axis_line_color: null, axis_label: "time"})
const yaxis = new Bokeh.LinearAxis({axis_line_color: null, axis_label: "price"})
plot.add_layout(xaxis, "below")
plot.add_layout(yaxis, "left")
plot.add_layout(new Bokeh.Grid({ticker: xaxis.ticker, dimension: 0}))
plot.add_layout(new Bokeh.Grid({ticker: yaxis.ticker, dimension: 1}))
something like,
plot.add_layout(new Bokeh.Grid({ticker: xaxis.ticker, desired_num_ticks: 10}))
also looking for the method to set grid colors in JS
plot.add_layout(new Bokeh.Grid({ticker: xaxis.ticker, color: "Red"}))
Thanks

