[VB] | Public Property MouseUsage As WinChartMouseUsage |
[C#] | public WinChartMouseUsage MouseUsage {get; set;}; |
ChartDirector 5.1 (.NET Edition)
WinChartViewer.MouseUsage
Declaration
[VB] | Public Property MouseUsage As WinChartMouseUsage |
[C#] | public WinChartMouseUsage MouseUsage {get; set;}; |
Description
Constant | Value | Description |
---|---|---|
WinChartMouseUsage.Default | 0 | This represents the default mouse behaviour, which is to support tool tips and hot spot events as defined by the image map. See WinChartViewer.ImageMap on how to define an image map for a chart. |
WinChartMouseUsage.ScrollOnDrag | 1 | The mouse is used for drag scrolling the chart. In addition to the default mouse behaviour, when the mouse drags on the plot area, the mouse cursor will change to a scroll cursor, the view port coordinates will shift to reflect the amount dragged, and ViewPortChanged events will be fired. |
WinChartMouseUsage.ScrollOnDrop | 2 | 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, and a selection rectangle representing the shifted plot area will be displayed to reflect the amount dragged. When the mouse is released, the view port coordinates will be updated to reflect the amount dragged, and a ViewPortChanged event will be fired. If the mouse is not dragging inside the plot area, its behaviour is the same as the default mouse behaviour. |
WinChartMouseUsage.ZoomIn | 3 | The mouse is used for zoom in actions. When the mouse is inside the plot area, the following behaviour will apply:
|
WinChartMouseUsage.ZoomOut | 4 | The mouse is used for zoom out actions. When the mouse is inside the plot area, the following behaviour will apply:
|