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
echarts 4 堆叠图(条形堆叠/柱状堆叠) 使用dataset在开启dataZoom和toolBox情况下渲染不正确 之前是4.0.1还是什么版本不太确定了,那个版本的堆叠是ok的,升级到4.0.2以后堆叠出问题了, 我尝试了升级4.0.4也是只渲染出X,Y轴,但是我把option里面toolBox和dataZoom屏蔽以后,堆叠图 就出来了,另外之前尝试用dataset去做阶梯瀑布图的时候堆叠的柱子也是展现有问题的,第一次提问有什么不规范的还请见谅
option = { "xAxis": [{ "type": "category", "name": "COLUMN_NAME", "gridIndex": 0 }], "yAxis": [{ "gridIndex": 0 }], "series": [{ "type": "bar", "stack": "COLUMN_NAME", "xAxisIndex": 0, "yAxisIndex": 0, "encode": { "x": "COLUMN_NAME", "y": "SUB_TYPE" } }, { "type": "bar", "stack": "COLUMN_NAME", "xAxisIndex": 0, "yAxisIndex": 0, "encode": { "x": "COLUMN_NAME", "y": "s1" } }], "brush": { "toolbox": ["rect", "polygon", "lineX", "lineY", "clear"], "throttleType": "debounce", "throttleDelay": 300 }, "toolbox": { "feature": { "saveAsImage": { "show": true }, "dataZoom": { "show": true } }, "show": true, "left": "40px" }, "axisPointer": { "show": false }, "tooltip": { "show": true }, "color": ["#44bd89", "#4db7c8", "#eaad56", "#9fbd74", "#82cda4", "#ff942b", "#17988d", "#4e6783", "#bababa", "#bed38b", "#3eadb5", "#f75700", "#8f5989"], "dataset": { "source": [ ["COLUMN_NAME", "SUB_TYPE", "s1"], ["column_name_0", 394, 394], ["column_name_1", 426.5, 426.5], ["column_name_2", 285, 285], ["column_name_3", 404, 404], ["column_name_4", 496.53846153846155, 496], ["column_name_5", 244, 244], ["column_name_6", 543, 543], ["column_name_7", 528, 528], ["column_name_8", 393, 393], ["column_name_9", 539, 539] ], "dimensions": ["COLUMN_NAME", "SUB_TYPE", "s1"] }, "grid": [{ "left": "2%", "top": "8%", "width": "90%", "height": "90%", "containLabel": true }], "dataZoom": [{ "type": "inside", "xAxisIndex": 0, "disabled": true }, { "type": "inside", "yAxisIndex": 0, "disabled": true }] }
The text was updated successfully, but these errors were encountered:
fix: dataStack work incorrectly with toolbox dataZoom apache#10972 ap…
16dd99d
…ache#8520 apache#7534 apache#10359 apache#8069 apache#7872 apache#7732 apache#7672
No branches or pull requests
One-line summary [问题简述]
echarts 4 堆叠图(条形堆叠/柱状堆叠) 使用dataset在开启dataZoom和toolBox情况下渲染不正确
之前是4.0.1还是什么版本不太确定了,那个版本的堆叠是ok的,升级到4.0.2以后堆叠出问题了,
我尝试了升级4.0.4也是只渲染出X,Y轴,但是我把option里面toolBox和dataZoom屏蔽以后,堆叠图
就出来了,另外之前尝试用dataset去做阶梯瀑布图的时候堆叠的柱子也是展现有问题的,第一次提问有什么不规范的还请见谅
Version & Environment [版本及环境]
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: