Timelion bar graph


(Padmavathy) #1

Is there a way to change the mode from stacked to grouped in a timelion chart.The graph i need with timelion is a bar chart.


(Spencer Alger) #2

You can pass stack=true to the .bars() function, like so:

.es(geo.src:US).bars(stack=true),.es(geo.src:CN).bars(stack=true)

(Padmavathy) #3

Thank you .I tried using stack=true but still facing the same issue


(Spencer Alger) #4

Oh, I'm sorry, I misread the original post, there isn't any way to do grouped bars in timelion as far as I can tell. Best I've been able to do is use decreasing widths to roughly simulate grouping:

.es(geo.src:US).bars(stack=false width=10),.es(geo.src:CN).bars(stack=false width=5)

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.