Hi Joern,
No problem about the post. You can turn off the legend borders using:
NLegend legend = nChartControl1.Legends[0];
legend.OuterBottomBorder
Style.Width = new Nevron.GraphicsCore.NLength(0);
legend.OuterTopBorder
Style.Width = new Nevron.GraphicsCore.NLength(0);
legend.OuterLeftBorder
Style.Width = new Nevron.GraphicsCore.NLength(0);
legend.OuterRightBorder
Style.Width = new Nevron.GraphicsCore.NLength(0);
Regarding the subscript, yes this is possible - you need to set the
text format to XML and then enclose the subscript
text with sub tags:
NChart chart = nChartControl1.Charts[0];
NBarSeries bar = new NBarSeries();
bar.Values.Add(10);
bar.Values.Add(20);
bar.Values.Add(30);
bar.Name = "Subscript <sub>
text</sub>";
bar.Legend.
TextStyle.
TextFormat = Nevron.GraphicsCore.
TextFormat.XML;
chart.Series.Add(bar);
We hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team