TBarChartOptions.TBarChartOptions Constructor
Overloads
- TBarChartOptions.TBarChartOptions(Boolean, Double, Double, Boolean, TStackedMode, ChartLineOptions)
- TBarChartOptions.TBarChartOptions(Int32, Boolean, Int32, Double, Double, Boolean, TStackedMode, Boolean, ChartSeriesOptions, TDataLabel, ChartLineOptions)
TBarChartOptions.TBarChartOptions(Boolean, Double, Double, Boolean, TStackedMode, ChartLineOptions)
Creates a new TBatChartOptions instance. This overload is simplified for the values that make sense when setting the chart options.
Syntax
Namespace: FlexCel.Core
public TBarChartOptions(Boolean aChangeColorsOnEachSeries, Double aBarOverlap, Double aCategoriesOverlap, Boolean aHorizontal, TStackedMode aStackedMode, ChartLineOptions aSeriesLines)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| aChangeColorsOnEachSeries | Boolean | If false, all series will be the same color. | |
| aBarOverlap | Double | Space between bars in percent of the bar width. | |
| aCategoriesOverlap | Double | Space between categories in percent of bar width. | |
| aHorizontal | Boolean | If true, bars are horizontal and this is a bar chart. If false, bars are vertical and this is a column chart. | |
| aStackedMode | TStackedMode | TStackedMode of the chart. | |
| aSeriesLines | ChartLineOptions | See SeriesLines |
See also
TBarChartOptions.TBarChartOptions(Int32, Boolean, Int32, Double, Double, Boolean, TStackedMode, Boolean, ChartSeriesOptions, TDataLabel, ChartLineOptions)
Creates a new TBarChartOptions instance.
Syntax
Namespace: FlexCel.Core
public TBarChartOptions(Int32 aAxisNumber, Boolean aChangeColorsOnEachSeries, Int32 aZOrder, Double aBarOverlap, Double aCategoriesOverlap, Boolean aHorizontal, TStackedMode aStackedMode, Boolean aHasShadow, ChartSeriesOptions aSeriesOptions, TDataLabel aDefaultLabel, ChartLineOptions aSeriesLines)
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. | |
| aBarOverlap | Double | Space between bars in percent of the bar width. | |
| aCategoriesOverlap | Double | Space between categories in percent of bar width. | |
| aHorizontal | Boolean | If true, bars are horizontal and this is a bar chart. If false, bars are vertical and this is a column chart. | |
| aStackedMode | TStackedMode | TStackedMode of the chart. | |
| aHasShadow | Boolean | True if the bars 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. | |
| aSeriesLines | ChartLineOptions | See SeriesLines |