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






Gets or sets the behavor of the chart control.

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

 Syntax

C#  Copy Code

public Behavior Behavior { get; set; }

Visual Basic  Copy Code

Public Property Behavior As Behavior

 Property Value

One of the Behavior enumeration values. Default value is Behavior.DoNothing.

 Remarks

The Behavior enumeration allows bitwise combining.

For horizontal bars the behavior should be Behavior.AllowXDrag while for vertical bars it is Behavior.AllowYDrag.

 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

AxesChart Members
AxesChart Class
MindFusion.Charting.Silverlight Namespace