On Jun 5, 2015, at 3:35 PM, Thomas S <thomas.schmelzer@gmail.com> wrote:
Sarah, thank you so much for all the time invested in your answer. I don't see the reason yet why a categorical x-range can't be used to construct something as simple as a line. In my case this range is a set of points in time.
thomas
On Friday, 5 June 2015 18:36:47 UTC+2, Sarah Bird wrote:
Hi Thomas,
A couple of things. Charts are really useful gateways into lots of things, but combining two together is often not going to be a great experience.
It is possible, in the way you were hinting at, to combine a Bar and a Dot chart.
See my notebook: http://nbviewer.ipython.org/github/birdsarah/bokeh-miscellany/blob/master/notebooks/Bar%20with%20a%20Line.ipynb
This is possible because both Bar & Dot create a categorical x-range. But a Line chart uses a Linear x-range so the two cannot map on top of each other.
If you can make some kind of line with the categorical range used from the bar chart (I'm not actually sure whether this is possible) then you should be able to stitch things together.
Otherwise you're going to be stuck manually creating a bar chart as the Bar chart function does a lot of heavy lifting.
Hope this helps.
Bird
On Fri, Jun 5, 2015 at 6:03 PM, B. Eugene Smith <mycot...@gmail.com> wrote:
p1.line(...)?
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/250822e6-ab20-461a-babc-790b1f78a1fe%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b6b38dd2-d0b8-4f25-86e1-9d538321d4bf%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.