提交 1e4a250d 编写于 作者: V Vben

fix(abakysis): fix tooltip style,fix #436

上级 2e11ea67
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
setOptions({ setOptions({
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
backgroundColor: 'rgba(0, 0, 0, .6)',
axisPointer: { axisPointer: {
// 坐标轴指示器,坐标轴触发有效 // 坐标轴指示器,坐标轴触发有效
type: 'shadow', // 默认为直线,可选为:'line' | 'shadow' type: 'shadow', // 默认为直线,可选为:'line' | 'shadow'
......
...@@ -22,12 +22,10 @@ ...@@ -22,12 +22,10 @@
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
padding: 3, padding: 3,
backgroundColor: 'rgba(0, 0, 0, .6)',
borderColor: '#777', borderColor: '#777',
borderWidth: 1, borderWidth: 1,
}, },
legend: { legend: {
icon: 'rect',
itemWidth: 15, itemWidth: 15,
itemHeight: 4, itemHeight: 4,
left: 80, left: 80,
......
...@@ -41,10 +41,8 @@ ...@@ -41,10 +41,8 @@
], ],
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
backgroundColor: 'rgba(0, 0, 0, .6)',
}, },
legend: { legend: {
icon: 'circle',
itemHeight: 10, itemHeight: 10,
type: 'scroll', type: 'scroll',
orient: 'vertical', orient: 'vertical',
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
padding: 3, padding: 3,
backgroundColor: 'rgba(0, 0, 0, .6)',
borderColor: '#777', borderColor: '#777',
borderWidth: 1, borderWidth: 1,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册