Hi,
the range of my data is from -200 to 200 and I set ZeroAligned to true.
After set ZeroAligned to true, the x-axis line is start from 0 of y-axis, and it's position is in the center of this chart.
but the x-axis labels are still in the bottom...
the customer asks that these labels must near the x-axis line.
Could you please tell me how to set this x-axis labels position and let these labels can near the x-axis line?
thanks!
Try to use the LabelStyle.Dy property of the Label or SeriesLabel (depending what you are using) with a proper value:
ultraChart1.Axis.X.Labels.SeriesLabels.LabelStyle.Dy = -100;
Let me know if this helps.
I try this setting but it doesn't work...
the followed is the related settings, are there some settings wrong?
ultraChart1.DataSource = dv;
ultraChart1.Legend.Visible = true;
ultraChart1.Data.ZeroAligned = true;
ultraChart1.Axis.X.Extent = 30;
ultraChart1.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
ultraChart1.Axis.Y.Labels.ItemFormatString = "<DATA_VALUE:0,0>";