Place an XY Plot SmartObject on a CimEdit screen.
The Series tab of the XY Plot SmartObject dialog box displays.
Configure a Series.
Click Add to add a series to the chart.
Name the series. (The example name is DEV1550xDEV1900.)
Check Visible.
Click Select a Point in the X Expression field.
Select a Point ID. (The example is \\CIMPDEMO\DEV1550.)
Click Select a Point in the Y Expression field.
Select a Point ID. (The example is \\CIMPDEMO\DEV1900.)
Check On Y expression update.
Click Axes.
Configure the X-axis.
Check Show X Axis.
Name the axis. (The example is DEV1550.)
Check Visible.
Leave the title blank. (Plot 1 X-axis does not have a title.)
Enter the limits:
Lower |
0 |
Upper |
1000000 |
Check Autoscale for the scaling.
Configure the Y-axis:
Check Show Y Axis.
Name the axis. (The example is DEV1900.)
Check Visible.
Enter a title in the Title field. (The example is DEV1900.)
Check Title Visible.
Enter the Limits:
Lower |
0 |
Upper |
1000 |
Check Autoscale for the scaling.
Click Chart.
Keep the defaults.
Click Grid.
Specify the number of ticks (lines) for the grid:
Vertical |
4 |
Horizontal |
4 |
Click OK.
Result: The dialog box closes and an XY Plot Control appears on the CimEdit screen. You can display Plot 1 in CimView or you can further enhance it.
SmartObject Plot example 1. |