Group: Forum Members
Last Active: 12 Years Ago
Posts: 2,
Visits: 1
|
Hi,
In Nevron Chart for SSRS, in addition to the series added in the design time, I am adding a new series in the code section of chart designer. Here is the code.
NChart chart = context.Document.Charts[0]; NLineSeries line1 = new NLineSeries(); line1.Values.Add(311000); line1.Values.Add(332000); line1.Values.Add(443000); line1.Values.Add(444000); chart.Series.Add(line1);
The newly added line is drawn on the chart, but the legend of the new series is not shown up. Only the legend of first series(added at design time) is shown up.
Please help me to resolve this.
Thanks, Xavier
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Xavier, You need to display the new series on the Legned: chart .DisplayOnLegend = context.Document.Legends[0];
Best Regards, Nevron Support Team
|