HistogramStyle

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

Properties

  • activeGroupBackgroundColor

    The background-color to be used for the active group.

    string | null
  • barColors

    The colors to be used for the bars of a group. Every string must denote a valid CSS color definition. If there are more groups than the size of the array, the array will be traversed again from the beginning (modulo). If there are more bars than colors in a group that array will also be traversed again from the beginning (modulo). The first dimension denotes the group, the second the bar.

    ((string | null)[] | null)[] | null
  • barGap

    The distance between two bars (within one group) in pixels

    number | null
  • barSize

    The width (in pixels) of a bar if the chart is vertical or the height (in pixels) of a bar if the chart is horizontal

    number | null
  • categoryAxisStyle

    The style of the category axis

  • contentViewportMargin

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

    Insets | null
  • gridStyle

    The style to be used for the grid

    GridStyle | null
  • horizontal

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

    boolean | null
  • maxGapBetweenGroups

    The maximum distance between two consecutive groups in pixels. Space *between* the groups - not center to center.

    number | null
  • minGapBetweenGroups

    The minimum distance between two consecutive groups in pixels. Space *between* the groups - not center to center.

    number | null
  • overflowIndicatorStyle

    Style for the overflow indicator

  • showTooltip

    Whether to show tooltips

    boolean | null
  • thresholds

    The optional array of thresholds

    Threshold[] | null
  • tooltipStyle

    Style for the tool tips

  • valueAxisStyle

    The style of the value axis

  • valueLabelsStyle

    The style of the value labels

  • valueRange

    The value range to be used

    ValueRange | null