Vai al contenuto

GraphCursor

Draws a horizontal or vertical cursor in the graph area.It has the following properties:
  • enable: lets you enable or disable display of this element. If enable is not specified, it is always visible. You can use both PLC labels and local variables.
  • color: cursor color
  • label: label containing cursor position
  • orientation: indicates whether cursor is horizontal or vertical
  • limitLink: if it contains GRAPHGRID, the logic limits used for calculations are taken from the GraphGrid on which this component is deposited. If it contains STANDALONE, you can specify different limits by means of variables xMin, xMax, yMin, yMax
  • xMin, xMax, yMin, yMax: logic limits used for X and Y axes if limitLink = STANDALONE. The variables to be drawn refer to these limits. If limitLink = GRAPHGRID , these variables are ignored (those of the GraphGrid on which this component is deposited are used)
  • lineWidth: cursor width
  • Only for G-Vision:
  • gradient1: first gradient among the two available, if the direction is VERTICAL starts from top, if direction HORIZONTAL start from left, if direction DIAGONAL 135 starts from top left, if direction DIAGONAL 45 starts from bottom left
  • gradient1Color: color of the first gradient
  • gradient1Enalbe: if true the first gradient is visualized, if false no
  • gradient1Width: width of the first gradient in pixel
  • gradient2: second gradient among the two available, if the direction is VERTICAL starts from bottom, if direction HORIZONTAL start from right, if direction DIAGONAL 135 starts from bottom right, if direction DIAGONAL 45 starts from top right
  • gradient2Color: color of the second gradient
  • gradient2Enalbe: if true the second gradient is visualized, if false no
  • gradient2Width: width of the first second in pixel
  • Gradient direction is always perpendicular to orientation