Feature:
echarts-lite in your obsidian vault plugin folder({your obsidian vault path}/.obsidian/plugins/)BRAT: Plugins: Add a beta plugin for test to open the Community Plugin Manager.Add plugin button to install the plugin.echarts-lite plugin in Settings → Community plugins if it's not enabled automatically.```dataviewjs
const option = {
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
},
legend: {},
xAxis: {
type: "category",
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
yAxis: {
type: "value",
},
series: [
{
name: "name",
data: [150, 230, 224, 218, 135, 147, 260],
type: "bar",
}
]
}
app.plugins.plugins['echarts-lite'].api.render(option, this.container)
and the result will be like this:
