Bar charts represent categorical data as rectangular bars whose length is proportional to the value of a measure. Taucharts provides four bar variants: vertical (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TargetProcess/tauCharts/llms.txt
Use this file to discover all available pages before exploring further.
bar), horizontal (horizontal-bar), vertically stacked (stacked-bar), and horizontally stacked (horizontal-stacked-bar). The stacked variants use the color field to define the segments within each bar.
Variants
- bar
- horizontal-bar
- stacked-bar
- horizontal-stacked-bar
Vertical bars, one bar per category on the x-axis.
Configuration
One of
"bar", "horizontal-bar", "stacked-bar", or "horizontal-stacked-bar".The data field mapped to the horizontal axis. For stacked variants, accepts an array to create facets.
The data field mapped to the vertical axis. For stacked variants, accepts an array to create facets.
A data field used to color-encode bars or, for stacked variants, to define stack segments. Each unique value becomes a distinct color segment.
Array of plain objects. Each object represents one bar or one stack segment.
Visual configuration for axes and padding.
Array of plugin instances. The
legend plugin is commonly used with bar charts that encode color.For stacked variants, the
color field is required to define which segments belong together. Without it, all bars render as a single segment.