IXYChartGenericVariable2 (ITF) ¶ INTERFACE IXYChartGenericVariable2 EXTENDS IXYChartGenericVariable Interface to handle generic variable from generated code Methods: GetValueDINT SetValueDINT GetValueBOOL , inherited from IXYChartGenericVariable GetValueREAL , inherited from IXYChartGenericVariable GetValueUDINT , inherited from IXYChartGenericVariable SetValueREAL , inherited from IXYChartGenericVariable Structure: GetValueDINT (Method) SetValueDINT (Method)
IXYChartGenericVariable2.GetValueDINT (METH) ¶ METHOD GetValueDINT : DINT Get value as DINT InOut: Scope Name Type Return GetValueDINT DINT
IXYChartGenericVariable2.SetValueDINT (METH) ¶ METHOD SetValueDINT Write DINT value InOut: Scope Name Type Input diValue DINT
IXYChartStringApproxMeasurer (ITF) ¶ INTERFACE IXYChartStringApproxMeasure Extension of interface IStringApproxMeasurer2 to be able to get back also the height of the string Used only in off-line mode Methods: XYChartMeasureStringApproximately Structure: XYChartMeasureStringApproximately (Method)
IXYChartStringApproxMeasurer.XYChartMeasureStringApproximately (METH) ¶ METHOD XYChartMeasureStringApproximately : Visu_TypeString Measures a given string using a given font and inserts line breaks at the corresponding positions in order that the string fits into a given length. The return value is the modified string InOut: Scope Name Type Comment Return XYChartMeasureStringApproximately Visu_TypeString Input pabyCharWidths POINTER TO ARRAY [0..0] OF BYTE Points to an array, that contains character widths of represetative characters for each used font. The actual parameter is not of this type and the implementor (in the target visu) knows the correct declaration of this array. Not needed in the integrated visualization, therefore an arbitrary array is used. pbyString Visu_TypeString The string to measure xWstring BOOL If TRUE, then pbyString is a POINTER TO WSTRING otherwise a POINTER TO STRING iBufferSize INT The size of the string pbyString in bytes. This parameter has to be positive in order to have line breaks inserted value = 0: we dont insert line breaks, just measure the length of the string sFontName STRING The name of the font to use iFontHeight INT The height of the font to use dwFontFlags DWORD The flags of the font to use iMaxLength INT The maximum length of the string in pixels, that does not require a line break value = 0: we dont insert line breaks, just measure the length of the string Output iLength INT Returns the length of the string (the maximum length of single lines within a multiline string). The return value is an approximate length or a negative value if the string cannot be measured at the moment (in this case in the next update-paint cycle a subsequent call of this method will return the length). iHeight INT Returns the height of the string. Because the font is the same for all the line, the height is referred to a single line iCountLines INT Returns the number of lines the string spans, including automatically determined line breaks
IXYChartVisuStructLevelLine (ITF) ¶ INTERFACE IXYChartVisuStructLevelLine Interface to get font data It’s used only in offline mode
Public ¶ Constants GVL_AXIS (GVL) GVL_CONSTANTS (GVL) Enums VisuEnumXYChartActivityType (Enum) VisuEnumXYChartAxType (Enum) VisuEnumXYChartAxisPosition (Enum) VisuEnumXYChartBarType (Enum) VisuEnumXYChartBgType (Enum) VisuEnumXYChartCommands (Enum) VisuEnumXYChartCursorActive (Enum) VisuEnumXYChartCursorType (Enum) VisuEnumXYChartCursorVisible (Enum) VisuEnumXYChartCvChartType (Enum) VisuEnumXYChartCvFillType (Enum) VisuEnumXYChartCvHeapCmd (Enum) VisuEnumXYChartCvOverlapType (Enum) VisuEnumXYChartFocusType (Enum) VisuEnumXYChartGradientType (Enum) VisuEnumXYChartGridType (Enum) VisuEnumXYChartLineType (Enum) VisuEnumXYChartLvlLineLbPos (Enum) VisuEnumXYChartPointStyle (Enum) VisuEnumXYChartProgType (Enum) VisuEnumXYChartShadowStyle (Enum) VisuEnumXYChartZeroLineType (Enum) Functions VisuFctGetClientName (Function) VisuFctTestLReal (Function) VisuFctTestReal (Function) GVL_VARS (GVL) Interfaces IXYChartAlloc (Interface) DumpAllocations (Method) GetAllocations (Method) GetTotBytesAlloc (Method) Structures VisuStructXYChart (Struct) VisuStructXYChartAxis (Struct) VisuStructXYChartCurve (Struct) VisuStructXYChartGradientColor (Struct) VisuStructXYChartLevelLine (Struct)
Constants ¶ GVL_AXIS (GVL) GVL_CONSTANTS (GVL)
GVL_AXIS (GVL) ¶ Options to disable some display characteristics in axis. They must be use in or Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant VIS_NUM_DISABLE DWORD 16#1 Disable display number (default is enabled) VIS_MINNUM_DISABLE DWORD 16#2 Disable display of the minimum number (default is enabled) VIS_MAXNUM_DISABLE DWORD 16#4 Disable display of the maximum number (default is enabled) VIS_MIDDLENUM_DISABLE DWORD 16#8 Disable display of the numbers between minimum and maximum (default is enabled) VIS_OVERNUMBER_ENABLE DWORD 16#10 Enable numbers overwriting (default is disabled) VIS_AXIS_DISABLE DWORD 16#100 Disable display of the axis ruler (default is enabled) VIS_X_AXIS_EXTRASP_DISABLE DWORD 16#200 Disable display of X axis without extra border on left and right (default is enabled) VIS_ORIG_AXES_OVERLAP_DISABLE DWORD 16#1000 Disable axes overlap on origin point. ATT this is valid for all axes, global scope (default is enabled)
GVL_CONSTANTS (GVL) ¶ InOut: Scope Name Type Initial Comment Constant MAX_LEVEL_LINE INT 10 Maximum level lines present MAX_LINE_WIDTH INT 20 Maximum width of level line MAX_ZOOM_HEAP INT 10 Maximum heap size where to store previous zoom level MAX_TEXT_REPLACE INT 100 Maximum available texts for number replacing