Home › Forums › WinForms controls › Xceed Chart for WinForms › Adjusting Left and right labels
I have created Charts with side labels using the following code
Chart1.Axis(StandardAxis.SecondaryY).ValueFormatting.Format = Xceed.Chart.Utilities.ValueFormat.Percentage Chart1.Axis(StandardAxis.SecondaryY).NumericScale.Min = 0 Chart1.Axis(StandardAxis.SecondaryY).Visible = True
Chart1.Axis(StandardAxis.SecondaryY).Title = “Probability to Exceed”
The problem is the chart label and the percentage value shown ovelaps with each other. the label comes below the percentage value.
i want that the title “Probability to Exceed ” should be seperate from that percentage values
Imported from legacy forums. Posted by Rashid (had 2874 views)
You can use the TitleText property to set the Title position so it does not overlap with the percentage value.
Axis secondaryYAxis = chart.Axis( StandardAxis.SecondaryY );secondaryYAxis.TitleText.Offset = new PointF( secondaryYAxis.TitleText.Offset.X – 20, secondaryYAxis.TitleText.Offset.Y );
Or you can use the Text property to set the labels position to do the same.
secondaryYAxis.Text.Offset = new PointF( secondaryYAxis.Text.Offset.X – 20, secondaryYAxis.Text.Offset.Y );
Imported from legacy forums. Posted by André (had 220 views)
Thanks. thats worked perfectly. I have been working with xceed components. and now i m having problem with docking windows as well. i have posted the problem in other section. can you help me out
Imported from legacy forums. Posted by Rashid (had 2890 views)