Hi, I'm currently evaluating the nevron charts, using asp.net.
I'm trying to create a horisontal bar chart but would like the data labels to be displayed inside the bars, aligned near the end of the bar.
I am trying to use DataLabelStyle.TextStyle.Offset on my NBarSeries but this seems to have no effect regardless of values used.
Here's my example code:
NChartControl cc1 = GetChartControl();
NCartesianChart chart = new NCartesianChart();
cc1.Charts.Add(chart);
chart.Enable3D = false;
chart.Projection.SetPredefinedProjection(PredefinedProjection.OrthogonalHorizontalLeft);
NBarSeries bar = (NBarSeries)chart.Series.Add(SeriesType.Bar);
bar.Values.Add(7);
bar.Values.Add(3);
bar.Values.Add(4);
bar.Values.Add(1);
bar.Labels.Add("7");
bar.Labels.Add("3");
bar.Labels.Add("4");
bar.Labels.Add("1");
bar.DataLabelStyle.TextStyle.BackplaneStyle.Visible = false;
bar.DataLabelStyle.TextStyle.Offset = new NPointL(-30, 30); //How to move label?
Thanks,