Spread Windows Forms 11.0 Product Documentation
AllowShowIndicator Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class : AllowShowIndicator Property
Gets or sets a value indicating whether Spread can show the chart indicator.
Syntax
'Declaration
 
Public Property AllowShowIndicator As Boolean
'Usage
 
Dim instance As SpreadChart
Dim value As Boolean
 
instance.AllowShowIndicator = value
 
value = instance.AllowShowIndicator
public bool AllowShowIndicator {get; set;}

Property Value

true if Spread can show indicator of this chart; otherwise, false.
Remarks
The indicator refers to the outline around the Spread cell data when you click on the chart control (the outline that shows you the data used in the series, etc...).
Example
This example sets the AllowShowIndicator 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