Reference

BarChartStackedStyle

External configuration that can be used to configure the style of a stacked bar chart

Properties

  • barWidth

    The bar width (for the stacked bar)

    null | number
  • categoryAxisStyle

    The style of the category axis

  • contentViewportMargin

    The content viewport margin: The space around the content viewport.

    null | Insets
  • gridStyle

    The style to be used for the grid

    null | GridStyle
  • horizontal

    Whether the chart is horizontal (true) or vertical (false)

    null | boolean
  • maxBarDistance

    The maximum distance between two consecutive bars. Center to center

    null | number
  • minBarDistance

    The minimum distance between two consecutive bars. Center to center

    null | number
  • remainderSegmentBackgroundColor

    The color for the remainder segment background. Usually white for light themes

    null | string
  • remainderSegmentBorderColor

    The color to be used for the border of remainder segments.

    null | string
  • remainderSegmentBorderWidth

    The width (in pixels) of the border of remainder segments.

    null | number
  • segmentColors

    The colors to be used for the segments of a stacked bar. Every string must denote a valid CSS color definition. If there are more segments than colors this array will be traversed again beginning with the first element (modulo).

    null | string[]
  • valueAxisStyle

    The style of the value axis

  • valueFormat

    The format to be used for values shown close to the bar segments

  • valueLabelColor

    The color to be used for the value labels; set to null to use the same color as the corresponding bar segment

    null | string
  • valueLabelFont

    The font to be used for the value labels

    null | FontStyle
  • valueRange

    The value range to be used

    null | ValueRange