Taucharts has an extensible plugin system that lets you add interactive features and visual enhancements to your charts without modifying the core library. Plugins are plain objects that implement a small lifecycle interface, and they are activated by passing them in the chart configuration. The library ships with a comprehensive set of built-in plugins covering tooltips, legends, annotations, trend lines, data export, filtering, and more.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.
Using plugins
Pass an array to theplugins property of your chart configuration. Each entry is a plugin instance returned by calling Taucharts.api.plugins.get('name')(settings).
Getting a plugin
TheTaucharts.api.plugins.get function retrieves a plugin factory by name. Call the returned factory with an optional settings object to produce a plugin instance.
Built-in plugins
| Name | Description |
|---|---|
tooltip | Shows a data tooltip on hover with configurable fields and formatters |
legend | Renders a color, size, or fill legend with interactive category filtering |
annotations | Draws annotation lines, areas, and labels on the chart |
trendline | Fits and draws statistical trend lines (linear, exponential, logarithmic) |
export-to | Adds a menu to export the chart as a PNG image or CSV file |
crosshair | Displays crosshair lines that follow the cursor with axis labels |
layers | Overlays multiple chart series with independent Y axes |
quick-filter | Adds range brush filters for numeric dimensions |
category-filter | Adds checkbox filters for categorical dimensions |
bar-as-span | Renders bars spanning between two data values instead of from zero |
box-whiskers | Computes and draws box-and-whisker plots from raw data |
floating-axes | Keeps axis labels visible when the chart is scrolled |
diff-tooltip | Shows differences between data points in the tooltip |
parallel-brushing | Adds brushing interaction to parallel coordinates charts |
parallel-tooltip | Shows tooltips on parallel coordinates charts |
geomap-legend | Renders a legend for geomap charts |
geomap-tooltip | Shows tooltips on geomap charts |
settings | Adds a settings panel to configure chart options at runtime |
PluginObject interface
Every plugin must implement at least one of the following lifecycle methods.chart argument passed to init is a Plot instance. It exposes methods such as getSpec(), getLayout(), addFilter(), removeFilter(), refresh(), and the event emitter interface (on, fire).
Registering a custom plugin
Register a reusable plugin factory under a name so other parts of the application can retrieve it withplugins.get.
Plugin pages
Tooltip
Show data on hover with custom fields and formatters.
Legend
Interactive color and size legend with position control.
Annotations
Add lines, ranges, and labels to highlight data regions.
Trendline
Fit statistical trend lines to your chart data.
Export to PNG / CSV
Let users download the chart as an image or spreadsheet.
Additional plugins
Crosshair, layers, filters, bar-as-span, and box-whiskers.