Echarts drawing problem

there are problems in drawing histograms with echarts

draw a bar chart with echarts. The configuration items are as follows:

{"title": {"text": "usage Chart", "textStyle": {"fontWeight": 400, "fontSize": 14}}, "legend": {"data": ["all", "Audio", "Standard definition Video", "HD Video", "Ultra definition Video"], "y": "bottom", "tooltip": {"show": true}, "color": ["- sharp2c80ff", "- sharp000", "- sharpe2431e", "- sharp00FF00" "toolbox": {"right": 40, "feature": {"magicType": {"type": ["bar", "line"]}, "saveAsImage": {"name": "usage"}, "restore": {}, "tooltip": {"trigger": "axis"}, "xAxis": {"type": "category", "data": ["2018-08-10", "2018-08-11", "2018-08-12", "2018-08-13" "2018-08-15", "2018-08-16"]}, "yAxis": {"type": "value", "scale": true, "splitLine": {"show": true}}, "graphic": [{"type": "line"}, {"type": "ring"}], "series": [{"name": "all", "type": "bar", "data": [6meme1210]}, {"name": "Audio", "type": "bar", "data": [[0Power0], [1d0], [2re0], [3re0], [4jing0], [5jing0], [6jin0]}, {"name": "Standard definition Video", "type": "bar", "data": [[0mem18227], [1mem0], [2mem0], [3jin0] "type": "bar", "data": [[0rect 0], [1d0], [2je 0], [3je 0], [4jue 0], [5je 0], [6jue 0]}, {"name": "Ultra clear Video", "type": "bar", "data": [[0mem0], [1mem0], [2mem0], [3jin0], [4L0], [5L0], [6pr]

the chart drawn is as follows:

clipboard.png

reactstatestateecharts

:

{"title":{"text":"","textStyle":{"fontWeight":400,"fontSize":14}},"legend":{"data":[""],"y":"bottom","tooltip":{"show":true}},"color":["-sharp2c80ff"],"toolbox":{"right":40,"feature":{"magicType":{"type":["bar","line"]},"saveAsImage":{"name":"usage"},"restore":{}}},"tooltip":{"trigger":"axis"},"xAxis":{"type":"category","data":["2018-08-10","2018-08-11","2018-08-12","2018-08-13","2018-08-14","2018-08-15","2018-08-16"]},"yAxis":{"type":"value","scale":true,"splitLine":{"show":true}},"graphic":[{"type":"line"},{"type":"ring"}],"series":[{"name":"","type":"bar","data":[[0,0],[1,0],[2,0],[3,0],[4,0],[5,0],[6,0]]}]}

datay0:

clipboard.png

echartshttp://gallery.echartsjs.com/...:

clipboard.png

has any of the students encountered this problem? Is it because the tag (legend) of the legend component cannot be modified? Trouble to know the students to help guide, thank you!

Apr.11,2021

you data misspelled series: [{data [0pje 1pjin2 3jingmei 4p5p6], {.}]


has found the problem and solved it. It has an incomplete refresh problem. There will be no problem if you use the clear () api to clear it before the next redraw.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfbd3c-322b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfbd3c-322b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?