@@ -33,7 +33,7 @@ export default {
this.initChart();
});
-
+
},
beforeDestroy() {
if (this.chart) {
@@ -116,6 +116,7 @@ export default {
yAxis: [
{
// type: "category",
+ inverse: true,//数据倒置
data: xAxisData,
axisTick: {
show: false, // 隐藏刻度线
@@ -203,4 +204,4 @@ export default {
};
-</script>
+</script>