DIAdem Help

Object: PolarRadialAxis

  • Updated2024-09-12
  • 1 minute(s) read

Object: PolarRadialAxis

The PolarRadialAxis object provides the radial axis properties for a polar axis system in DIAdem REPORT.

The following example generates a polar axis system with a curve and specifies the properties of the radial axis:

VBScriptPython

 

Dim oMyPolarAxisSystem, oMyPosition, oMyRadialAxis, oMyCurve
Call Report.NewLayout()
Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem, "MyPolarAxisSystem")
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]"
Set oMyRadialAxis = oMyPolarAxisSystem.RadialAxis
oMyRadialAxis.Label.Text = "MyRadialAxis"
oMyRadialAxis.MiniTickLine.LineType = eLineTypeDotted
oMyRadialAxis.Numbers.UseCurveColor = True
oMyRadialAxis.Numbers.Format = "d.d"
oMyRadialAxis.NumbersRepetitionMode = ePolarAxisNumbersEvery090 
oMyRadialAxis.Scaling.Begin = 10
oMyRadialAxis.Scaling.End = 20
oMyRadialAxis.TickLine.Width = eLineWidth0070
Call Report.Refresh()

Returned From

PolarSystem.RadialAxis