Hello,
I am designing a chart according to the post at this address:
https://www.nevron.com/Forum/8941/Align-a-Chart-With-PredefinedChartStyleHorizontalRight
I would like to synchronize the axis of the stock chart and the horizontal bar chart. I'm using the following code:
// stock chart Y axis
_AxisYPrice = _ChartPrice.Axis(StandardAxis.PrimaryY);
_AxisYPrice.View = new NRangeAxisView(new NRange1DD(LowValue, HighValue));
// horizontal bar chart x-axis
_AxisXLevel2 = _ChartLevel2.Axis(StandardAxis.PrimaryX);
_AxisXLevel2.View = new NRangeAxisView(new NRange1DD(LowValue, HighValue));
This almost works, but the center horizontal bar does not always alighn exactly with the latest closing tick mark. I made the horizontal bar chart x-axis visible, and found that the limits are slightly different. (Please see the screen capture following.) Is there a way to make the axes ranges exact?
Thank you, Brian Warren