up

parent d28b3ca0
...@@ -40,8 +40,6 @@ class App extends Component { ...@@ -40,8 +40,6 @@ class App extends Component {
var mintime=moment(data.result.AxisX.BlockTime/1000000) var mintime=moment(data.result.AxisX.BlockTime/1000000)
// console.log(mintime,'mintime')
// console.log(mintime.unix()*1000000000,'最小值')
var markline=data.result.AxisX.TopAxisX.map(item=>{ var markline=data.result.AxisX.TopAxisX.map(item=>{
return [ return [
...@@ -297,26 +295,26 @@ class App extends Component { ...@@ -297,26 +295,26 @@ class App extends Component {
} }
}, },
// dataZoom: [ dataZoom: [
// { {
// // height:20, // height:20,
// type: "slider", type: "slider",
// show: true, show: true,
// xAxisIndex: [0], xAxisIndex: [0],
// left: '5%', left: '5%',
// bottom:-1, bottom:-1,
// start: 0, start: 0,
// end: 80 end: 80
// }, },
// { {
// type: "inside", // 支持内部鼠标滚动平移 type: "inside", // 支持内部鼠标滚动平移
// start: 0, start: 0,
// end: 5, end: 5,
// zoomOnMouseWheel: false, // 关闭滚轮缩放 zoomOnMouseWheel: false, // 关闭滚轮缩放
// moveOnMouseWheel: true, // 开启滚轮平移 moveOnMouseWheel: true, // 开启滚轮平移
// moveOnMouseMove: true // 鼠标移动能触发数据窗口平移 moveOnMouseMove: true // 鼠标移动能触发数据窗口平移
// } }
// ], ],
toolbox: { toolbox: {
feature: { feature: {
dataZoom: {} dataZoom: {}
......
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