去官方找到自己的主题
DIV部分
:options="echarts.task"
@click="rwtj"
:theme="echarts.theme"
>
</chart>
JS部分
引入主题
import themefrom '../../config/echarts-theme.json'
使用主题
echarts:{
theme: theme,
去官方找到自己的主题
DIV部分
:options="echarts.task"
@click="rwtj"
:theme="echarts.theme"
>
</chart>
JS部分
引入主题
import themefrom '../../config/echarts-theme.json'
使用主题
echarts:{
theme: theme,
本文标题:vue-Echarts更换主题
本文链接:https://www.haomeiwen.com/subject/wpkekctx.html
网友评论