I have a column chart with values ranging from +230 to -5. When my column chart is plotted, the major Y values include: -40, 10, 60, 110, 160, 210, 260. Because there is no line a Y=0, the bases of all of the columns appear to float between the -40 and 10 major gridlines. Is there a way to add a Y=0 grid line even if Y=0 does not correspond to a major grid line?
Thanks.
Nick
Zero Y line for column chart
Re: Zero Y line for column chart
Support · Mar 31, 2011Hello Nick,
Can you please send us an image of your existing column chart as well as an image of the chart you would like to generate to [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] so we get a better picture on what your requirements are.
Thanks,
ceTe Software Support Team
Re: Zero Y line for column chart
Support · Apr 1, 2011Hello,
Yes, you can add Y=0 gridline even if you won't specify the value for Y=0 in the chart. You will need to set the AnchorType to floating for the X axis and place the X axis data labels below the plot area.Below is he sample code for it.
columnSeries1.XAxis.AnchorType=XAxisAnchorType.Floating;
columnSeries1.XAxis.LabelPosition = XAxisLabelPosition.BelowPlotArea;
Thanks,
ceTe Software Support Team.