TPieChartOptions.TPieChartOptions Constructor
Overloads
- TPieChartOptions.TPieChartOptions(Boolean, Int32, Boolean, Int32)
- TPieChartOptions.TPieChartOptions(Int32, Boolean, Int32, Int32, Boolean, Int32, Boolean, ChartSeriesOptions, TDataLabel)
TPieChartOptions.TPieChartOptions(Boolean, Int32, Boolean, Int32)
Creates a new TPieChartOptions instance. This overload is simplified to specify the fields you need when setting chart options.
Syntax
Namespace: FlexCel.Core
public TPieChartOptions(Boolean aChangeColorsOnEachSeries, Int32 aFirstSliceAngle, Boolean aIsDoughnut, Int32 aDoughnutRadius)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| aChangeColorsOnEachSeries | Boolean | If false, all series will be the same color. | |
| aFirstSliceAngle | Int32 | Angle of the first slice in degrees. It can go from 0 to 359. | |
| aIsDoughnut | Boolean | True if the chart is a doughnut chart instead of a pie chart. | |
| aDoughnutRadius | Int32 | Radius of the center of the doughnut in Percent. |
See also
TPieChartOptions.TPieChartOptions(Int32, Boolean, Int32, Int32, Boolean, Int32, Boolean, ChartSeriesOptions, TDataLabel)
Creates a new TPieChartOptions instance.
Syntax
Namespace: FlexCel.Core
public TPieChartOptions(Int32 aAxisNumber, Boolean aChangeColorsOnEachSeries, Int32 aZOrder, Int32 aFirstSliceAngle, Boolean aIsDoughnut, Int32 aDoughnutRadius, Boolean aHasShadow, ChartSeriesOptions aSeriesOptions, TDataLabel aDefaultLabel)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| aAxisNumber | Int32 | Axis where this chart group belongs, 0 is primary, 1 is secondary. | |
| aChangeColorsOnEachSeries | Boolean | If false, all series will be the same color. | |
| aZOrder | Int32 | Z-Order of this chart group, with 0 being the bottom. Chart groups with lower z-Order are drawn below the ones with higher ones. | |
| aFirstSliceAngle | Int32 | Angle of the first slice in degrees. It can go from 0 to 359. | |
| aIsDoughnut | Boolean | True if the chart is a doughnut chart instead of a pie chart. | |
| aDoughnutRadius | Int32 | Radius of the center of the doughnut in Percent. | |
| aHasShadow | Boolean | True if the chart lines have shadows. | |
| aSeriesOptions | ChartSeriesOptions | Global options that apply to all the series on this group. This instance will be copied. | |
| aDefaultLabel | TDataLabel | Default label properties for labels in this group. |