Click or drag to resize

IChartSerieDataFormat IsMarkerSupported Property

Indicates whether marker is supported by this chart/series.
Examples
The following code illustrates how set ExcelTreeMapLabelOption.Banner to TreeMapLabelOption:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create chart</para><para>IChart chart = worksheet.Charts.Add();</para><para>//Set range</para><para>chart.DataRange = worksheet.Range["A1:C2"];</para><para>//Set chart type</para><para>chart.ChartType = ExcelChartType.Pie;</para><para>//Set serie format</para><para>IChartSerieDataFormat format = chart.Series[0].Format;</para><para>//Check marker support</para><para>Console.WriteLine(format.IsMarkerSupported);</para><para>//Save to file</para><para>workbook.SaveToFile("Chart.xlsx");</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
bool IsMarkerSupported { get; }

Property Value

Type: Boolean
See Also