Hi Teddy,
Yes the both the WinForm and WebForms controls can be used to dynamically generate an image, without being added to a form. The following code shows how to create a simple bar chart and render it as 400x300 png image:
using Nevron.GraphicsCore;
using Nevron.Chart;
using Nevron.Chart.WinForm;
...
using (NChartControl chartControl = new NChartControl())
{
// configure chart
NChart chart = chartControl.Charts[0];
NBarSeries bar = new NBarSeries();
bar.Values.Add(10);
bar.Values.Add(20);
bar.Values.Add(30);
chart.Series.Add(bar);
chartControl.ImageExporter.SaveToFile("c:\\temp\\test.png", new NSize(400, 300), NResolution.ScreenResolution, new NPngImageFormat());
}
the control supports JPEG, PNG, BITMAP, TIFF, GIF, Flash, Silverlight and PDF output. You can also save images in memory streams - just use the SaveToStream method of the image exporter.
Hope this helps - questions or comments - please feel free...
Best Regards,
Nevron Support Team