Property: CurrCurve for 2DCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Properties > Property: CurrCurve for 2DCurves
Property: CurrCurve for 2DCurves
Returns the curve of a 2D axis system of DIAdem VIEW with the legend that includes the formula expression which uses this property.
Set o2DCurve = Object.CurrCurve
Object | 2DCurves Object with this property |
o2DCurve | 2DCurve Returned object |
![]() | Note You only can use this property in a user command, or as a legend expression in a script expression. Enclose the legend expression in @@ characters. |
The following example creates a 2D axis system with a curve including markers and creates a legend entry with the number of curve markers:
VBScript | Python |
View.ActiveSheet.ActiveArea.DisplayObjType = "CurveChart2D" Dim oMyChart: Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj Dim oMyCurve: Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]") oMyCurve.MarkerType = "square" Dim oMyLegend: Set oMyLegend = oMyChart.LegendItems.Add("<freetext>") oMyLegend.Title = "Marker interval" oMyLegend.Format = "@@View.CurrSheet.CurrArea.DisplayObj.Curves2D.CurrCurve.MarkerIntervalPoints@@"
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data