Skip to main content

Interface: UptimeChartOptions

Defined in: shared/types/chartHybrid.ts:56

Enhanced Chart.js options that combine official types with custom business logic.

Remarksโ€‹

Extends the core Chart.js option surface with our scale and plugin conveniences while remaining compatible with upstream APIs.

Propertiesโ€‹

animation?โ€‹

optional animation: { duration?: number; easing?: string; }

Defined in: shared/types/chartHybrid.ts:58

Animation configuration

duration?โ€‹

optional duration: number

easing?โ€‹

optional easing: string


datasets?โ€‹

optional datasets: UnknownRecord

Defined in: shared/types/chartHybrid.ts:63

Dataset configurations


elements?โ€‹

optional elements: UnknownRecord

Defined in: shared/types/chartHybrid.ts:65

Element configurations


interaction?โ€‹

optional interaction: { intersect?: boolean; mode?: string; }

Defined in: shared/types/chartHybrid.ts:67

Interaction configuration

intersect?โ€‹

optional intersect: boolean

mode?โ€‹

optional mode: string


maintainAspectRatio?โ€‹

optional maintainAspectRatio: boolean

Defined in: shared/types/chartHybrid.ts:72

Whether to maintain aspect ratio


plugins?โ€‹

optional plugins: ChartPluginsConfig

Defined in: shared/types/chartHybrid.ts:74

Enhanced plugin configuration with theme integration


responsive?โ€‹

optional responsive: boolean

Defined in: shared/types/chartHybrid.ts:76

Whether the chart is responsive


scales?โ€‹

optional scales: ChartScalesConfig

Defined in: shared/types/chartHybrid.ts:78

Enhanced scale configuration with business logic