DIAdem Help

Object: SpiderAdditionalLabel

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

Object: SpiderAdditionalLabel

The SpiderAdditionalLabel object provides the label properties of a curve in the Line and Points display type in DIAdem REPORT.

The following example generates a spider axis system with a Line and Points display type curve and configures the addtional curve label.

VBScriptPython

 

Dim oMyAxisSystem, oMyPos, oMyCurve, oMyAddLabel
Call Report.NewLayout()
Call Data.Root.Clear()
Call DataFileLoad("Example.tdm","TDM","")

Set oMyAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectSpider, "MySpiderAxisSystem")
Set oMyPos = oMyAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80

Set oMyCurve = oMyAxisSystem.CurvesSpider.Add(eSpiderShapeLineAndPoints, "MySpiderCurve")
oMyCurve.Shape.Channel.Reference = "[5]/[3]"

Set oMyAddLabel = oMyCurve.Shape.Extensions.Label
oMyAddLabel.Font.Size = 1.5
oMyAddLabel.ValueVisible = True
oMyAddLabel.ValueFormat = "d"
oMyAddLabel.Angle = 90

Call Report.Refresh()