Spread Windows Forms 11.0 Product Documentation
CanChangeChartType Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class : CanChangeChartType Property
Gets a value indicating whether the chart type can be changed.
Syntax
'Declaration
 
Public ReadOnly Property CanChangeChartType As Boolean
'Usage
 
Dim instance As SpreadChart
Dim value As Boolean
 
value = instance.CanChangeChartType
public bool CanChangeChartType {get;}

Property Value

true if the chart type can be changed; otherwise, false.
Example
This example uses the CanChangeChartType property.
FarPoint.Win.Spread.Chart.SpreadChart chart;
FarPoint.Win.Spread.Model.CellRange range = new FarPoint.Win.Spread.Model.CellRange(0, 0, 7, 4);
chart = fpSpread1.Sheets[0].AddChart(range, typeof(FarPoint.Win.Chart.BarSeries), 400, 300, 300, 80, FarPoint.Win.Chart.ChartViewType.View3D, false);
chart.AllowShowIndicator = true;
listBox1.Items.Add(chart.CanChangeChartType.ToString());
Dim chart As FarPoint.Win.Spread.Chart.SpreadChart
Dim range As New FarPoint.Win.Spread.Model.CellRange(0, 0, 7, 4)
chart = fpSpread1.Sheets(0).AddChart(range, GetType(FarPoint.Win.Chart.BarSeries), 400, 300, 300, 80, FarPoint.Win.Chart.ChartViewType.View3D, False)
chart.AllowShowIndicator = True
ListBox1.Items.Add(chart.CanChangeChartType.ToString())
See Also

Reference

SpreadChart Class
SpreadChart Members