Object: PolarCurveLine
- Updated2024-09-12
- 1 minute(s) read
(PolarLine | PolarLineAndPointsSettings) > Object: PolarCurveLine
Object: PolarCurveLine
The PolarCurveLine object provides the curve properties in the Line display mode in a polar axis system in DIAdem REPORT.
The following example generates a polar axis system with a curve in the Line display mode and specifies the width and the color:
| VBScript | Python |
Dim oMyPolarAxisSystem, oMyPosition, oMyCurve Call Data.Root.Clear() Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","") Call Report.NewLayout() Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem,"MyPolarSystem") Set oMyPosition = oMyPolarAxisSystem.Position.ByCoordinate oMyPosition.X1 = 20 oMyPosition.Y1 = 20 oMyPosition.X2 = 80 oMyPosition.Y2 = 80 Set oMyCurve = oMyPolarAxisSystem.CurvesPolar.Add(ePolarShapeLine, "MyNewCurve") oMyCurve.Shape.XChannel.Reference= "[5]/[1]" oMyCurve.Shape.YChannel.Reference = "[5]/[2]" oMyCurve.Shape.Line.Width = eLineWidth0070 Call oMyCurve.Shape.Line.Color.SetPredefinedColor(eColorIndexDarkRed) Call Report.Refresh()
Properties
Color | ConnectNoValueNeighbors | Interval | LineType | Width