Styling

Adjust the styles of charts to match your theme's UI design.

On this page

Principle

All of ECharts have a class name called .echarts, moreover, there are some additional class names for indicating the state:

  1. initializing: the chart was initializing.
  2. initialized: the chart has been initialized.

Example

1.echarts {
2  margin: 2rem 0;
3}