GraphGrid
Container for graph curves. Describes the graph area, its logic limits, and some properties such as the style and spacing of the grid.It has the following properties:
- gridColor
- borderColor
- borderSize
- gridLine, gridSpace: describe grid style. gridLine indicates the size of the small segments used to draw lines. gridSpace indicates their distance. By setting 0 in both, grid is not drawn. With gridSpace = 0 the line is solid.
- overwrite: it allows to control graphical background updating. If this value is > 0, the graphical space will never be updated. This allows to show more curves overlapped, sampled at different times. To delete the background use the “refresh” widget command.
- xMin, xMax, yMin, yMax: logic limits to be used for X and Y axes. The variables to be drawn will refer to these limits.
- xGap, yGap: X and Y space for grid. Quantities homogeneous to limits xMin, xMax, etc.
- xOffset, yOffset: initial X and Y offset to be used to draw the grid. Useful for “moving” the grid from axes origin.
- dragCurve: enables the touch interaction within the graphical area. The following functionalities are provided:
- All touch functions disabled: value = -1 (default)
- Change of profile values (curves values X and Y): value = widget number inside GraphGrid, related to the GraphXY to enable (the first widget inside the GraphGrid has index 0). It’s active the “undo” and “redo” services with the “Action” (see below).
- Cursor moving by the touch (horizontal or vertical): value = widget number inside the GraphGrid, related to the GraphCursor to move (the first widget inside the GraphGrid has index 0).
- PinchH: enable pinch to zoom gesture in the horizontal direction (valid only for G-Vision)
- PinchV: enable pinch to zoom gesture in the vertical direction (valid only for G-Vision)
- SwipeH: enable swipe gesture in the horizontal direction (valid only for G-Vision)
- SwipeV: enable swipe gesture in the vertical direction (valid only for G-Vision)