XYline chart x-axis 0 positioning

Hi,


I have an xyline chart with 2 series added. The range is set from 0-12 but the 0 point is 0.5 units in from the y-axis. This causes issue when adding crosshairs as the crosshair 0 reference is from the y-axis line. This results in the crosshair displaying a value at the cursor that is at 0.5 + position. How do I align the x-axis so that the minimum range point is positioned at the y-axis and not offset by 0.5 units? e.g 0 from the graph would be inline with the x-axis like a standard xy chart.

Thanks for any help.

Best Regards,

Matt Finch

Try to set

advchartview.Panes[x].XScaleOffset := false;

Hi,


I am using tAdvGDIPChartView but both chartviews do not seem to have the variable XScaleOffSet as you have quoted. Here is screen shot of my app (dropbox link). As you can see, the crosshairs are hovering over the waveform but the quoted values do not relate to the y-series at the cursor due to crosshairs references y-axis as zero point instead of 0.5x units. I just can't seem to find the parameter to make x-axis zero point underneath y-axis line.

https://dl.dropbox.com/u/15691370/AdvGDIPChartView_XAxis_0point.png

Best Regards,

Matt Finch


The latest version has this property, so please update to the latest version.

Thanks, that sorted out the graph for me but I have just come to a stumbling block which is probably not a quick fix. I am after chart with x-axis logarithmic option. I don't suppose you guys are considering this?

Sorry, currently there is not yet a logarithmic option for the X-axis. You might consider entering this as a feature request at http://www.tmssoftware.com/site/fr.asp