Skip to main content

Understanding components

Components are the building blocks of your dashboards - they combine datasets, layers, and visualization logic into reusable, interactive elements. Think of them as the building blocks that you can mix and match to create your perfect energy monitoring dashboard.

Component types

Map components

The most versatile component type, combining map layers and weather layers into interactive visualizations.
Key features:
  • Combine multiple map and weather layers
  • Interactive pan and zoom
  • Customizable map styles
  • Real-time layer property updates

Timeseries components

Perfect for displaying time-based data with ECharts-powered visualizations.
Key features:
  • Single dataset per component
  • ECharts-powered visualizations
  • Customizable titles and labels
  • Optional custom ECharts configuration

Advanced component features

Custom ECharts configuration

Add custom ECharts options to your timeseries components:

Map component with weather layers

Combine map layers with weather data overlays:

Component management

Creating components

Updating components

Retrieving components

Deleting components

Important Limitations

  • Single dataset per timeseries component: Only one dataset can be displayed per timeseries component
  • No auto-refresh: Components do not automatically refresh data
  • No built-in interactions: Click handlers and custom interactions are not supported
  • Limited chart customization: Only basic ECharts options are supported
  • No data windows: Time range filtering is not supported at the component level

Component templates

Energy monitoring template

Weather analysis template

Best practices

Component design

  • Keep components focused on a single purpose
  • Use descriptive names and descriptions
  • Provide meaningful default configurations
  • Include proper error handling

Performance optimization

  • Use appropriate data filtering at the dataset level
  • Limit data points in timeseries charts
  • Optimize layer rendering for large datasets
  • Cache frequently accessed data

User experience

  • Provide clear visual feedback
  • Use consistent styling across components
  • Add helpful legends and labels
  • Test component performance with your actual data

Next steps

Now that you understand components, learn how to build dashboards:

Dashboards

Combine components into interactive dashboards.

Weather Integration

Add weather data to your components.

Customization

Customize component appearance and behavior.

API Reference

Explore all component endpoints and options.