docsify-echarts-plugin
v0.0.3
Published
> support to use echarts in docsify.
Downloads
9
Readme
docsify-echarts-plugin
support to use echarts in docsify.
install
<script>
window.$docsify = {
name: 'docsify-echarts-plugin',
repo: 'https://github.com/xiguaxigua/docsify-echarts-plugin',
loadSidebar: 'summary.md'
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/echarts@latest/dist/echarts.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-echarts-plugin/lib/index.min.js"></script>
start
set container
set events
set theme
or set global theme
window.$docsify = {
name: 'docsify-echarts-plugin',
repo: 'https://github.com/xiguaxigua/docsify-echarts-plugin',
loadSidebar: 'summary.md',
echartsTheme: {
categoryAxis: {
axisLine: { show: false },
axisTick: { show: false },
splitLine: { show: false }
},
valueAxis: { axisLine: { show: false } }
}
}