x axis labels stacked bar ASP.Net chart controls
If the X-axis doesn't show all labels for the stacked bar chart control
We need to add this in codebehind :
Chart.ChartAreas[0].AxisX.IntervalAutoMode = IntervalAutoMode.VariableCount;
In .aspx :
AxisX IsLabelAutoFit="true"
LabelStyle Angle="-90" Interval="1"
MajorTickMark Enabled ="false"
No comments:
Post a Comment