01-17-2012 08:39 AM
Hi all,
Is there a way to automate the formating of (linestyle) of a graph plot in a report?
grtz,
Ben
Solved! Go to Solution.
01-17-2012 04:00 PM - edited 01-17-2012 04:01 PM
This code will access the line style in an axis system:
Call GraphObjOpen("2D-Axis1") Call GraphObjOpen("2D-Axis1_Curve1") D2CurveLineType = "solid" Call GraphObjClose("2D-Axis1_Curve1") Call GraphObjClose("2D-Axis1")
Please note that you need to know the name of the Axis system and the Curve you wish to change and use the correct names in the GraphObj... commands.
The best way to find these commands is through the Ctrl-A function in DIAdem.
Valid entries for D2CurveLineType are:
Script Term | Interface Term, Explanation |
solid |
Line |
dash&dott. |
Dots and dashes |
dashed 1 |
Dashes 1 |
dashed 2 |
Dashes 2 |
dotted |
Dotted |
I hope this helps,
Otmar