Interface
ChartCreateOptions
Options of FerroChart.create.
Properties
| Name | Type | Description |
|---|---|---|
theme? | 'light' | 'dark' | Color theme. Default |
renderer? | 'auto' | 'webgpu' | 'webgl2' | GPU API. |
maxBarSpacing? | number | Largest bar spacing when zooming in, CSS px. Default 50; footprint numbers need more than 60, TPO letters several hundred. |
attributionLogo? | boolean | A small FerroChart logo linking to ferrochart.com at the bottom-left of
the lowest pane (a DOM element next to the canvas, not drawn into it).
Default |
Declaration
export interface ChartCreateOptions {
theme?: 'light' | 'dark';
renderer?: 'auto' | 'webgpu' | 'webgl2';
maxBarSpacing?: number;
attributionLogo?: boolean;
}