File tree Expand file tree Collapse file tree 8 files changed +1
-19
lines changed Expand file tree Collapse file tree 8 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -874,8 +874,7 @@ export class BaseChart<T extends IChartSpec> extends CompilableBase implements I
874
874
} = { } ;
875
875
const checkVisibleComponents : Record < string , boolean > = {
876
876
[ ComponentTypeEnum . title ] : true ,
877
- [ ComponentTypeEnum . brush ] : true ,
878
- [ ComponentTypeEnum . mapLabel ] : true
877
+ [ ComponentTypeEnum . brush ] : true
879
878
} ;
880
879
881
880
this . _components . forEach ( c => {
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import type { IScrollBarTheme } from '../data-zoom/scroll-bar/interface';
6
6
import type { IIndicatorTheme } from '../indicator/interface' ;
7
7
import type { IDiscreteLegendTheme } from '../legend/discrete/interface' ;
8
8
import type { IColorLegendTheme , ISizeLegendTheme } from '../legend/continuous/interface' ;
9
- import type { IMapLabelTheme } from '../map-label/interface' ;
10
9
import type { IMarkAreaTheme } from '../marker/mark-area/interface' ;
11
10
import type { IMarkLineTheme } from '../marker/mark-line/interface' ;
12
11
import type { IMarkPointTheme } from '../marker/mark-point/interface' ;
@@ -114,10 +113,6 @@ export interface IComponentTheme {
114
113
* 图表标题配置
115
114
*/
116
115
[ ComponentTypeEnum . title ] ?: ITitleTheme ;
117
- /**
118
- * 地图标签配置
119
- */
120
- [ ComponentTypeEnum . mapLabel ] ?: IMapLabelTheme ;
121
116
/**
122
117
* 省略文本配置
123
118
*/
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export enum ComponentTypeEnum {
20
20
continuousLegend = 'continuousLegend' ,
21
21
colorLegend = 'colorLegend' ,
22
22
sizeLegend = 'sizeLegend' ,
23
- mapLabel = 'mapLabel' ,
24
23
markLine = 'markLine' ,
25
24
markArea = 'markArea' ,
26
25
markPoint = 'markPoint' ,
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ export type ComponentType =
69
69
| 'dataZoom'
70
70
| 'indicator'
71
71
| 'legend'
72
- | 'mapLabel'
73
72
| 'markLine'
74
73
| 'markArea'
75
74
| 'markPoint'
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import { registerTotalLabel } from './component/label/total-label';
52
52
import { registerMarkPoint , registerPolarMarkPoint , registerGeoMarkPoint } from './component/marker/mark-point' ;
53
53
import { registerBrush } from './component/brush' ;
54
54
import { registerCustomMark } from './component/custom-mark' ;
55
- import { registerMapLabel } from './component/map-label' ;
56
55
import { registerGridLayout } from './layout/grid-layout/grid-layout' ;
57
56
import { registerPoptip } from './component/poptip' ;
58
57
import { registerCanvasTooltipHandler } from './plugin/components/tooltip-handler' ;
@@ -132,12 +131,9 @@ export {
132
131
registerTotalLabel ,
133
132
registerBrush ,
134
133
registerCustomMark ,
135
- registerMapLabel ,
136
134
registerPoptip ,
137
-
138
135
// layout
139
136
registerGridLayout ,
140
-
141
137
// vgrammar interactions,
142
138
registerElementHighlight ,
143
139
registerElementSelect
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import { registerTotalLabel } from './component/label/total-label';
52
52
import { registerMarkPoint , registerPolarMarkPoint , registerGeoMarkPoint } from './component/marker/mark-point' ;
53
53
import { registerBrush } from './component/brush' ;
54
54
import { registerCustomMark } from './component/custom-mark' ;
55
- import { registerMapLabel } from './component/map-label' ;
56
55
import { registerGridLayout } from './layout/grid-layout/grid-layout' ;
57
56
import { registerPoptip } from './component/poptip' ;
58
57
import { registerCanvasTooltipHandler } from './plugin/components/tooltip-handler' ;
@@ -127,7 +126,6 @@ VChart.useRegisters([
127
126
registerTotalLabel ,
128
127
registerBrush ,
129
128
registerCustomMark ,
130
- registerMapLabel ,
131
129
registerPoptip ,
132
130
133
131
// layout
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import { registerTotalLabel } from './component/label/total-label';
52
52
import { registerMarkPoint , registerPolarMarkPoint , registerGeoMarkPoint } from './component/marker/mark-point' ;
53
53
import { registerBrush } from './component/brush' ;
54
54
import { registerCustomMark } from './component/custom-mark' ;
55
- import { registerMapLabel } from './component/map-label' ;
56
55
import { registerGridLayout } from './layout/grid-layout/grid-layout' ;
57
56
import { registerPoptip } from './component/poptip' ;
58
57
import { registerCanvasTooltipHandler } from './plugin/components/tooltip-handler' ;
@@ -126,7 +125,6 @@ VChart.useRegisters([
126
125
registerTotalLabel ,
127
126
registerBrush ,
128
127
registerCustomMark ,
129
- registerMapLabel ,
130
128
registerPoptip ,
131
129
132
130
// layout
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import { registerTotalLabel } from './component/label/total-label';
52
52
import { registerMarkPoint , registerPolarMarkPoint , registerGeoMarkPoint } from './component/marker/mark-point' ;
53
53
import { registerBrush } from './component/brush' ;
54
54
import { registerCustomMark } from './component/custom-mark' ;
55
- import { registerMapLabel } from './component/map-label' ;
56
55
import { registerGridLayout } from './layout/grid-layout/grid-layout' ;
57
56
import { registerPoptip } from './component/poptip' ;
58
57
import { registerCanvasTooltipHandler } from './plugin/components/tooltip-handler' ;
@@ -124,7 +123,6 @@ VChart.useRegisters([
124
123
registerTotalLabel ,
125
124
registerBrush ,
126
125
registerCustomMark ,
127
- registerMapLabel ,
128
126
registerPoptip ,
129
127
130
128
// layout
You can’t perform that action at this time.
0 commit comments