|
|
|
@ -4,9 +4,14 @@ export default function histogram(dx = [], ds = [], data = [], color1 = '', dire
|
|
|
|
|
return {
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: 'axis',
|
|
|
|
|
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
|
|
|
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
|
|
|
backgroundColor: "#08182F",
|
|
|
|
|
color: "#fff",
|
|
|
|
|
borderColor: "#3373CC",
|
|
|
|
|
textStyle: {
|
|
|
|
|
color: "#fff", //设置文字颜色
|
|
|
|
|
fontSize: 9
|
|
|
|
|
},
|
|
|
|
|
extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;",
|
|
|
|
|
confine: true
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|