Open xu4wang opened 1 year ago
The issue seems to be resolved. Please test again. Make sure to include echarts
in the header i.e ```echarts
{
"xAxis": {
"type": "category",
"data": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
]
},
"yAxis": {
"type": "value"
},
"series": [
{
"data": [
150,
230,
224,
218,
135,
147,
260
],
"type": "line"
}
]
}
with version 0.0.7, it is not fixed on my logseq.
@xu4wang update to 0.0.9
I think I found some of the reason(s) that might also cause trouble to some - take a look at the first example from the official documentation:
option = {
xAxis: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {},
series: [
{
type: 'bar',
data: [23, 24, 18, 25, 27, 28, 25]
}
]
};
In Logseq the following cause issues:
option = {
must be removed, and so the ;
at the very end'
must be replaced with "
"
This way it is working, but the examples must be modified at least.
Below is an example.