fix(plugin-chart-echarts): render horizontal categories from top (#23273)

This commit is contained in:
Ville Brofeldt
2023-03-06 11:25:52 +02:00
committed by GitHub
parent 42980a69a7
commit 71a9d0d403
3 changed files with 165 additions and 0 deletions

View File

@@ -370,6 +370,7 @@ export default function transformProps(
if (isHorizontal) {
[xAxis, yAxis] = [yAxis, xAxis];
[padding.bottom, padding.left] = [padding.left, padding.bottom];
yAxis.inverse = true;
}
const echartOptions: EChartsCoreOption = {