Spread Windows Forms 7.0 Product Documentation
CanChangeChartType Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class : CanChangeChartType Property


Glossary Item Box

Gets a value indicating whether the chart type can be changed.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property CanChangeChartType As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SpreadChart
Dim value As Boolean
 
value = instance.CanChangeChartType
C# 
public bool CanChangeChartType {get;}

Property Value

true if the chart type can be changed; otherwise, false.

Example

This example uses the CanChangeChartType property.
C#Copy Code
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());
Visual BasicCopy Code
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())

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.