Matthew Sherborne
2016-01-16 19:31:02 UTC
Hi guys,
I'm working on a patch for Wt that will allow it to plot candles (as used
in financial plots).
https://en.wikipedia.org/wiki/Candlestick_chart
My current issue is that for each X value there are 4 Y values (high, low,
open, close).
One solution is to force users to enter a Candle type for the Y value.
Another is to use something like the stacked 'area' graph, and if there
aren't four values, they'd defer to a line chart. Also when using it you'd
have to remember the meaning of the four data columns (high, low, open
close).
Any input / feedback / suggestions welcome.
I'm using the 'have to pass a Candle type for y instead of a double'
technique right now.
Many Thanks
Matthew Sherborne
I'm working on a patch for Wt that will allow it to plot candles (as used
in financial plots).
https://en.wikipedia.org/wiki/Candlestick_chart
My current issue is that for each X value there are 4 Y values (high, low,
open, close).
One solution is to force users to enter a Candle type for the Y value.
Another is to use something like the stacked 'area' graph, and if there
aren't four values, they'd defer to a line chart. Also when using it you'd
have to remember the meaning of the four data columns (high, low, open
close).
Any input / feedback / suggestions welcome.
I'm using the 'have to pass a Candle type for y instead of a double'
technique right now.
Many Thanks
Matthew Sherborne