bokeh x-axis timestamp business days and business hours

Hi, I’m trying to use bokeh to draw Candlestick chart. I’m using x_axis_type=“datetime”. There are some problems.

If I zoom in the chart, there are x-axis “gaps” between candlestick bars.

However, I would like to know how to remove the gaps non-business days and non-business hours.

I would like to add zoom in resolution into the chart.

For example,

In daily candlestick chart, zoom in, zoom in…, at last, the tickers in x-axis are business days.

In minutely candlestick chart, zoom in, zoom in…, at last, the tickers in x-axis are business minutes.

Thanks a lot.

below answer can solve the problem.

···

On Tuesday, 20 December 2016 18:31:43 UTC+5:30, [email protected] wrote:

Hi, I’m trying to use bokeh to draw Candlestick chart. I’m using x_axis_type=“datetime”. There are some problems.

If I zoom in the chart, there are x-axis “gaps” between candlestick bars.

However, I would like to know how to remove the gaps non-business days and non-business hours.

I would like to add zoom in resolution into the chart.

For example,

In daily candlestick chart, zoom in, zoom in…, at last, the tickers in x-axis are business days.

In minutely candlestick chart, zoom in, zoom in…, at last, the tickers in x-axis are business minutes.

Thanks a lot.