Hi Brian,
The following code shows how to iterate trough all charts and series in a chart document:
using System;
using System.Drawing;
using Nevron.GraphicsCore;
using Nevron.Chart;
using Nevron.ReportingServices;
namespace MyNamespace
{
/// <summary>
/// Sample class
/// </summary>
public class MyClass
{
/// <summary>
/// Main entry point
/// </summary>
/// <param name="context"></param>
public static void RSMain(NRSChartCodeContext context)
{
for (int i = 0; i < context.Document.Charts.Count; i++)
{
NChart chart = context.Document.Charts[i];
// do something with chart
for (int j = 0; j < chart.Series.Count; j++)
{
NSeries series = (NSeries)chart.Series[j];
// do something with series
}
}
}
}
}
Hope this helps - let us know if you require something more specific...
Best Regards,
Nevron Support Team