HelixOverviewComponentsMapsGraphIntroductionInstallationDeriving a themeSandboxTheme builderVisual testingCortexDocsEngramActiveTraceActiveRecallActiveServicesInsightsGet in touchSource on GitHub
Loading the reference
Spatial Bar ChartView sourceEdit in SandboxView MarkdownCopy MarkdownOpen in ClaudeOpen in CursorA bar chart drawn in three dimensions, each bar a block as tall as its value, for categories in one or more series.Also called 3D bar chart, 3D column chart, Isometric bar chart, Isometric column chart, and Bar chart in 3D.ExperimentalSince 0.199.0ChartsImportimport'@fusion.dev/helix/spatial-bar-chart'import'@fusion.dev/helix-headless/spatial-bar-chart'Preview
GuidelinesWhen to use
Values over two sets of categories, such as signups by region and quarter.Spatial Bar ChartThis page
1::part(grid)The box's edges and its grid, in the chart's own drawing.
2::part(bar)One bar, its faces in its series' color.
3::part(tick)A category's or a series' name, or a value at a tick, along its edge of the box, or a category's name under its place in a row, in the chart's own drawing.
API referenceRoothelix-spatial-bar-chartA bar chart drawn in three dimensions, each bar a block as tall as its value, for categories in one or more series.
PropTypeDescriptiondataChartDataThe readings as data, in the shape of a table, where the page has no
table to point for at. for wins where both are set.emphasis"muted"|"outlined"|"solid"|"subtle"How strongly the bars are drawn, as on every chart.emptyTextstringDefault"No readings"The words shown in place of the drawing when the table has no readings,
and the fallback of the empty slot.errorTextstringDefault""The words shown in place of the drawing when the readings did not load,
such as "The visits did not load". Empty, the default, shows nothing.forstringDefault""The id of the table to read.growbooleanDefaultfalseGrows the bars up from the floor the first time the chart comes into
view with readings, each category a little after the one before it, so
the drawing arrives the way a page's own picture does. The growth is
fast at first, slows to rest, and never passes a bar's value.growAgainbooleanDefaultfalseGrows the bars again each time the chart comes back into view after it
left it, as a pane does when it is opened again, where grow alone grows
them the first time only. Only a chart that grows takes it.labelstringDefault""The chart's name, which starts the chart's text summary.layout"diagonal"|"row"How the bars stand.loadingbooleanDefaultfalseWhether the readings are still on their way. The chart shows
loading-text in place of an empty drawing until it has readings.loadingTextstringDefault"Loading readings"The words shown in place of the drawing while loading is set and
there are no readings yet, and the fallback of the loading slot.localestringDefault""The locale the chart's own numbers are written in: its axis, its
percentages and its totals, such as de for 1.240 and 32 %.material"frosted"|"glass"How much of each mark comes through, as on every chart: glass admits the
most of what is behind it, frosted less, and absent is opaque. The
strength is the theme's, scaled by --helix-material-opacity.nextReadingsLabelstringDefault"Next readings"The name of the button that shows the next page of readings in the
table drawn from data, which holds a page at a time past
READINGS_PAGE.noBoxbooleanDefaultfalseDraws no box: no edges, grid, numbers, or names, and in a row no
floor, so the readings stand alone and fill the plot, as a picture on a
product's own page does. The
table, the summary, the tooltip, and the keys still carry every value,
and a renderer draws no box either.openLabelstringDefault"{category}, {series}: no value"What the readout says for a place with no value. {category} and
{series} name the place.plotLabelstringDefault"3D bar chart"The plot's name where the chart has none: no aria-label, label, or table caption.positionLabelstringDefault"{position} of {count}"Where a reading the keys moved to stands among the readings, said after
it. {position} and {count} are replaced with the numbers, written in
locale.previousReadingsLabelstringDefault"Previous readings"The name of the button that shows the previous page of readings in the
table drawn from data.readingsLabelstringDefault"Readings {first} to {last} of {count}"Which readings the page of the table drawn from data holds, said
beside its buttons and as each page arrives. {first}, {last} and
{count} are replaced with the numbers, written in locale.separation"filled"|"plain"What the plot stands on. plain, the default, draws nothing behind it, as a
flat chart does, so a Card or the page is its ground. filled draws the
surface-filled ground every family takes. no-box is a separate choice:
it removes the box, grid, numbers, and names.sonifybooleanDefaultfalseDraws a Listen button that plays the chart as sound: each series in
turn, its readings from left to right and from the left ear to the
right, the value as pitch over two octaves, a soft tick at each
gridline, and one timbre a series. With it, each reading the arrow keys
step to plays its tone beside what the readout says, and L plays the
whole chart while it has focus. Escape stops it. Nothing plays without a
press, and the sound is made only then.sonifyDurationnumberDefault3000How long each series takes to play, in milliseconds or as 3s.sonifyLabelstringDefault"Listen"The Listen button's words.sonifyStopLabelstringDefault"Stop"The Listen button's words while the chart plays.stackedbooleanDefaultfalseStacks a category's series into one column, each block standing on the
ones before it, so the column is as tall as the category's total, as a
flat Bar Chart stacks them.summary"hidden"|"visible"visible draws the chart's text summary under it, as one line.
hidden, or absent, says the summary to a screen reader and draws it
for no one else. Reflected, because the stylesheet draws it by the
attribute, and a page that sets the property, as React does, writes none.summaryLabelstringDefault"{count, plural, one {# bar} other {# bars}} in {series, plural, one {# series} other {# series}} over {categories, plural, one {# category} other {# categories}}, from {low} to {high}."The summary part's sentence. {count}, {series}, and {categories}
are the number of bars, series, and categories, written in the locale,
and {low} and {high} the lowest and the highest value.
ReadTypeDescriptionactivenumberThe bar the keys or the pointer rest on, as its place in field.cells, or -1.fieldBarFieldThe table read as bars. Each row is a category, and each numeric
column a series. A renderer reads it.fitsnumberHow many categories a row or a diagonal has room for across the
plot at its bar size, measured as it is read, or
undefined where there is no row, no bar size, or nothing drawn to
measure. A page with a longer table gives the chart its latest that
many rows, and says so.namedstringThe chart's name: an aria-label written on the chart, then label,
then the table's caption.plottedColumnsnumber[]The positions of the cells in a row that hold numbers, in table order.readingsnumberThe number of readings, which the pointer position maps onto.seriesSeries[]The table's columns, one series each. Empty when there is no table.shownBarFieldThe bars as drawn this frame, which a renderer draws: field at rest,
and while the readings move, every cell between its last reading and
its new one, in field's order, then each cell the last table had and
the new one does not, shrinking to the floor.soundingbooleanWhether the chart is playing as sound now.whenSettledPromise<void>Resolves a frame after the first update, when transitions are switched on.
SlotDescription(default)The renderer's box, which the 3D drawing is made in.emptyContent shown when the table has no readings. Falls back to empty-text.errorContent shown after error-text while it is set and there are no readings, such as a button that tries again.loadingContent shown while loading is set and there are no readings yet. Falls back to loading-text.
EventTypeDescriptionhelix-plot-changeHelixPlotChangeEventThe bars or the bar the keys rest on changed, or a frame of a move drew the bars on their way, which the renderer is told. It stays on the chart.helix-plot-turnHelixPlotTurnEventShift with an arrow asked the view to turn, by a step across or up.helix-reading-changeHelixReadingChangeEventThe reading moved, or was put away: index is the row, or -1 for none, with its label and the pointerType that moved it.helix-reading-pressHelixReadingPressEventA bar was clicked or pressed with Enter or Space, with the same detail as helix-reading-change.
MethodTypeDescriptioncolumnName(cell: number) => stringThe heading of the column at this place in a row: a cell's name is its
column's heading, read from the first row that has a cell there, so a
short first row does not lose the heading. '' where no row has one.placeReading(at: { x: number; y: number } | undefined) => voidSays where the renderer draws the reading, as fractions of the plot from
its top left, or undefined while it draws none. The tooltip points
there. Called by the connector.playReadings() => Promise<void>Plays every shown series as sound, one after another, and resolves when it ends or is stopped.rendererDrawn(on: unknown) => voidSays whether a renderer has drawn the bars, which hides the chart's own
drawing or shows it again. Called by the connector.requestActive(at: number, kind: "mouse" | "pen" | "touch") => voidPuts the reading on the bar at index, or lets it go with -1, as a
pointer resting on it in the renderer's drawing or a press there does.
A touch keeps it until a tap lands elsewhere, and a mouse leaving a
reading the keys moved to leaves it. Called by the connector.seriesOf(cell: number) => number | undefinedThe palette slot for the cell at this position in a row.showsColumn(cell: number) => booleanWhether the series read from the cell at this place in a row is drawn,
by its column's heading. The keys and the readout pass over one a
legend hid.showsSeries(name: string) => booleanWhether the series of this name is drawn, which it is unless a legend
reading the same table hid it.stopReadings() => voidStops the sound.
PartDescriptionaxis-nameA measure's name, along its edge of the box, in the chart's own drawing.barOne bar, its faces in its series' color.bar-activeThe bar the pointer or the keys rest on. Set alongside bar.drawingThe chart's own drawing in SVG: the box, its grid and names, and the bars.emptyThe words when the table has no readings: the empty slot, falling back to empty-text.errorThe words while error-text is set and there are no readings, followed by the error slot. Announced as it appears.faceOne face of a bar the view shows, shaded by which way it faces.fallbackThe box the chart's own drawing fills, shown until a renderer has drawn and where none is connected. Hidden from screen readers.floorOne place on the floor of a row, under a bar or where one would stand, drawn as its outline.glowThe outline of a bar whose cell names a tone, blurred by 8 CSS pixels and painted under the bar, with no fill until a stylesheet gives it one: a soft glow in the bar's tone.gridThe box's edges and its grid, in the chart's own drawing.liveThe readout: a polite live region that says the bar the keys moved to. Hide it visually.loadingThe words while loading is set and there are no readings.markThe invisible point the tooltip is anchored to, where the renderer draws the reading.plotThe box the drawing fills, which takes focus to be read by key. It is named by the host's aria-labelledby or aria-label, then by label, then by the caption of the table.ringThe outline around the bar the pointer or the keys rest on, painted after it, so the bars in front of it cover it.ring-behindThe same outline, faint and dashed, drawn over every bar, so the part of the bar the pointer or the keys rest on that others hide still shows.sonifyThe button that plays the chart as sound, under sonify.summaryThe number of bars, series, and categories, and the range of values, written as a sentence for screen readers, which describes the plot. Hide it visually.tableThe readings as a table, for a screen reader, rendered only where they were drawn from data, a page of them at a time past a few hundred. Hide it visually.table-pagesWhich readings a page of the table holds, and the buttons that show the previous and the next page, rendered only while it holds a page. Hide it visually.tickA category's or a series' name, or a value at a tick, along its edge of the box, or a category's name under its place in a row, in the chart's own drawing.tooltip-anchorThe Tooltip element itself.tooltip-arrowThe bubble's point, forwarded from Tooltip.tooltip-arrow-bottomThe point while the bubble is below the reading, on its top edge. Set alongside tooltip-arrow.tooltip-arrow-leftThe point while the bubble is left of the reading, on its right edge. Set alongside tooltip-arrow.tooltip-arrow-rightThe point while the bubble is right of the reading, on its left edge. Set alongside tooltip-arrow.tooltip-arrow-topThe point while the bubble is above the reading, on its bottom edge. Set alongside tooltip-arrow.tooltip-cellOne column's name and value inside the tooltip.tooltip-cell-currentThe cell a chart's series keys rest on, which every chart's tooltip can mark. This chart marks none, since its readout says the measure. Set alongside tooltip-cell.tooltip-labelThe row's own name inside the tooltip.tooltip-nameA column's name inside the tooltip.tooltip-surfaceThe bubble, forwarded from Tooltip.tooltip-surface-bottomThe bubble while it is below the reading. Set alongside tooltip-surface.tooltip-surface-leftThe bubble while it is left of the reading. Set alongside tooltip-surface.tooltip-surface-rightThe bubble while it is right of the reading. Set alongside tooltip-surface.tooltip-surface-topThe bubble while it is above the reading. Set alongside tooltip-surface.tooltip-valueA column's value inside the tooltip.valueThe value of a bar whose cell names a tone, written above it in the chart's own drawing.
CSS PropertyDescription--spatial-bar-chart-bar-sizeHow wide each bar of a row or a diagonal stands on the page, whatever the number of bars: the row is as long as its bars make it, centered in the plot, and the tallest bar stands as high as the plot has room for, and no taller than the row is long and a quarter again, so one bar stands as a block. fits says how many bars the plot holds. Unset, the row fills the plot's width.--spatial-bar-chart-block-sizeHow tall the plot is. By default, as tall as it is wide and 26em at most.--spatial-bar-chart-move-durationHow long the bars take to move to a new table's readings. Defaults to --helix-duration-normal. 0ms draws a new table at once.--spatial-bar-chart-move-easingThe curve the bars move to new readings along. Defaults to --helix-easing-decelerate, so a bar slows as it arrives and never passes its value.--spatial-bar-chart-shadeHow far a bar's face turns from the light, from 0 for its top. The component writes it on each face, and the stylesheet that shades the face reads it.--spatial-bar-chart-tone-accentThe color of a bar whose cell says data-tone="accent".--spatial-bar-chart-tone-dangerThe color of a bar whose cell says data-tone="danger".--spatial-bar-chart-tone-infoThe color of a bar whose cell says data-tone="info".--spatial-bar-chart-tone-mutedThe color of a bar whose cell says data-tone="muted".--spatial-bar-chart-tone-primaryThe color of a bar whose cell says data-tone="primary". A tone with no property of its own falls back to the bar's series color, and the same holds for a name you define.--spatial-bar-chart-tone-successThe color of a bar whose cell says data-tone="success".--spatial-bar-chart-tone-warningThe color of a bar whose cell says data-tone="warning".
Custom stateDescriptionactiveWhile a bar is shown, under the pointer or the keys.drawnWhile a renderer has drawn the bars, and the chart's own drawing is hidden.emptyWhile the empty part stands in place of the readings.errorWhile the error part stands in place of the readings.loadingWhile the loading part stands in place of the readings.settledSet one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
Roothelix-headless-spatial-bar-chartA bar chart drawn in three dimensions, each bar a block as tall as its value, for categories in one or more series.
PropTypeDescriptiondataChartDataThe readings as data, in the shape of a table, where the page has no
table to point for at. for wins where both are set.emptyTextstringDefault"No readings"The words shown in place of the drawing when the table has no readings,
and the fallback of the empty slot.errorTextstringDefault""The words shown in place of the drawing when the readings did not load,
such as "The visits did not load". Empty, the default, shows nothing.forstringDefault""The id of the table to read.growbooleanDefaultfalseGrows the bars up from the floor the first time the chart comes into
view with readings, each category a little after the one before it, so
the drawing arrives the way a page's own picture does. The growth is
fast at first, slows to rest, and never passes a bar's value.growAgainbooleanDefaultfalseGrows the bars again each time the chart comes back into view after it
left it, as a pane does when it is opened again, where grow alone grows
them the first time only. Only a chart that grows takes it.labelstringDefault""The chart's name, which starts the chart's text summary.layout"diagonal"|"row"How the bars stand.loadingbooleanDefaultfalseWhether the readings are still on their way. The chart shows
loading-text in place of an empty drawing until it has readings.loadingTextstringDefault"Loading readings"The words shown in place of the drawing while loading is set and
there are no readings yet, and the fallback of the loading slot.localestringDefault""The locale the chart's own numbers are written in: its axis, its
percentages and its totals, such as de for 1.240 and 32 %.nextReadingsLabelstringDefault"Next readings"The name of the button that shows the next page of readings in the
table drawn from data, which holds a page at a time past
READINGS_PAGE.noBoxbooleanDefaultfalseDraws no box: no edges, grid, numbers, or names, and in a row no
floor, so the readings stand alone and fill the plot, as a picture on a
product's own page does. The
table, the summary, the tooltip, and the keys still carry every value,
and a renderer draws no box either.openLabelstringDefault"{category}, {series}: no value"What the readout says for a place with no value. {category} and
{series} name the place.plotLabelstringDefault"3D bar chart"The plot's name where the chart has none: no aria-label, label, or table caption.positionLabelstringDefault"{position} of {count}"Where a reading the keys moved to stands among the readings, said after
it. {position} and {count} are replaced with the numbers, written in
locale.previousReadingsLabelstringDefault"Previous readings"The name of the button that shows the previous page of readings in the
table drawn from data.readingsLabelstringDefault"Readings {first} to {last} of {count}"Which readings the page of the table drawn from data holds, said
beside its buttons and as each page arrives. {first}, {last} and
{count} are replaced with the numbers, written in locale.sonifybooleanDefaultfalseDraws a Listen button that plays the chart as sound: each series in
turn, its readings from left to right and from the left ear to the
right, the value as pitch over two octaves, a soft tick at each
gridline, and one timbre a series. With it, each reading the arrow keys
step to plays its tone beside what the readout says, and L plays the
whole chart while it has focus. Escape stops it. Nothing plays without a
press, and the sound is made only then.sonifyDurationnumberDefault3000How long each series takes to play, in milliseconds or as 3s.sonifyLabelstringDefault"Listen"The Listen button's words.sonifyStopLabelstringDefault"Stop"The Listen button's words while the chart plays.stackedbooleanDefaultfalseStacks a category's series into one column, each block standing on the
ones before it, so the column is as tall as the category's total, as a
flat Bar Chart stacks them.summary"hidden"|"visible"visible draws the chart's text summary under it, as one line.
hidden, or absent, says the summary to a screen reader and draws it
for no one else. Reflected, because the stylesheet draws it by the
attribute, and a page that sets the property, as React does, writes none.summaryLabelstringDefault"{count, plural, one {# bar} other {# bars}} in {series, plural, one {# series} other {# series}} over {categories, plural, one {# category} other {# categories}}, from {low} to {high}."The summary part's sentence. {count}, {series}, and {categories}
are the number of bars, series, and categories, written in the locale,
and {low} and {high} the lowest and the highest value.
ReadTypeDescriptionactivenumberThe bar the keys or the pointer rest on, as its place in field.cells, or -1.fieldBarFieldThe table read as bars. Each row is a category, and each numeric
column a series. A renderer reads it.fitsnumberHow many categories a row or a diagonal has room for across the
plot at its bar size, measured as it is read, or
undefined where there is no row, no bar size, or nothing drawn to
measure. A page with a longer table gives the chart its latest that
many rows, and says so.namedstringThe chart's name: an aria-label written on the chart, then label,
then the table's caption.plottedColumnsnumber[]The positions of the cells in a row that hold numbers, in table order.readingsnumberThe number of places on the grid, which the keys walk.seriesSeries[]The table's columns, one series each. Empty when there is no table.shownBarFieldThe bars as drawn this frame, which a renderer draws: field at rest,
and while the readings move, every cell between its last reading and
its new one, in field's order, then each cell the last table had and
the new one does not, shrinking to the floor.soundingbooleanWhether the chart is playing as sound now.whenSettledPromise<void>Resolves a frame after the first update, when transitions are switched on.
SlotDescription(default)The renderer's box, which the 3D drawing is made in.emptyContent shown when the table has no readings. Falls back to empty-text.errorContent shown after error-text while it is set and there are no readings, such as a button that tries again.loadingContent shown while loading is set and there are no readings yet. Falls back to loading-text.
EventTypeDescriptionhelix-plot-changeHelixPlotChangeEventThe bars or the bar the keys rest on changed, or a frame of a move drew the bars on their way, which the renderer is told. It stays on the chart.helix-plot-turnHelixPlotTurnEventShift with an arrow asked the view to turn, by a step across or up.helix-reading-changeHelixReadingChangeEventThe reading moved, or was put away: index is the row, or -1 for none, with its label and the pointerType that moved it.helix-reading-pressHelixReadingPressEventA bar was clicked or pressed with Enter or Space, with the same detail as helix-reading-change.
MethodTypeDescriptioncolumnName(cell: number) => stringThe heading of the column at this place in a row: a cell's name is its
column's heading, read from the first row that has a cell there, so a
short first row does not lose the heading. '' where no row has one.placeReading(at: { x: number; y: number } | undefined) => voidSays where the renderer draws the reading, as fractions of the plot from
its top left, or undefined while it draws none. The tooltip points
there. Called by the connector.playReadings() => Promise<void>Plays every shown series as sound, one after another, and resolves when it ends or is stopped.rendererDrawn(on: unknown) => voidSays whether a renderer has drawn the bars, which hides the chart's own
drawing or shows it again. Called by the connector.requestActive(at: number, kind: "mouse" | "pen" | "touch") => voidPuts the reading on the bar at index, or lets it go with -1, as a
pointer resting on it in the renderer's drawing or a press there does.
A touch keeps it until a tap lands elsewhere, and a mouse leaving a
reading the keys moved to leaves it. Called by the connector.seriesOf(cell: number) => number | undefinedThe palette slot for the cell at this position in a row.showsColumn(cell: number) => booleanWhether the series read from the cell at this place in a row is drawn,
by its column's heading. The keys and the readout pass over one a
legend hid.showsSeries(name: string) => booleanWhether the series of this name is drawn, which it is unless a legend
reading the same table hid it.stopReadings() => voidStops the sound.
PartDescriptionaxis-nameA measure's name, along its edge of the box, in the chart's own drawing.barOne bar, its faces in its series' color.bar-activeThe bar the pointer or the keys rest on. Set alongside bar.drawingThe chart's own drawing in SVG: the box, its grid and names, and the bars.emptyThe words when the table has no readings: the empty slot, falling back to empty-text.errorThe words while error-text is set and there are no readings, followed by the error slot. Announced as it appears.faceOne face of a bar the view shows, shaded by which way it faces.fallbackThe box the chart's own drawing fills, shown until a renderer has drawn and where none is connected. Hidden from screen readers.floorOne place on the floor of a row, under a bar or where one would stand, drawn as its outline.glowThe outline of a bar whose cell names a tone, blurred by 8 CSS pixels and painted under the bar, with no fill until a stylesheet gives it one: a soft glow in the bar's tone.gridThe box's edges and its grid, in the chart's own drawing.liveThe readout: a polite live region that says the bar the keys moved to. Hide it visually.loadingThe words while loading is set and there are no readings.markThe invisible point the tooltip is anchored to, where the renderer draws the reading.plotThe box the drawing fills, which takes focus to be read by key. It is named by the host's aria-labelledby or aria-label, then by label, then by the caption of the table.ringThe outline around the bar the pointer or the keys rest on, painted after it, so the bars in front of it cover it.ring-behindThe same outline, faint and dashed, drawn over every bar, so the part of the bar the pointer or the keys rest on that others hide still shows.sonifyThe button that plays the chart as sound, under sonify.summaryThe number of bars, series, and categories, and the range of values, written as a sentence for screen readers, which describes the plot. Hide it visually.tableThe readings as a table, for a screen reader, rendered only where they were drawn from data, a page of them at a time past a few hundred. Hide it visually.table-pagesWhich readings a page of the table holds, and the buttons that show the previous and the next page, rendered only while it holds a page. Hide it visually.tickA category's or a series' name, or a value at a tick, along its edge of the box, or a category's name under its place in a row, in the chart's own drawing.tooltip-anchorThe Tooltip element itself.tooltip-arrowThe bubble's point, forwarded from Tooltip.tooltip-arrow-bottomThe point while the bubble is below the reading, on its top edge. Set alongside tooltip-arrow.tooltip-arrow-leftThe point while the bubble is left of the reading, on its right edge. Set alongside tooltip-arrow.tooltip-arrow-rightThe point while the bubble is right of the reading, on its left edge. Set alongside tooltip-arrow.tooltip-arrow-topThe point while the bubble is above the reading, on its bottom edge. Set alongside tooltip-arrow.tooltip-cellOne column's name and value inside the tooltip.tooltip-cell-currentThe cell a chart's series keys rest on, which every chart's tooltip can mark. This chart marks none, since its readout says the measure. Set alongside tooltip-cell.tooltip-labelThe row's own name inside the tooltip.tooltip-nameA column's name inside the tooltip.tooltip-surfaceThe bubble, forwarded from Tooltip.tooltip-surface-bottomThe bubble while it is below the reading. Set alongside tooltip-surface.tooltip-surface-leftThe bubble while it is left of the reading. Set alongside tooltip-surface.tooltip-surface-rightThe bubble while it is right of the reading. Set alongside tooltip-surface.tooltip-surface-topThe bubble while it is above the reading. Set alongside tooltip-surface.tooltip-valueA column's value inside the tooltip.valueThe value of a bar whose cell names a tone, written above it in the chart's own drawing.
CSS PropertyDescription--spatial-bar-chart-move-durationHow long the bars take to move to a new table's readings: a bar the table keeps rises or falls to its new value, a bar it adds grows from the floor, and a bar it drops shrinks to the floor. Unset, a new table is drawn at once. The growth under grow keeps its own timing.--spatial-bar-chart-move-easingThe curve the bars move to new readings along.--spatial-bar-chart-shadeHow far a bar's face turns from the light, from 0 for its top. The component writes it on each face, and the stylesheet that shades the face reads it.--spatial-bar-chart-tone-accentThe color of a bar whose cell says data-tone="accent".--spatial-bar-chart-tone-dangerThe color of a bar whose cell says data-tone="danger".--spatial-bar-chart-tone-infoThe color of a bar whose cell says data-tone="info".--spatial-bar-chart-tone-mutedThe color of a bar whose cell says data-tone="muted".--spatial-bar-chart-tone-primaryThe color of a bar whose cell says data-tone="primary". A tone with no property of its own falls back to the bar's series color, and the same holds for a name you define.--spatial-bar-chart-tone-successThe color of a bar whose cell says data-tone="success".--spatial-bar-chart-tone-warningThe color of a bar whose cell says data-tone="warning".
Custom stateDescriptionactiveWhile a bar is shown, under the pointer or the keys.drawnWhile a renderer has drawn the bars, and the chart's own drawing is hidden.emptyWhile the empty part stands in place of the readings.errorWhile the error part stands in place of the readings.loadingWhile the loading part stands in place of the readings.settledSet one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
Examples
NameDescriptionEmphasisSignups for three regions over three quarters at each emphasis: solid bars, outlined bars, a subtle wash, and muted bars in the neutral ink with one bar in the primary color.LayoutA week of runs on the grid, in a level row, and in a row climbing to the right, as neutral bars that grow in, with today in the primary color and its value over it.MaterialSignups for three regions over three quarters at each material: opaque, frosted, and glass, over a panel.PreviewSignups for five regions over four quarters, each a bar in its quarter's color, drawn in 3D in SVG. Drag to turn the bars, or press Shift with an arrow.PreviewSignups for five regions over four quarters, each a bar in its quarter's color, drawn in 3D in SVG. Drag to turn the bars, or press Shift with an arrow.RowThe tokens of each model call stacked in one column each, in a level row of bars turned to show their sides, as a pane holds them.SeparationSignups for three regions over three quarters with the plain separation and on the filled ground.StackedThe tokens of each model call as one column of its parts, cached input, new input, and output, each block standing on the ones before it.StatesA chart while its table loads, and a chart whose table has no readings.Taking new dataBars that grow in the first time they are seen, and rise or fall to their new numbers when the table changes.ThreeThe same signups drawn in 3D by three.js. Drag to turn the bars, or press Shift with an arrow.Without a boxA week of deploys as one row of bars with no box, grid, or names around it, for a landing page. The tooltip and the table still carry every value.