sea-chart 1.1.2 → 1.1.3

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.
@@ -223,8 +223,7 @@ class Compare extends ChartComponent {
223
223
  style: {
224
224
  fontSize: BaseUtils.getLabelFontSize(label_font_size),
225
225
  fill: theme.labelColor,
226
- stroke: '#fff',
227
- lineWidth: 1
226
+ ...this.labelStroke
228
227
  }
229
228
  };
230
229
  }).color(increase_line_color || '#fbd44a').animate({
@@ -180,7 +180,7 @@ export default function Map(props) {
180
180
  // TODO
181
181
  // use data_color temporarily
182
182
  fill: data_color,
183
- ...this.labelStroke
183
+ stroke: '#fff'
184
184
  },
185
185
  align: legendDirection === 'vertical' ? 'right' : 'bottom',
186
186
  formatter: value => {
@@ -213,7 +213,7 @@ function WorldMap(props) {
213
213
  spacing: 2,
214
214
  style: {
215
215
  fill: themeColors.textColor,
216
- ...this.labelStroke
216
+ stroke: '#fff'
217
217
  },
218
218
  align: legendDirection === 'vertical' ? 'right' : 'bottom',
219
219
  formatter: value => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",