Friday, February 24, 2012 9:44 AM
i'm using Asp.net 3.5 chart control,i have a bar chart,in that x-axis labels are not showing properly.label has long data to display.
label should be display horizontally.
can anyone help me out....
Friday, February 24, 2012 10:11 AMcan anyone help me...???
Friday, February 24, 2012 10:18 AM
i attached the img...
in that 1 label is not showing properly...
what i need is 'unsupported assets' but currently it is showing 'd' in next line...
my query is,is there any property to set x-axis label fit properly how much ever the data is?
i tried 'IsLabelAutoFit =true' but nothing is happening..
plz help me..
thanks in adv
Friday, February 24, 2012 10:54 AMModerator
The chart will automatically try to resize the font of the label to a certain limit by default. Your chart simply does not have enough room on the axis. You have three options.
1) Make the chart wider.
2) Manually set the axis label font smaller. (Chart1.ChartAreas(0).AxisX.LabelStyle.Font)
3) Show the labels at an angle. (Chart1.ChartAreas(0).AxisX.LabelStyle.Angle)
- Marked As Answer by jwavilaMVP, Moderator Thursday, April 05, 2012 9:43 AM