I am using a 2-d Column Chart. When acertain value is picked, I wanted the series label on the x-axis to be displayed in horizontal orientation and verticalleftfacing for the rest. To do this, I've added this code
If facvalue = "0" Then
ChartGenre.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal
Else
ChartGenre.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing
End If
But the orientation is always horizontal. How to fix that?
Thanks
You can try:
this.ChartGenre.Axis.X.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;