Profile Picture

Accessing Dataset from embedded code.

Posted By James 10 Years Ago
Author
Message
James
Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 3, Visits: 16
Hi,

Currently I'm trying to get some labels on the chart using Nevron Vision for SSRS 2014.1 for SSRS 2008 / SSRS 2008R2 (build version: 14.5.23.12). But because some of the labels can be very long (e.g. "This is a long annotation for this data point 20th June 2013"), so we have a shortened version (e.g. *01 ) to be placed as the data point labels, and the longer version of the text be be displayed in a custom drawn NRoundedRectangularCallout which will be inserted on the chart itself.

So, I would like to check if currently there's any way to get the chart's dataset from the embedded code. At the moment, I can only access the series's point label via the following code, but I'm not sure how to get the data from another column which is queried in the dataset.

public static void RSMain(NRSChartCodeContext context) {

Nevron.Chart.NChart chart = context.document.Charts[0];
NLineSeries ls = chart.Series[0] as NLineSeries;
NDataSeriesString dss = ls.Labels;
}






Similar Topics


Reading This Topic