123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- var echarts = require("../../echarts");
- var _default = echarts.extendComponentModel({
- type: 'tooltip',
- dependencies: ['axisPointer'],
- defaultOption: {
- zlevel: 0,
- z: 60,
- show: true,
-
- showContent: true,
-
-
- trigger: 'item',
-
- triggerOn: 'mousemove|click',
- alwaysShowContent: false,
- displayMode: 'single',
-
- renderMode: 'auto',
-
-
-
-
-
-
-
-
-
-
- confine: false,
-
-
- showDelay: 0,
-
- hideDelay: 100,
-
- transitionDuration: 0.4,
- enterable: false,
-
- backgroundColor: 'rgba(50,50,50,0.7)',
-
- borderColor: '#333',
-
- borderRadius: 4,
-
- borderWidth: 0,
-
-
- padding: 5,
-
- extraCssText: '',
-
- axisPointer: {
-
-
- type: 'line',
-
-
-
-
- axis: 'auto',
- animation: 'auto',
- animationDurationUpdate: 200,
- animationEasingUpdate: 'exponentialOut',
- crossStyle: {
- color: '#999',
- width: 1,
- type: 'dashed',
-
- textStyle: {}
-
- }
- },
- textStyle: {
- color: '#fff',
- fontSize: 14
- }
- }
- });
- module.exports = _default;
|