[]
You can select the Chart control at design time in the Spread Designer or at run time.
At design time or run time you can select the chart by clicking on it with the mouse.
At run time the user cannot move or resize the chart if the CanSelect property has been set to false. The ActiveChart property can be used to programmatically select a chart.
You can specify the order in which the charts are displayed with the ZIndex property.
The default selected border is a red, solid border with a width of one pixel. You can change this by setting the SelectedCssClass property.
Set the CanSelect property in the SpeadChart class.
The following example sets the CanSelect property.
FarPoint.Web.Spread.Chart.SpreadChart chart = new FarPoint.Web.Spread.Chart.SpreadChart;
chart.Model = model;
chart.CanSelect = true;
fpSpread1.Sheets[0].Charts.Add(chart);
Dim chart As New FarPoint.Web.Spread.Chart.SpreadChart()
chart.Model = model
chart.CanSelect = True
FpSpread1.Sheets(0).Charts.Add(chart)