We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
数据如下,legend有2类,但2001仅有A类数据,2002仅有B类数据,时间点移动到2002年时,地图变为空白 option = { "timeline" : { "y2" : -10, "autoPlay" : true, "playInterval" : 3000, "data" : ["2001", "2002"] }, "options" : [{ "title" : { "text" : "2001", "x" : "center" }, "tooltip" : { "trigger" : "item" }, "legend" : { "orient" : "vertical", "x" : "80", "data" : ["A", "B"] }, "dataRange" : { "min" : 0, "calculable" : true, "x" : "left", "y" : "bottom", "text" : ["高", "低"], "color" : ["orangered", "yellow", "lightskyblue"], "max" : 28 }, "toolbox" : { "show" : false }, "series" : [{ "type" : "map", "mapType" : "china", "roam" : true, "itemStyle" : { "normal" : { "label" : { "show" : true } }, "emphasis" : { "label" : { "show" : true } } }, "name" : "B", "data" : [{ "name" : "北京", "value" : 1 }] }] }, { "title" : { "text" : "2002" }, "series" : [{ "name" : "A", "data" : [{ "name" : "江苏", "value" : 1 }] }] } ]}
The text was updated successfully, but these errors were encountered:
应该是个bug,尝试补全每一个option的数据,然后timeline.notMerge设置为true试试
Sorry, something went wrong.
2a7e7e2
No branches or pull requests
数据如下,legend有2类,但2001仅有A类数据,2002仅有B类数据,时间点移动到2002年时,地图变为空白
option = {
"timeline" : {
"y2" : -10,
"autoPlay" : true,
"playInterval" : 3000,
"data" : ["2001", "2002"]
},
"options" : [{
"title" : {
"text" : "2001",
"x" : "center"
},
"tooltip" : {
"trigger" : "item"
},
"legend" : {
"orient" : "vertical",
"x" : "80",
"data" : ["A", "B"]
},
"dataRange" : {
"min" : 0,
"calculable" : true,
"x" : "left",
"y" : "bottom",
"text" : ["高", "低"],
"color" : ["orangered", "yellow", "lightskyblue"],
"max" : 28
},
"toolbox" : {
"show" : false
},
"series" : [{
"type" : "map",
"mapType" : "china",
"roam" : true,
"itemStyle" : {
"normal" : {
"label" : {
"show" : true
}
},
"emphasis" : {
"label" : {
"show" : true
}
}
},
"name" : "B",
"data" : [{
"name" : "北京",
"value" : 1
}]
}]
}, {
"title" : {
"text" : "2002"
},
"series" : [{
"name" : "A",
"data" : [{
"name" : "江苏",
"value" : 1
}]
}]
}
]}
The text was updated successfully, but these errors were encountered: