Understanding customization
Customization allows you to adjust the appearance and behavior of your energy dashboards to match your needs. While the customization options are limited, you can still create professional visualizations that effectively communicate your energy data.Available customization options
Timeseries chart customization
Customize timeseries charts using ECharts options.color: Array of colors for chart elementsgrid: Grid configuration (show, borderColor, backgroundColor)tooltip: Tooltip configuration (show, trigger, backgroundColor, borderColor)legend: Legend configuration (show, position, textStyle)
Predefined themes
For quick styling, you can use predefined themes instead of custom ECharts options:wind_light: Light theme optimized for wind energy datawind_dark: Dark theme optimized for wind energy datasolar_light: Light theme optimized for solar energy datasolar_dark: Dark theme optimized for solar energy data
Map styling
Customize map appearance by selecting different map styles.mapbox://styles/mapbox/streets-v12- Street viewmapbox://styles/mapbox/outdoors-v12- Outdoor viewmapbox://styles/mapbox/light-v11- Light thememapbox://styles/mapbox/dark-v11- Dark thememapbox://styles/mapbox/satellite-v9- Satellite viewmapbox://styles/mapbox/satellite-streets-v12- Satellite with streets
Layer styling
Customize layer appearance using DeckGL properties.getFillColor: Fill color for points/polygonsgetLineColor: Border color for points/polygonsgetRadius: Size of pointsopacity: Transparency level (0-1)lineWidthMinPixels: Border widthradiusScale: Scale factor for point sizesradiusMinPixels/radiusMaxPixels: Size constraints
UI configuration for layers
Add interactive controls for layer properties.slider: Numeric slider with range [min, max] valuescolorScheme: Color picker for color propertiesdataColumn: Data-driven property selectiontoggle: Boolean on/off controldropdown: Selection from predefined options
controls: Dictionary of control configurationsproperty: Target DeckGL property nametype: Control type (slider, colorScheme, etc.)default: Default value for the controlrange: Min/max values for slider type [min, max]options: Available options for dropdown/colorScheme typeslabel: Display label for the control
Customization examples
Energy monitoring dashboard
Weather visualization
Important limitations
- No custom CSS: Custom CSS injection is not implemented
- No custom JavaScript: Custom JavaScript injection is not implemented
- Limited UI controls: Only basic layer controls (slider, colorScheme, toggle, dropdown) are available
- No responsive breakpoints: Only single layout configuration is supported
- No custom components: Only predefined component types are available
- Limited chart customization: Only basic ECharts options are supported
- Limited map customization: Only map style selection is available
- No global controls: Dashboard-level controls are not implemented
- No animation controls: Chart animations cannot be customized
Best practices
Design consistency
- Use consistent colors across your visualizations
- Choose appropriate map styles for your data
- Use clear, readable labels and titles
- Maintain visual hierarchy in your charts
Performance optimization
- Use appropriate layer sizes and opacity levels
- Limit the number of data points in charts
- Choose efficient map styles for your use case
- Test dashboard performance with your actual data
User experience
- Use descriptive component names
- Provide clear axis labels and units
- Choose appropriate color schemes for your data
- Test your customizations with real data
Accessibility
- Ensure sufficient color contrast in your charts
- Use clear, readable fonts and sizes
- Provide descriptive titles and labels
- Test with different screen sizes