Installation & Setup
Package manager setup, tree-shaking configuration, TypeScript definitions, and bundle footprint analysis.
QuaCharts packages are distributed via npm and private enterprise registries. You can install the core web charting package, modular enterprise calendars, and optional geographic and 3D extensions independently to keep bundle footprints minimal.
Package Installation
Choose your package manager of choice to install @quatick/web-charts and @quatick/calendar:
TypeScript Configuration
QuaCharts is written natively in strict TypeScript. Add the following tsconfig.json options for optimal type inference and autocompletion of chart options, calendar events, and indicator pipelines:
Bundle Size Breakdown
| Package Module | Unminified | Minified + Gzip | Dependencies |
|---|---|---|---|
| @quatick/web-charts (Core + Cartesian) | 128 KB | 36.4 KB | 0 (Zero external) |
| @quatick/web-charts (Financial + Indicators) | 184 KB | 52.1 KB | 0 (Zero external) |
| @quatick/calendar (All Views + Recurrence) | 96 KB | 27.8 KB | 0 (Zero external) |
| @quatick/maps (Vector GeoJSON) | 85 KB | 24.2 KB | 0 (Zero external) |
| @quatick/3d (Volumetric Surface) | 140 KB | 41.5 KB | 0 (Zero external) |
Tree-Shaking Architecture
Every chart family, indicator formula, and calendar engine is exported as ES modules with sideEffects: false in package.json. If your dashboard only renders Line and Candlestick charts, polar, maps, and flow modules are completely eliminated from your production bundle.