Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BarChartConfiguration = BarChartConfiguration' {
- barsArrangement :: Maybe BarsArrangement
- categoryAxis :: Maybe AxisDisplayOptions
- categoryLabelOptions :: Maybe ChartAxisLabelOptions
- colorLabelOptions :: Maybe ChartAxisLabelOptions
- contributionAnalysisDefaults :: Maybe (NonEmpty ContributionAnalysisDefault)
- dataLabels :: Maybe DataLabelOptions
- fieldWells :: Maybe BarChartFieldWells
- legend :: Maybe LegendOptions
- orientation :: Maybe BarChartOrientation
- referenceLines :: Maybe [ReferenceLine]
- smallMultiplesOptions :: Maybe SmallMultiplesOptions
- sortConfiguration :: Maybe BarChartSortConfiguration
- tooltip :: Maybe TooltipOptions
- valueAxis :: Maybe AxisDisplayOptions
- valueLabelOptions :: Maybe ChartAxisLabelOptions
- visualPalette :: Maybe VisualPalette
- newBarChartConfiguration :: BarChartConfiguration
- barChartConfiguration_barsArrangement :: Lens' BarChartConfiguration (Maybe BarsArrangement)
- barChartConfiguration_categoryAxis :: Lens' BarChartConfiguration (Maybe AxisDisplayOptions)
- barChartConfiguration_categoryLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions)
- barChartConfiguration_colorLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions)
- barChartConfiguration_contributionAnalysisDefaults :: Lens' BarChartConfiguration (Maybe (NonEmpty ContributionAnalysisDefault))
- barChartConfiguration_dataLabels :: Lens' BarChartConfiguration (Maybe DataLabelOptions)
- barChartConfiguration_fieldWells :: Lens' BarChartConfiguration (Maybe BarChartFieldWells)
- barChartConfiguration_legend :: Lens' BarChartConfiguration (Maybe LegendOptions)
- barChartConfiguration_orientation :: Lens' BarChartConfiguration (Maybe BarChartOrientation)
- barChartConfiguration_referenceLines :: Lens' BarChartConfiguration (Maybe [ReferenceLine])
- barChartConfiguration_smallMultiplesOptions :: Lens' BarChartConfiguration (Maybe SmallMultiplesOptions)
- barChartConfiguration_sortConfiguration :: Lens' BarChartConfiguration (Maybe BarChartSortConfiguration)
- barChartConfiguration_tooltip :: Lens' BarChartConfiguration (Maybe TooltipOptions)
- barChartConfiguration_valueAxis :: Lens' BarChartConfiguration (Maybe AxisDisplayOptions)
- barChartConfiguration_valueLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions)
- barChartConfiguration_visualPalette :: Lens' BarChartConfiguration (Maybe VisualPalette)
Documentation
data BarChartConfiguration Source #
The configuration of a BarChartVisual
.
See: newBarChartConfiguration
smart constructor.
BarChartConfiguration' | |
|
Instances
newBarChartConfiguration :: BarChartConfiguration Source #
Create a value of BarChartConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:barsArrangement:BarChartConfiguration'
, barChartConfiguration_barsArrangement
- Determines the arrangement of the bars. The orientation and arrangement
of bars determine the type of bar that is used in the visual.
$sel:categoryAxis:BarChartConfiguration'
, barChartConfiguration_categoryAxis
- The label display options (grid line, range, scale, axis step) for bar
chart category.
$sel:categoryLabelOptions:BarChartConfiguration'
, barChartConfiguration_categoryLabelOptions
- The label options (label text, label visibility and sort icon
visibility) for a bar chart.
$sel:colorLabelOptions:BarChartConfiguration'
, barChartConfiguration_colorLabelOptions
- The label options (label text, label visibility and sort icon
visibility) for a color that is used in a bar chart.
$sel:contributionAnalysisDefaults:BarChartConfiguration'
, barChartConfiguration_contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.
$sel:dataLabels:BarChartConfiguration'
, barChartConfiguration_dataLabels
- The options that determine if visual data labels are displayed.
$sel:fieldWells:BarChartConfiguration'
, barChartConfiguration_fieldWells
- The field wells of the visual.
$sel:legend:BarChartConfiguration'
, barChartConfiguration_legend
- The legend display setup of the visual.
$sel:orientation:BarChartConfiguration'
, barChartConfiguration_orientation
- The orientation of the bars in a bar chart visual. There are two valid
values in this structure:
HORIZONTAL
: Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.VERTICAL
: Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
$sel:referenceLines:BarChartConfiguration'
, barChartConfiguration_referenceLines
- The reference line setup of the visual.
$sel:smallMultiplesOptions:BarChartConfiguration'
, barChartConfiguration_smallMultiplesOptions
- The small multiples setup for the visual.
$sel:sortConfiguration:BarChartConfiguration'
, barChartConfiguration_sortConfiguration
- The sort configuration of a BarChartVisual
.
$sel:tooltip:BarChartConfiguration'
, barChartConfiguration_tooltip
- The tooltip display setup of the visual.
$sel:valueAxis:BarChartConfiguration'
, barChartConfiguration_valueAxis
- The label display options (grid line, range, scale, axis step) for a bar
chart value.
$sel:valueLabelOptions:BarChartConfiguration'
, barChartConfiguration_valueLabelOptions
- The label options (label text, label visibility and sort icon
visibility) for a bar chart value.
$sel:visualPalette:BarChartConfiguration'
, barChartConfiguration_visualPalette
- The palette (chart color) display setup of the visual.
barChartConfiguration_barsArrangement :: Lens' BarChartConfiguration (Maybe BarsArrangement) Source #
Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.
barChartConfiguration_categoryAxis :: Lens' BarChartConfiguration (Maybe AxisDisplayOptions) Source #
The label display options (grid line, range, scale, axis step) for bar chart category.
barChartConfiguration_categoryLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions) Source #
The label options (label text, label visibility and sort icon visibility) for a bar chart.
barChartConfiguration_colorLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions) Source #
The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.
barChartConfiguration_contributionAnalysisDefaults :: Lens' BarChartConfiguration (Maybe (NonEmpty ContributionAnalysisDefault)) Source #
The contribution analysis (anomaly configuration) setup of the visual.
barChartConfiguration_dataLabels :: Lens' BarChartConfiguration (Maybe DataLabelOptions) Source #
The options that determine if visual data labels are displayed.
barChartConfiguration_fieldWells :: Lens' BarChartConfiguration (Maybe BarChartFieldWells) Source #
The field wells of the visual.
barChartConfiguration_legend :: Lens' BarChartConfiguration (Maybe LegendOptions) Source #
The legend display setup of the visual.
barChartConfiguration_orientation :: Lens' BarChartConfiguration (Maybe BarChartOrientation) Source #
The orientation of the bars in a bar chart visual. There are two valid values in this structure:
HORIZONTAL
: Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.VERTICAL
: Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
barChartConfiguration_referenceLines :: Lens' BarChartConfiguration (Maybe [ReferenceLine]) Source #
The reference line setup of the visual.
barChartConfiguration_smallMultiplesOptions :: Lens' BarChartConfiguration (Maybe SmallMultiplesOptions) Source #
The small multiples setup for the visual.
barChartConfiguration_sortConfiguration :: Lens' BarChartConfiguration (Maybe BarChartSortConfiguration) Source #
The sort configuration of a BarChartVisual
.
barChartConfiguration_tooltip :: Lens' BarChartConfiguration (Maybe TooltipOptions) Source #
The tooltip display setup of the visual.
barChartConfiguration_valueAxis :: Lens' BarChartConfiguration (Maybe AxisDisplayOptions) Source #
The label display options (grid line, range, scale, axis step) for a bar chart value.
barChartConfiguration_valueLabelOptions :: Lens' BarChartConfiguration (Maybe ChartAxisLabelOptions) Source #
The label options (label text, label visibility and sort icon visibility) for a bar chart value.
barChartConfiguration_visualPalette :: Lens' BarChartConfiguration (Maybe VisualPalette) Source #
The palette (chart color) display setup of the visual.