|
Group: Forum Members
Posts: 7,
Visits: 1
|
Many thanks for your reply.
This is the code i now use (below), but unfortunately it does not invert the y axis. Is there something wrong in my code. Please be kind enough to have a look. Thanks
NChart chart = NChartControl1.Charts[0]; NLineSeries line = new NLineSeries(); line.Legend.TextStyle.FontStyle.EmSize = new NLength(9, NGraphicsUnit.Point); line.Legend.TextStyle.FontStyle.Name = "Calibri";
NLinearScaleConfigurator scale = (NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator;
scale.Invert = true;
line.DataLabelStyle.Format = ""; line.Legend.Format = "
|