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.
guide property on a chart spec is the primary way to control the visual presentation of axes, colors, and chart elements without touching the underlying data. It maps directly to the ChartGuide interface and can be a single object for simple charts or an array of objects for faceted layouts.
Axis options
Bothx and y accept the same set of sub-properties.
Visual configuration for the horizontal axis.
Visual configuration for the vertical axis. Accepts the same sub-properties as
guide.x.Example: axis labels and formatting
Padding
Inner padding (in pixels) around the plot area within the chart frame. Properties map to top (
t), right (r), bottom (b), and left (l).Color brewer
Custom color palette for the color channel. Provide an ordered array of CSS color strings to assign colors by index, or an object mapping each category value to a specific color.
Array brewer
Colors are assigned in order to each distinct value of thecolor field.
Object brewer
Assigns a specific color to each named group, regardless of order.Anchors and hover behavior
Controls when interactive anchor points (tooltips targets) are visible on line and area charts.
'always' shows all points permanently; 'hover' shows them only on mouse proximity; 'never' hides them entirely.Line interpolation
guide.interpolate
'linear' | 'smooth' | 'smooth-keep-extremum' | 'step' | 'step-before' | 'step-after'
default:"linear"
The interpolation method used to draw lines and areas between data points.
| Value | Behavior |
|---|---|
linear | Straight line segments between points |
smooth | Cubic Bézier curve (may overshoot extremes) |
smooth-keep-extremum | Smooth curve that preserves local minima/maxima |
step | Horizontal then vertical steps (midpoint transitions) |
step-before | Vertical then horizontal steps |
step-after | Horizontal then vertical steps (end of interval) |
Split series
When
true, renders each series in a separate panel stacked vertically. Useful for area charts where overlapping series would obscure each other.Grid lines
Which grid lines to render inside the plot area.
'x' draws vertical lines, 'y' draws horizontal lines, and 'xy' draws both.Built-in tick format names
The following named formats can be passed totickFormat without writing a custom function.
Numeric formats
Numeric formats
| Name | Example output |
|---|---|
x-num-auto | Auto-selects SI suffix (k, M, …) or scientific notation |
percent | 42.5% |
Date and time formats
Date and time formats
| Name | Example output |
|---|---|
day | 15-Jan-2024 |
day-short | 15-Jan |
week | 15-Jan-2024 |
week-short | 15-Jan |
month | January / January, 2024 (January shows year) |
month-short | Jan / Jan '24 |
month-year | January, 2024 |
quarter | Q1 2024 |
year | 2024 |
x-time-auto | Auto-selects best date/time granularity |
-utc variant (e.g. day-utc, month-utc) that uses UTC time instead of local time.Facet guide configuration
Whenx or y contains an array of two field names, the chart renders as a faceted grid. Pass an array of ChartGuide objects to configure each facet level independently.
The array length must match the nesting depth of your facet. The last element in the array configures the innermost chart panel.