pissang commented on issue #12489:
URL: 
https://github.com/apache/incubator-echarts/issues/12489#issuecomment-643185207


   Hi @linssen, sorry for the late reply.
   
   The configuration of the theme is very similar to the option. The only 
difference is series in theme is described in a map.
   
   For example:
   
   A typical option is : 
   ```js
   option = {
     series: [{
        type: 'bar',
        itemStyle: { color:  }
     }]
   }
   ```
   
   In theme, it needs to be:
   ```js
   theme = {
     bar: {
        itemStyle: { color:  }
     }
   }
   ```
   
   Besides this tiny difference, all the configurations in option can be 
described in theme, it will override the default value provided by echarts. 
Also, it can be override by the user option.
   
   PS: @Ovilia did a visual theme builder. But currently, the UI is still in 
Chinese. https://www.echartsjs.com/theme-builder/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to