ChartDirector 7.1 (C++ Edition)
QChartViewer.
Usage
Description
Constant | Value | Description |
---|---|---|
MouseUsageDefault | 0 | This represents the default mouse behaviour, which is to support tool tips and hot spot events as defined by the image map. See QChartViewer.setImageMap on how to define an image map for a chart. |
MouseUsageScroll | 1 | The mouse is used for drag scrolling the chart. When the mouse drags on the plot area, the mouse cursor will change to a scroll cursor, the viewport coordinates will shift to reflect the amount dragged, and viewPortChanged signals will be emitted. If the mouse is not dragging inside the plot area, its behaviour is the same as the default mouse behaviour. |
MouseUsageZoomIn | 3 | The mouse is used for zoom in actions. When the mouse is inside the plot area, the following behaviour will apply:
|
MouseUsageZoomOut | 4 | The mouse is used for zoom out actions. When the mouse is inside the plot area, the following behaviour will apply:
|
Arguments
Argument | Default | Description |
---|---|---|
mouseUsage | (Mandatory) | The mouse usage mode of the control, which must be one of the predefined constants as shown in the table above. |
Return Value