Object: 2DSpecialCombination
- Updated2024-09-12
- 1 minute(s) read
(2DAxisSystem | Collections) > 2DCurves > 2DCurve > Object: 2DSpecialCombination
Object: 2DSpecialCombination
The 2DSpecialCombination object provides the curve properties of a 2D axis system in the Special combination display mode in DIAdem REPORT.
The following example generates an axis system with a curve and displays the curve labels and the additional display mode Spikes .
| VBScript | Python |
Dim oMy2DAxisSystem, oMyCurve, oMyPos, oMyShape, oMyExtension Call Report.NewLayout() Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem, "My2DAxisSystem") Set oMyPos = oMy2DAxisSystem.Position.ByCoordinate oMyPos.X1 = 20 oMyPos.X2 = 80 oMyPos.Y1 = 20 oMyPos.Y2 = 80 Set oMyCurve = oMy2DAxisSystem.Curves2D.Add(e2DShapeSpecialCombination, "MyCurve") Set oMyShape = oMyCurve.Shape oMyShape.XChannel.Reference = "[1]/[1]" oMyShape.YChannel.Reference = "[1]/[2]" Set oMyExtension = oMyCurve.Shape.Extensions oMyExtension.Label.YValueVisible = True oMyExtension.Label.YValueFormat = "d.dd" oMyExtension.Label.Position.Type = e2DLabelPositionAtPoint oMyExtension.Label.Repetition.Mode = e2DLabelRepetitionMaxNPoints oMyExtension.Label.Repetition.NValue = 10 oMyExtension.AdditionalStyles.Type = e2DAdditionalStyleSpikes Call Report.Refresh()
Properties
Extensions | Settings | XChannel | YChannel