Object: SpiderScaling

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help

The SpiderScaling object provides the scaling properties of the default axes of a spider axis system in DIAdem REPORT.

The following example generates a spider axis system with a Line type curve and scales the axes:

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

Set oMyAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectSpider, "MyAxisSystem")
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 oMyScaling = oMyAxisSystem.CategorySettings.Axis.Scaling
oMyScaling.Type = eSpiderScalingLinear
oMyScaling.AutoScalingType = eAxisScalingManual
oMyScaling.Begin = 10
oMyScaling.End = 300
oMyScaling.MiniTickCount = 5

Call Report.Refresh()

Returned From

SpiderAxis.Scaling

WAS THIS ARTICLE HELPFUL?

Not Helpful