MindFusion.Charting for Silverlight Programmer's Guide
Behavior Enumeration
See Also
 






Defines values that specify how the component responds to actions performed by the user.

Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight

 Syntax

C#  Copy Code

public enum Behavior

Visual Basic  Copy Code

Public Enum Behavior

 Members

  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.

 Remarks

The enumeration allows bitwise combining.

 Example

The following code allows data points in a line chart to be dragged with the mouse in all directions.

C#  Copy Code

lineChart1.Behavior = Behavior.AllowXDrag | Behavior.AllowYDrag;

Visual Basic  Copy Code

lineChart1.Behavior = (Behavior.AllowXDrag Or Behavior.AllowYDrag)

 See Also

MindFusion.Charting.Silverlight Namespace