'缩放'

parent c38c0e78
Pipeline #528 failed with stages
...@@ -117,7 +117,6 @@ class App extends Component { ...@@ -117,7 +117,6 @@ class App extends Component {
normal:{ normal:{
borderWidth: 1, borderWidth: 1,
borderColor: '#333', borderColor: '#333',
color : 'pink'
} }
}, },
label: { label: {
...@@ -160,6 +159,7 @@ class App extends Component { ...@@ -160,6 +159,7 @@ class App extends Component {
{ {
type: 'value', type: 'value',
}], }],
yAxis: { yAxis: {
type: 'category', type: 'category',
data: this.state.AxisY, data: this.state.AxisY,
...@@ -176,9 +176,9 @@ class App extends Component { ...@@ -176,9 +176,9 @@ class App extends Component {
dataZoom: {} dataZoom: {}
} }
}, },
dataZoom: { // dataZoom: {
type: 'inside' // type: 'inside'
}, // },
series: series, series: series,
}; };
myChart.setOption(option); myChart.setOption(option);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment