Hi,
I am using UltraWinChart version 8.1.200081.1000 for displaying a line graph.
On X-Axis the space between the axis line and the labels doesnot allow labels to be visible fully. The following is the code I am using:
.Axis.X.TickmarkStyle = AxisTickStyle.Smart.Axis.X.Labels.ItemFormatString = "<ITEM_LABEL:dd-MMM-yy>".Axis.X.Labels.Orientation = TextOrientation.Custom.Axis.X.Labels.OrientationAngle = 45.Axis.X.Labels.VerticalAlign = StringAlignment.Far.Axis.X.Extent = 45.LineChart.TreatDateTimeAsString = False
I had also tried using the following:
.Axis.X.Labels.Layout.Behavior = AxisLabelLayoutBehaviors.None
but with no luck.
Thanks for your feedback. Let me know if you have any further questions.
Regards
Thanks ! Chart Wizard help me lot .
Thanks for attached screenshot. Looking at the provided information, maybe you could try the property:
ultraChart1.Axis.X.Margin.Far.Value = 10; - Far property = right side / Near property = left side
Also you could do this using our chart`s designer. Please take a look at the attached video for more details. Let me know if you have any questions,
I also have same issue, I tried this and Extend property on barchart x axis lable, but extend property give more space on bottom and left side, any sample code earliest is appriciated., I need more space on right side of x axis to show my label
You can try adding the following line:
this.ultraChart1.Axis.X.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.None;