Skip to main content

src/utils/chartUtils

Type-safe Chart.js configuration utilities.

Remarksโ€‹

Provides type guards and safe access to Chart.js configuration properties with proper TypeScript support using hybrid Chart.js types.

This module uses the hybrid Chart.js type system to provide:

  • Type-safe access to scale configurations
  • Safe nested property navigation
  • Business logic type integration
  • Chart.js API compatibility

Seeโ€‹

hybrid-type-system.md for hybrid type strategy

Functionsโ€‹