Vega-lite: candlestick charts

Created on 30 May 2017  路  4Comments  路  Source: vega/vega-lite

Do you support or will you support candlestick charts? Is this already in the roadmap? (Thx.)

Area - Docs

Most helpful comment

@paintdog The solution I mention is not a workaround. As a visualization grammar, Vega-Lite provides flexible building blocks for composing charts, not a collection of chart templates. Other visualization grammars such as Protovis also uses a similar mechanism for creating a candlestick chart.

@NeelMohapatra Please help create an example for this. (You can use the data from the Protovis example.)

All 4 comments

Thanks for asking.

You can use layer operator to overlay bar and rule marks to product a candlestick chart, akin to a box plot except that (1) you should encode y and y2 of the bars with open and close values of the security instead showing Q3 and Q1 and (2) you won't need ticks in the middle of the bars.

I'll leave this issue open as it is probably a good example to add to the example gallery.

Support from the beginning would also be nice. I mean direct support and not a work-around.

@paintdog The solution I mention is not a workaround. As a visualization grammar, Vega-Lite provides flexible building blocks for composing charts, not a collection of chart templates. Other visualization grammars such as Protovis also uses a similar mechanism for creating a candlestick chart.

@NeelMohapatra Please help create an example for this. (You can use the data from the Protovis example.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ijlyttle picture ijlyttle  路  4Comments

kanitw picture kanitw  路  3Comments

learnwithratnesh picture learnwithratnesh  路  4Comments

infai-feineis picture infai-feineis  路  3Comments

swanderz picture swanderz  路  4Comments