tvcharts 0.8.63 → 0.8.64

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.
@@ -160,7 +160,7 @@ var linesPlotLayout = {
160
160
  if (isLarge && isGradient_1 && formatColor && rgbas) {
161
161
  if (prevIndex > -1 && i - prevIndex <= indexDistance) {
162
162
  var lastPointInfo = pointInfos[prevIndex];
163
- var isNearlyColor = isColorSimilarManhattan(lastPointInfo.rgbas, rgbas);
163
+ var isNearlyColor = lastPointInfo ? isColorSimilarManhattan(lastPointInfo.rgbas, rgbas) : false;
164
164
  if (isNearlyColor) {
165
165
  formatColor = lastPointInfo.color;
166
166
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tvcharts",
3
- "version": "0.8.63",
3
+ "version": "0.8.64",
4
4
  "description": "基于echarts5.5.0二次开发",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [