Closed lukasberbuer closed 1 year ago
The schema of your theme file is incorrect. See https://stackblitz.com/edit/vue-echarts-vue-3-pvbxlz?file=src%2Ftheme.json
Thanks for the fast solution @Justineo! I was using the ECharts theme builder: https://echarts.apache.org/en/theme-builder.html Do you know why the exported themes have incompatible schemas?
Edit: Ok, it's just the property theme of the exported JSON 😄
Ok, it's just the property theme of the exported JSON 😄
Yes and I don't know why the theme builder does not produce the actual theme object...
Confirmation
How are you introducing Vue-ECharts into your project?
<script>
tagVersions
Details
I try to load a custom theme, register it and use it by specifying the
theme
attribute, but the theme isn't applied. Default themes like "dark" work out of the box.Reproduction
https://stackblitz.com/edit/vue-echarts-vue-3-rhh8ph?file=src%2FApp.vue