Object: SpiderLabelNumeric
- Updated2024-09-12
- 1 minute(s) read
(Category | CategorySettings) > SpiderAxis > Object: SpiderLabelNumeric
Object: SpiderLabelNumeric
The SpiderLabelNumeric object provides the font attributes of an axis scale in a spider axis system in DIAdem REPORT.
The following example generates a spider axis system with a Line and points type curve and configures the axis:
| VBScript | Python |
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 = oMyAxisSystem.CategorySettings.Axis.Numbers oMyAddLabel.Font.Size = 1.5 oMyAddLabel.Format = "d" Call Report.Refresh()