I have been trying to make a custom ChartStyle which is essentially the Equivolume bars with all the space between the bars removed like BoxStyle bars. (So I guess they would be Vary-Volume bars )
BoxStyle.cs seems to set the bars X position using the following code:
The plan was to keep track of the previous bars x co-ordinate and volume variable bar width. Then add those to set the following bars x co-ordinate. While I can render horizontal lines starting and finishing at any variable x co-ordinate. The vertical Bars point.x values get ignored altogether.
So after a bit of frustration I just tried scaling the "boxStartPosition" value (to 20 instead of 2*x) in the above BoxStyle.cs to see if I could add space between the Boxes... It has no impact on the rendered box bars?
Should what I am trying to do be possible? Or are bars x co-ordinates ignored because the time line spacing is fixed?
Equivolume Bars with the collapsed variable spacing similar to this chart:
Thanks
Comment