Interface: ThemeAwareChartFactory
Defined in: shared/types/chartHybrid.ts:149
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:158
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:171
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:184
Create a line chart configuration with theme integration.
Parametersโ
dataโ
Chart data
themeConfigโ
Theme configuration
Returnsโ
Hybrid chart configuration with theme-driven styling.