下载主题
改变图表的外观。
除了我们提供的主题,您还可以制作自己的主题。
Apache EChartsTM
主题编辑器
制作一个自定义主题并将其用于您的图表。
使用主题的示例
<script src="echarts.js"></script> <!-- import vintage theme --> <script src="theme/vintage.js"></script> <script> // The second parameter is the name of the theme imported var chart = echarts.init(document.getElementById('main'), 'vintage'); chart.setOption({ ... }); </script>