TheDocumentation 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.
settings property on a chart spec gives you fine-grained control over how Taucharts renders, animates, and lays out the chart. Every option has a sensible default sourced directly from Taucharts.api.globalSettings, so you only need to supply the properties you want to override.
Animation
Duration of enter/update/exit animations in milliseconds. Set to
0 to disable animations entirely.Rendering
When
true, chart rendering is split into time-sliced chunks so the browser remains responsive during large renders. Disable for synchronous rendering in server-side or test environments.Maximum time in milliseconds that async rendering is allowed to run before it is aborted. Only applies when
asyncRendering is true.Time budget per rendering frame in milliseconds when
asyncRendering is true. Lower values keep the UI more responsive at the cost of longer total render time.Forces pointer event handlers (hover, click) to run synchronously. Useful when you need deterministic event timing in tests or automation.
When
true, rendering errors are caught and reported via the log function rather than throwing. Useful in production to prevent a single bad chart from breaking the page.Logging
Custom log handler called with
(message: string, type: 'ERROR' | 'WARNING' | 'INFO' | 'LOG'). Defaults to the corresponding console method. Override to route chart diagnostics into your application’s logging pipeline.Data handling
When
true, rows where any measure-type or period-scale field is null are removed before rendering. Set to false to retain null rows (they will be treated as gaps on line charts).Colors
The default sequential color palette used for continuous (measure) color channels. Defaults to a 256-color viridis-inspired palette. Override with any array of CSS color strings.
CSS class names assigned to discrete color categories. Defaults to
['color20-1', 'color20-2', …, 'color20-20']. Override when you want to control category colors entirely through CSS.Facet labels
The string inserted between outer and inner facet label segments in the chart header. Defaults to a space, right arrow, space (
" → ").Size constraints
Minimum total chart width in pixels. The chart will not render narrower than this value.
Minimum total chart height in pixels.
Minimum width in pixels for each facet panel in a faceted chart.
Minimum height in pixels for each facet panel.
Axis tick label limits
Maximum width in pixels for a tick label on the x axis before it is truncated or wrapped.
Maximum width in pixels for a tick label on the y axis.
Fit model
ThefitModel setting controls how the chart fills its container.
settings.fitModel
'none' | 'normal' | 'entire-view' | 'minimal' | 'fit-width' | 'fit-height'
default:"'normal'"
Layout strategy for sizing the chart within its container.
fit model options explained
fit model options explained
| Value | Behavior |
|---|---|
none | No automatic sizing. The chart uses whatever space it is given. |
normal | The chart fits within the container while preserving aspect ratio based on the specEngine breakpoints. |
entire-view | The chart expands to fill the entire container in both dimensions, potentially distorting the aspect ratio. |
minimal | The chart shrinks to the minimum size needed to display all content. |
fit-width | The chart fills the container width; height is determined by content. |
fit-height | The chart fills the container height; width is determined by content. |
Spec engine
Breakpoint rules that switch between spec engine modes based on chart dimensions. The first entry whose
width and height bounds are not exceeded is used.The default configuration uses COMPACT mode for charts up to 600×400 px and AUTO for anything larger.| Mode | Behavior |
|---|---|
COMPACT | Reduces label density and axis decoration to fit smaller spaces |
AUTO | Full decoration with optimal tick and label density |
Layout engine
Controls how axis labels and ticks are extracted from the inner plot area.
'EXTRACT' moves axis decorations outside the plot bounds for a clean inner area. 'NONE' disables this extraction.Aspect ratio
When
true, Taucharts automatically selects a height-to-width ratio that gives visually balanced tick density. Disable to take full manual control over chart dimensions.Time zone
When
true, all time scale operations—tick generation, period boundaries, and built-in date formatters—use UTC instead of the browser’s local time zone.Default tick formats
A map from dimension type token to default tick format name. The built-in defaults are:Override to apply a different format globally to all numeric or time axes without setting
tickFormat on every guide.Global settings
Apply settings to all charts on the page by mutatingTaucharts.api.globalSettings. Any property set here becomes the new default for every chart created afterward.