tvcharts 0.8.53 → 0.8.55

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/dist/echarts.js CHANGED
@@ -58748,7 +58748,10 @@ function getFontSize2(size, barWidth) {
58748
58748
  return charFontSizeMapping[size] || getFontSizeByBarWidth(barWidth);
58749
58749
  }
58750
58750
  function getDistance(location, fontSize) {
58751
- if (location === "abovebar" || location === "bottom" || location === "absolute") {
58751
+ if (location === "absolute") {
58752
+ return 0;
58753
+ }
58754
+ if (location === "abovebar" || location === "bottom") {
58752
58755
  return -fontSize;
58753
58756
  } else {
58754
58757
  return fontSize;
@@ -59166,6 +59169,8 @@ function optimalCandlestickWidth(barSpacing, pixelRatio) {
59166
59169
  const barSpacingSpecialCaseCoeff = 3;
59167
59170
  if (barSpacing >= barSpacingSpecialCaseFrom && barSpacing <= barSpacingSpecialCaseTo) {
59168
59171
  return Math.floor(barSpacingSpecialCaseCoeff * pixelRatio);
59172
+ } else if (barSpacing > barSpacingSpecialCaseTo && barSpacing <= 7.5) {
59173
+ return Math.floor(Math.max(barSpacing * 0.72, 1));
59169
59174
  }
59170
59175
  const barSpacingReducingCoeff = 0.2;
59171
59176
  const coeff = 1 - barSpacingReducingCoeff * Math.atan(Math.max(barSpacingSpecialCaseTo, barSpacing) - barSpacingSpecialCaseTo) / (Math.PI * 0.5);
@@ -65131,7 +65136,6 @@ var CartesianAxisPointer = class extends BaseAxisPointer_default {
65131
65136
  const pixelValue = axis.toGlobalCoord(axis.dataToCoord(value, true));
65132
65137
  if (axisPointerType && axisPointerType !== "none") {
65133
65138
  const elStyle = buildElStyle(axisPointerModel);
65134
- console.log("%c [ elStyle ]-53", "font-size:13px; background:pink; color:#bf2c9f;", elStyle, axisPointerModel);
65135
65139
  const pointerOption = pointerShapeBuilder[axisPointerType](axis, pixelValue, otherExtent);
65136
65140
  pointerOption.style = elStyle;
65137
65141
  elOption.graphicKey = pointerOption.type;
@@ -72904,7 +72908,7 @@ var TableModel2 = class extends Component_default {
72904
72908
  return newTable;
72905
72909
  }).filter((item) => !item.isDelete);
72906
72910
  each(newTableById, function(table) {
72907
- if (table) {
72911
+ if (table && !table.isDelete) {
72908
72912
  this.option.tables.push(table);
72909
72913
  }
72910
72914
  }, this);