Question:
How can I print a CEP chart?
Solution:
To do so, you must save the chart with a CEP chart’s SaveBitmap command and insert this figure into a formatted report.
Example of a script being executed in a screen button:
AveragePlotter.SaveBitmap(“Media.bmp”, 500, 400, 1)
DispersionPlotter.SaveBitmap(“Scatter.bmp”, 500, 400, 1)
HistogramPlotter.SaveBitmap(“Histogram.bmp”, 500, 400, 1)
Form1.Print()
NOTE: Attached to this article is a demo application developed with Elipse SCADA v. 2.29 b. 092.