@easyv/config 1.2.19 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/highlight.js +526 -0
- package/lib/index.js +7 -0
- package/lib/legend.js +4 -4
- package/lib/series.js +46 -36
- package/lib/tooltip.js +17 -0
- package/package.json +1 -1
- package/src/highlight.js +494 -0
- package/src/index.js +4 -1
- package/src/legend.js +2 -2
- package/src/series.js +47 -40
- package/src/tooltip.js +14 -1
package/src/tooltip.js
CHANGED
|
@@ -66,7 +66,7 @@ const defaultTooltip = {
|
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
|
-
indicator: { width: 12, color: 'RGBA(255,255,255,0.3)' },
|
|
69
|
+
indicator: { zIndex:"bottom", width: 12, color: 'RGBA(255,255,255,0.3)' },
|
|
70
70
|
};
|
|
71
71
|
export default ({
|
|
72
72
|
auto = defaultTooltip.auto,
|
|
@@ -143,6 +143,7 @@ export default ({
|
|
|
143
143
|
} = defaultTooltip.tip.data,
|
|
144
144
|
} = defaultTooltip.tip,
|
|
145
145
|
indicator: {
|
|
146
|
+
zIndex = defaultTooltip.indicator.zIndex,
|
|
146
147
|
width = defaultTooltip.indicator.width,
|
|
147
148
|
color = defaultTooltip.indicator.color,
|
|
148
149
|
} = defaultTooltip.indicator,
|
|
@@ -467,6 +468,18 @@ export default ({
|
|
|
467
468
|
name: 'indicator',
|
|
468
469
|
displayName: '指示器',
|
|
469
470
|
value: [
|
|
471
|
+
{
|
|
472
|
+
name: 'zIndex',
|
|
473
|
+
displayName: '层级',
|
|
474
|
+
value: zIndex,
|
|
475
|
+
type: 'radio',
|
|
476
|
+
config: {
|
|
477
|
+
options:[
|
|
478
|
+
{ name:"顶层", value:"top" },
|
|
479
|
+
{ name:"底层", value:"bottom" }
|
|
480
|
+
],
|
|
481
|
+
},
|
|
482
|
+
},
|
|
470
483
|
{
|
|
471
484
|
name: 'width',
|
|
472
485
|
displayName: '粗细',
|