Xuan
Xuan

Reputation: 5629

Bokeh Overlapping Bar Chart?

Is it possible to do overlapping bar chart in bokeh like this example in highcharts?

http://www.highcharts.com/demo/column-placement

enter image description here

Upvotes: 3

Views: 2389

Answers (1)

Fabio Pliger
Fabio Pliger

Reputation: 696

Yes. You can definitely create this type of chart using Bokeh lower/mid level APIs. That will require some coding to prepare the data and the glyphs. You can create and draw 2 different sources for the background and foreground rects separately. The plotting API docs and the examples on the repo should be helpful.

As a side note, at the moment (0.11 version) the high level Charts API does have a Bar builder function to create Bar charts with just one line but it doesn't support overlapping bars.

Upvotes: 2

Related Questions