Hey.
i have a bar chart which has several series. each series has several items.
i need the series name to be displayed in the x axis (instead of the step numbers).
whenever i add a a ChartAxisItem (see attached code), the display is massed up (massed up.png image vs' fine.png).
please provide help.
code:
thanks.
i have a bar chart which has several series. each series has several items.
i need the series name to be displayed in the x axis (instead of the step numbers).
whenever i add a a ChartAxisItem (see attached code), the display is massed up (massed up.png image vs' fine.png).
please provide help.
code:
HiveEventsChart.PlotArea.XAxis.RemoveAllItems(); foreach (var series in HiveEventsChart.Series) { var axisItem = new ChartAxisItem(); axisItem.TextBlock.Text = series.Name.ToShortString(2); axisItem.Appearance.RotationAngle = 30; HiveEventsChart.PlotArea.XAxis.AddItem(axisItem); }
thanks.