Defines values that specify how the component responds to actions performed by the user.
Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight
C#
![]() |
---|
public enum Behavior |
Visual Basic
![]() |
---|
Public Enum Behavior |
Member name | Description | |
---|---|---|
![]() |
AllowXDrag |
Allows dragging of chart points along the X axes. |
![]() |
AllowYDrag |
Allows dragging of chart points along the Y axes. |
![]() |
DoNothing |
The control does not respont to actions performed by the user. |
![]() |
ZoomChart |
The control responds to actions performed by the user by zooming the chart. |
The enumeration allows bitwise combining.
The following code allows data points in a line chart to be dragged with the mouse in all directions.
C#
![]() |
---|
lineChart1.Behavior = Behavior.AllowXDrag | Behavior.AllowYDrag; |
Visual Basic
![]() |
---|
lineChart1.Behavior = (Behavior.AllowXDrag Or Behavior.AllowYDrag) |