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.
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)
Thank you .I tried using stack=true but still facing the same issue
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)
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.