()
| 24 | return result; |
| 25 | }, |
| 26 | initEarth () { |
| 27 | Vue.component(`x-lineAndScatterEarth`, { |
| 28 | props: { |
| 29 | option: { |
| 30 | type: Object, |
| 31 | default: () => { |
| 32 | return {}; |
| 33 | }, |
| 34 | }, |
| 35 | id: { |
| 36 | type: String, |
| 37 | default: '' |
| 38 | } |
| 39 | }, |
| 40 | watch: { |
| 41 | option: { |
| 42 | handler () { |
| 43 | this.initChart() |
| 44 | }, |
| 45 | } |
| 46 | }, |
| 47 | data () { |
| 48 | return { |
| 49 | myChart: null, |
| 50 | chartOption: { |
| 51 | globe: { |
| 52 | environment: `${vm.staticUrl}/image/scatterEarth/star.jpg`, |
| 53 | heightTexture: `${vm.staticUrl}/image/scatterEarth/bathymetry_bw_composite_4k.jpg`, |
| 54 | displacementScale: 0.05, |
| 55 | displacementQuality: 'high', |
| 56 | baseColor: '#000', |
| 57 | shading: 'realistic', |
| 58 | realisticMaterial: { |
| 59 | roughness: 0.2, |
| 60 | metalness: 0 |
| 61 | }, |
| 62 | |
| 63 | postEffect: { |
| 64 | enable: true, |
| 65 | |
| 66 | }, |
| 67 | temporalSuperSampling: { |
| 68 | enable: true |
| 69 | }, |
| 70 | light: { |
| 71 | ambient: { |
| 72 | intensity: 0 |
| 73 | }, |
| 74 | main: { |
| 75 | intensity: 0.1, |
| 76 | shadow: false |
| 77 | }, |
| 78 | }, |
| 79 | }, |
| 80 | } |
| 81 | } |
| 82 | }, |
| 83 | mounted () { |
nothing calls this directly
no outgoing calls
no test coverage detected