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.
globalSettings is a plain object on Taucharts.api that acts as the default ChartSettings for every chart created in the page. Mutate its properties once at startup and all subsequent charts inherit those defaults. Individual charts can override any setting via their own settings property.
Accessing global settings
All settings
Rendering
Duration of transition animations in milliseconds. Set to
0 to disable animations.Maximum time in milliseconds to wait for an async render cycle before aborting.
When
true, chart rendering is deferred to the next event loop tick, keeping the UI responsive during initial paint.Interval in milliseconds between synchronous rendering chunks when
asyncRendering is false.When
true, pointer event handlers are executed synchronously instead of being debounced.When
true, rendering errors are caught and logged instead of thrown. Useful in production environments.Data
Exclude data rows where the mapped field value is
null or undefined before rendering.A map from dimension type strings to format names. Used as fallback formatters when no
tickFormat is set in guide.When
true, all time and period scales use UTC methods instead of local time. Also controls which variant of x-time-auto is resolved.Layout and sizing
Controls how the chart fills its container. One of:
| Value | Behaviour |
|---|---|
'none' | No automatic sizing |
'normal' | Default layout with auto margins |
'entire-view' | Stretches plot to fill the entire container |
'minimal' | Minimizes whitespace |
'fit-width' | Stretches horizontally only |
'fit-height' | Stretches vertically only |
Internal layout algorithm.
'EXTRACT' pulls axes out of the plot area; 'NONE' renders axes inline.Automatically compute aspect ratios for chart elements based on available space.
Minimum chart width in pixels below which rendering is suppressed.
Minimum chart height in pixels below which rendering is suppressed.
Minimum width in pixels for each facet cell in a faceted chart.
Minimum height in pixels for each facet cell in a faceted chart.
Separator string used between facet label segments in nested facet titles (Unicode right arrow
\u2192).Spec engine
Ordered list of spec engine configurations. Each entry defines a viewport threshold below which that engine is selected.Default:
COMPACT optimises label density for small containers. AUTO uses the full layout algorithm.Logging
Custom log handler called by Taucharts internals for warnings and errors.Default implementation forwards to
console[type.toLowerCase()].Example: applying common defaults
Per-chart override
Pass asettings object in ChartSpec to override global defaults for a single chart. Any property not present in settings falls back to globalSettings: