Interface: ThemeAwareChartFactory
Defined in: shared/types/chartHybrid.ts:153
Theme-aware chart configuration factory interface.
Remarksโ
Interface for creating chart configurations that automatically apply theme-specific styling using both official Chart.js types and custom theme logic.
Propertiesโ
createBarChartโ
createBarChart: (
data:UptimeChartData,themeConfig:ChartThemeConfig) =>UptimeChartConfig<"bar">
Defined in: shared/types/chartHybrid.ts:162
Create a bar chart configuration with theme integration.
Parametersโ
dataโ
Chart data
themeConfigโ
Theme configuration
Returnsโ
UptimeChartConfig<"bar">
Hybrid chart configuration with theme-driven styling.
createDoughnutChartโ
createDoughnutChart: (
data:UptimeChartData,themeConfig:ChartThemeConfig) =>UptimeChartConfig<"doughnut">
Defined in: shared/types/chartHybrid.ts:175
Create a doughnut chart configuration with theme integration.
Parametersโ
dataโ
Chart data
themeConfigโ
Theme configuration
Returnsโ
UptimeChartConfig<"doughnut">
Hybrid chart configuration with theme-driven styling.
createLineChartโ
createLineChart: (
data:UptimeChartData,themeConfig:ChartThemeConfig) =>UptimeChartConfig
Defined in: shared/types/chartHybrid.ts:188
Create a line chart configuration with theme integration.
Parametersโ
dataโ
Chart data
themeConfigโ
Theme configuration
Returnsโ
Hybrid chart configuration with theme-driven styling.