@visactor/vchart 1.10.1 → 1.10.2-alpha.0

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/build/index.js CHANGED
@@ -52341,9 +52341,11 @@
52341
52341
  type: 'rect',
52342
52342
  visible: true,
52343
52343
  style: {
52344
+ lineWidth: 0,
52345
+ stroke: { type: 'palette', key: 'markLineStrokeColor' },
52344
52346
  fill: { type: 'palette', key: 'axisGridColor' },
52345
52347
  opacity: 0.7,
52346
- lineDash: []
52348
+ lineDash: [2, 3]
52347
52349
  }
52348
52350
  },
52349
52351
  label: getLabelSpec()
@@ -64186,7 +64188,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
64186
64188
  registerComponentPlugin(CanvasTooltipHandler);
64187
64189
  };
64188
64190
 
64189
- const version = "1.10.1";
64191
+ const version = "1.10.2-alpha.0";
64190
64192
 
64191
64193
  const addVChartProperty = (data, op) => {
64192
64194
  const context = op.beforeCall();
@@ -74438,6 +74440,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
74438
74440
  disappear: radarGroupClipAnimation(params, 'out')
74439
74441
  };
74440
74442
  });
74443
+ registerArc();
74441
74444
  };
74442
74445
 
74443
74446
  class RadarSeries extends RoseLikeSeries {
@@ -89835,13 +89838,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
89835
89838
  }
89836
89839
  else {
89837
89840
  const style = line.style || {};
89838
- const _d = style, { strokeOpacity, fillOpacity, opacity, stroke, fill, lineWidth } = _d, restStyle = __rest$7(_d, ["strokeOpacity", "fillOpacity", "opacity", "stroke", "fill", "lineWidth"]);
89841
+ const { stroke, fill, lineWidth } = style;
89839
89842
  const isLineType = hair.type === 'line';
89840
- let finalOpacity = isLineType ? strokeOpacity : fillOpacity;
89841
- if (isNumber$3(opacity)) {
89842
- finalOpacity = (finalOpacity !== null && finalOpacity !== void 0 ? finalOpacity : 1) * opacity;
89843
- }
89844
- hair.style = Object.assign({ opacity: finalOpacity, pickable: false, visible: true }, restStyle);
89843
+ hair.style = Object.assign({ pickable: false, visible: true }, style);
89845
89844
  if (isLineType) {
89846
89845
  hair.style.stroke = stroke || fill;
89847
89846
  hair.style.lineWidth = get$1(line, 'width', lineWidth || 2);
@@ -89864,7 +89863,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
89864
89863
  if (!!label.visible) {
89865
89864
  const labelBackground = label.labelBackground || {};
89866
89865
  const labelStyle = label.style || {};
89867
- const _e = labelBackground.style || {}, { fill: rectFill = 'rgba(47, 59, 82, 0.9)', stroke: rectStroke, outerBorder } = _e, rectStyle = __rest$7(_e, ["fill", "stroke", "outerBorder"]);
89866
+ const _d = labelBackground.style || {}, { fill: rectFill = 'rgba(47, 59, 82, 0.9)', stroke: rectStroke, outerBorder } = _d, rectStyle = __rest$7(_d, ["fill", "stroke", "outerBorder"]);
89868
89867
  hair.label = {
89869
89868
  visible: true,
89870
89869
  formatMethod: label.formatMethod,