IXYChartDataProvider.GetLineLevelStruct (METH) ¶ METHOD GetLineLevelStruct : POINTER TO IXYChartVisuStructLevelLine Get a level line structure It’s used only in offline mode InOut: Scope Name Type Comment Return GetLineLevelStruct POINTER TO IXYChartVisuStructLevelLine Input iWhichAx INT iWhichLv INT which axis I’m asking for
IXYChartDataProvider.GetNumberOfAxes (METH) ¶ METHOD GetNumberOfAxes : INT Get number of axes defined in the element InOut: Scope Name Type Return GetNumberOfAxes INT
IXYChartDataProvider.GetNumberOfCurves (METH) ¶ METHOD GetNumberOfCurves : INT Get number of curves defined in the element InOut: Scope Name Type Return GetNumberOfCurves INT
IXYChartDataProvider.GetPntAxis (METH) ¶ METHOD GetPntAxis : POINTER TO VisuStructXYChartAxis Get pointer to data of specific axis InOut: Scope Name Type Return GetPntAxis POINTER TO VisuStructXYChartAxis Input iWhich INT
VisuFbXYChartGenericVariableArray.GetValueREALixUnck (METH) ¶ METHOD GetValueREALixUnck : REAL Get value as REAL with index without check if the index is in the range. The assumption is that the check it’s already done InOut: Scope Name Type Return GetValueREALixUnck REAL Input diPos DINT
Structures ¶ VisuStructXYChart (Struct) VisuStructXYChartAxis (Struct) VisuStructXYChartCurve (Struct) VisuStructXYChartGradientColor (Struct) VisuStructXYChartLevelLine (Struct)
VisuStructXYChart (STRUCT) ¶ TYPE VisuStructXYChart : STRUCT This structure contains the data for the element Attributes: qualified_only InOut: Name Type Initial Comment eBackgroundType VisuEnumXYChartBgType VisuEnumXYChartBgType.PLAIN Background parameters diColorBg DINT VisuFPlot.COLOR.Silver Background color (16#RRGGBB) (initial value is set by config page) bTranspBg BYTE VisuFPlot.COLOR.TRANSP_NO Background transparency (initial value is set by config page) diColorSecondBg DINT VisuFPlot.COLOR.Silver Background second color (16#RRGGBB) (initial value is set by config page) BgGradient VisuStructXYChartGradientColor Background Gradient (initial value is set by config page) wsIPImage WSTRING(80) Background Image: The name of the image to use (initial value is set by config page) eImgStyle VisuEnumIsotropicType VisuEnumIsotropicType.ANISOTROPIC Background Image: How to display image (initial value is set by config page) diImgTranspColor DINT VisuFPlot.COLOR.NOT_DEFINED Background Image: transparent color (initial value is set by config page) eZLine VisuEnumXYChartZeroLineType VisuEnumXYChartZeroLineType.NO Zero line parameters eZLineStyle VisuEnumPenStyle VisuEnumPenStyle.PS_SOLID Zero Line style (initial value is set by config page) iZLineWidth INT 1 Zero Line thick (initial value is set by config page) diZLineColor DINT Zero Line color (16#RRGGBB) (initial value is set by config page) eGrid VisuEnumXYChartGridType VisuEnumXYChartGridType.NO Grid parameters eGLineStyle VisuEnumPenStyle VisuEnumPenStyle.PS_SOLID Grid Line style (initial value is set by config page) diGColor DINT VisuFPlot.COLOR.NOT_DEFINED Grid Line color (16#RRGGBB) (initial value is set by config page) xGBehindCurve BOOL TRUE Grid painted behind the curves (initial value is set by config page) eCursor VisuEnumXYChartCursorVisible VisuEnumXYChartCursorVisible.NOVIS Cursor parameters eCursorType VisuEnumXYChartCursorType VisuEnumXYChartCursorType.VERTICAL Cursor type (initial value is set by config page) eCursorActive VisuEnumXYChartCursorActive VisuEnumXYChartCursorActive.MAIN Cursor active eCursorStyleM VisuEnumPenStyle VisuEnumPenStyle.PS_SOLID Main Cursor Line style (initial value is set by config page) diCursorColorM DINT VisuFPlot.COLOR.NOT_DEFINED Main Cursor Line color (16#RRGGBB) (initial value is set by config page) eCursorStyleS VisuEnumPenStyle VisuEnumPenStyle.PS_SOLID Secondary Cursor Line style (initial value is set by config page) diCursorColorS DINT VisuFPlot.COLOR.NOT_DEFINED Secondary Cursor Line color (16#RRGGBB) (initial value is set by config page) wsFocus WSTRING Curve belongs the focus eFocusDisplay VisuEnumXYChartFocusType VisuEnumXYChartFocusType.NOSHOW How to display focus eCommand VisuEnumXYChartCommands VisuEnumXYChartCommands.NO Command for element activities eProg VisuEnumXYChartProgType VisuEnumXYChartProgType.NO Programming mode parameters eClientQualified Visu_ClientType Visu_ClientType.Unknown Client qualified to execute programming and commands xProgMode BOOL Field is in prog. mode eClientProg Visu_ClientType Client that is in programming mode xChangePending BOOL A change is pending not yet confermed udiPrgUpdateCtr UDINT Programming mode update counter eActivity VisuEnumXYChartActivityType VisuEnumXYChartActivityType.NO General activities parameters xZoomed BOOL Field is zoomed xPanned BOOL Field is panned iCursorMoveV INT Cursor parameters iCursorMoveH INT Active cursor horizontal steps movement (+-) in pixel iInitialized INT <> 0 if the structure has been completely initialilsed by the element
VisuStructXYChartAxis (STRUCT) ¶ TYPE VisuStructXYChartAxis : STRUCT This structure contains the data for a single axis Attributes: qualified_only InOut: Name Type Initial Comment wsAxName WSTRING(80) Axis name (initial value is set by config page) rMin REAL 0.0 Minimum axis value (initial value is set by config page) rMax REAL 100.0 Maximum axis value (initial value is set by config page) ePosition VisuEnumXYChartAxisPosition VisuEnumXYChartAxisPosition.LEFTSIDE Where to display axis (initial value is set by config page) xAutoScale BOOL Auto scale enable (initial value is set by config page) diColor DINT VisuFPlot.COLOR.Black Axis color (16#RRGGBB) (initial value is set by config page) eBackgroundType VisuEnumXYChartAxType VisuEnumXYChartAxType.PLAIN Background type (initial value is set by config page) diColorBg DINT VisuFPlot.COLOR.Silver Background color (16#RRGGBB) (initial value is set by config page) bTranspBg BYTE VisuFPlot.COLOR.TRANSP_NO Background transparency (initial value is set by config page) BgGradient VisuStructXYChartGradientColor Background Gradient color (initial value is set by config page) dwFlags DWORD Flags for visible conditions (see GVL_AXIS) (initial value is set by config page) wsIPImage WSTRING(80) Background Image: The name of the image pool to use (initial value is set by config page) eImgStyle VisuEnumIsotropicType VisuEnumIsotropicType.ANISOTROPIC Background Image: How to display image (initial value is set by config page) diImgTranspColor DINT VisuFPlot.COLOR.NOT_DEFINED Background Image: transparent color (initial value is set by config page) wsTLLabel WSTRING(80) Label: The name of the textlist to use (initial value is set by config page) iRotationLb INT Label rotation. 90° or 270° (initial value is set by config page) font VisuStructFont Label: font to use (initial value is set by config page) rNumRotationAngle REAL 0.0 Number display rotation: angle of rotation xNumRotationAlignToMark BOOL TRUE Number display rotation: if the number rotation is aligned to ruler marks wsTLNumberReplace WSTRING(80) Replacing numbers with text: text list to use aLevelLine ARRAY [1..MAX_LEVEL_LINE] OF VisuStructXYChartLevelLine Level lines (initial value is set by config page) rValueCursM REAL Value at main cursor position. rValueCursS REAL Value at secondary cursor position. iInitialized INT <> 0 if the structure has been completely initialilsed by the element
VisuStructXYChartCurve (STRUCT) ¶ TYPE VisuStructXYChartCurve : STRUCT This structure contains the data for a single curve Attributes: qualified_only InOut: Name Type Initial Comment uiUpdate UINT Update the single curve xNoVis BOOL Disable curve display wsCvName WSTRING(80) Curve name (initial value is set by config page) wsAxAttach WSTRING(80) Attached to the axis (initial value is set by config page) eCharType VisuEnumXYChartCvChartType VisuEnumXYChartCvChartType.LINE Curve shape (initial value is set by config page) diColor DINT VisuFPlot.COLOR.NOT_DEFINED Main curve color (16#RRGGBB) (initial value is set by config page) eLineType VisuEnumXYChartLineType VisuEnumXYChartLineType.LINE Line type when chart is ‘Line’ (initial value is set by config page) eLineStyle VisuEnumPenStyle VisuEnumPenStyle.PS_SOLID Line style when chart is ‘Line’ (initial value is set by config page) iLineWidth INT 1 Line thick when chart is ‘Line’ (initial value is set by config page) ePointStyle VisuEnumXYChartPointStyle VisuEnumXYChartPointStyle.NONE Point style when chart is ‘Line’ (initial value is set by config page) eBarType VisuEnumXYChartBarType VisuEnumXYChartBarType.FIXED Bar type when chart is ‘Bar’ (initial value is set by config page) diColorAlt DINT Alternate color for bar (16#RRGGBB) (initial value is set by config page) diColorBorder DINT Border color for bar (16#RRGGBB) (initial value is set by config page) eFillingType VisuEnumXYChartCvFillType VisuEnumXYChartCvFillType.PLAIN Area curve filling type (initial value is set by config page) diColorFill DINT VisuFPlot.COLOR.NOT_DEFINED Area curve filling color (16#RRGGBB) (initial value is set by config page) bTranspFill BYTE VisuFPlot.COLOR.TRANSP_MEDIUM Area curve filling transparency (initial value is set by config page) FillGradient VisuStructXYChartGradientColor Area curve filling Gradient color (initial value is set by config page) iPriority INT Priority of display curve, 0=display for first, 9=display for last (initial value is set by config page) iCurveHeapSize INT Heap size for overlapping curve. Number of curves store in the heap (initial value is set by config page) eCurveHeapCmd VisuEnumXYChartCvHeapCmd VisuEnumXYChartCvHeapCmd.NO Heap commands eOverlap VisuEnumXYChartCvOverlapType VisuEnumXYChartCvOverlapType.NO How to display overlapped curves wsRefCurve WSTRING(80) Reference curve (initial value is set by config page) diColorRef DINT Reference filling color (16#RRGGBB) (initial value is set by config page) diIndexMin DINT Minimum index of data input diIndexMax DINT Maximum index of data input rValueCursM REAL Value at main cursor position rValueCursS REAL Value at secondary cursor position iInitialized INT <> 0 if the structure has been completely initialilsed by the element
VisuStructXYChartGradientColor (STRUCT) ¶ TYPE VisuStructXYChartGradientColor : STRUCT This structure contains the data for gradient color Attributes: qualified_only InOut: Name Type Initial Comment diColor1 DINT VisuFPlot.COLOR.Black First color bTranspColor1 BYTE VisuFPlot.COLOR.TRANSP_NO First color transparency diColor2 DINT VisuFPlot.COLOR.White Second color bTranspColor2 BYTE VisuFPlot.COLOR.TRANSP_NO Second color transparency iAngle INT Angle of rotation iCenterX INT Point rotation center iCenterY INT Point rotation center eGradientType VisuEnumXYChartGradientType VisuEnumXYChartGradientType.RADIAL Gradient type xUseTwoColors BOOL TRUE Use two colors iBrightness INT Brightness dwColorBrightness DWORD Color Brightness