Skip to main content

Interface: UptimeChartOptions

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

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:61

Animation configuration

duration?โ€‹

optional duration?: number

easing?โ€‹

optional easing?: string


datasets?โ€‹

optional datasets?: UnknownRecord

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

Dataset configurations


elements?โ€‹

optional elements?: UnknownRecord

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

Element configurations


interaction?โ€‹

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

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

Interaction configuration

intersect?โ€‹

optional intersect?: boolean

mode?โ€‹

optional mode?: string


maintainAspectRatio?โ€‹

optional maintainAspectRatio?: boolean

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

Whether to maintain aspect ratio


plugins?โ€‹

optional plugins?: ChartPluginsConfig

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

Enhanced plugin configuration with theme integration


responsive?โ€‹

optional responsive?: boolean

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

Whether the chart is responsive


scales?โ€‹

optional scales?: ChartScalesConfig

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

Enhanced scale configuration with business logic