echarts图表tooltip样式修改
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 155 B |
|
@ -1,6 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" width="30" height="30" style="border-color: rgba(0,0,0,0);border-width: bpx;border-style: undefined" filter="none">
|
||||
|
||||
<g>
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="rgba(2.04,205.02,230.01000000000002,1)"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 102 KiB |
|
@ -238,6 +238,11 @@ export let ratedChart = {
|
|||
//悬浮框
|
||||
show: true, // 是否显示
|
||||
trigger: "item", //
|
||||
extraCssText: "max-height: 20px;",
|
||||
position: function (point, params, dom, rect, size) {
|
||||
// 您可以在此自定义 Tooltip 的位置
|
||||
return [point[0], "10%"];
|
||||
},
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
|
@ -391,7 +396,11 @@ export let stopChart = {
|
|||
tooltip: {
|
||||
//悬浮框
|
||||
show: true, // 是否显示
|
||||
// trigger: "item", //
|
||||
extraCssText: "max-height: 20px;",
|
||||
position: function (point, params, dom, rect, size) {
|
||||
// 您可以在此自定义 Tooltip 的位置
|
||||
return [point[0], "10%"];
|
||||
},
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
|
|