User (Legacy) Posted December 7, 2006 Report Share Posted December 7, 2006 I am trying to plot a series that has all uniform data. (i.e. 10 points in the series that all are identical). If I plot this series with AutoFormat enabled and ForceZero disabled, then the axis dissapears. I can still inspect each point and get the correct value, and the points each show up on the chart. I would expect the behavior of the graph to at least give me 2 points on the axis in this case. Having no axis at all to refference is somewhat confusing. Is there perhaps a setting here that I can take advantage of to keep the axis from dissapearing? Thank you for your help! paul Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted December 7, 2006 Report Share Posted December 7, 2006 This is normal. If ForceZero is false, the Min and Max will both end up being 10 and therefore there is no scale to show. You may change this behavior by doing this AFTER passing data: if (chart.AxisY.Min == chart.AxisY.Max) chart.AxisY.Max = chart.AxisY.Max + 1 -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.