tvcharts 0.6.88 → 0.6.90
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
|
@@ -57717,7 +57717,7 @@ function getYByLocation(seriesModel) {
|
|
|
57717
57717
|
const scale4 = yAxis.scale;
|
|
57718
57718
|
const [, end2] = yAxis.getExtent();
|
|
57719
57719
|
const [boundaryGapX, boundaryGapY] = scale4.rawExtentInfo.getBoundaryGapInner();
|
|
57720
|
-
return Math.floor(location === "top" ? end2 * boundaryGapX
|
|
57720
|
+
return Math.floor(location === "top" ? end2 * boundaryGapX : end2 * (1 - boundaryGapY));
|
|
57721
57721
|
}
|
|
57722
57722
|
var CharPlotLayout = {
|
|
57723
57723
|
seriesType: "charPlot",
|
|
@@ -57742,7 +57742,7 @@ var CharPlotLayout = {
|
|
|
57742
57742
|
const xOffset = seriesModel.get("offset") || 0;
|
|
57743
57743
|
const char = seriesModel.get("char");
|
|
57744
57744
|
const text = seriesModel.get("text");
|
|
57745
|
-
const price = getYByLocation(seriesModel);
|
|
57745
|
+
const price = getYByLocation(seriesModel) + distance2;
|
|
57746
57746
|
const showLast = seriesModel.get("showLast");
|
|
57747
57747
|
return {
|
|
57748
57748
|
progress(params, charPlotData) {
|
|
@@ -59548,7 +59548,7 @@ var fillsLayout = {
|
|
|
59548
59548
|
const p2 = store.get(dimIdP2, 0);
|
|
59549
59549
|
const y1 = coordSys.dataToPoint([0, p1])[1];
|
|
59550
59550
|
const y2 = coordSys.dataToPoint([0, p2])[1];
|
|
59551
|
-
const color2 = fillsData.getItemModel(0)
|
|
59551
|
+
const color2 = getKey(fillsData.getItemModel(0));
|
|
59552
59552
|
const point1 = [x1, y1];
|
|
59553
59553
|
const point2 = [x2, y1];
|
|
59554
59554
|
const point3 = [x2, y2];
|
|
@@ -68015,9 +68015,11 @@ function installDataZoomAction(registers) {
|
|
|
68015
68015
|
const startValue = modal.get("startValue");
|
|
68016
68016
|
const endValue = modal.get("endValue");
|
|
68017
68017
|
const diff = (endValue - startValue) * payload.scale;
|
|
68018
|
+
const newStartValue = startValue + diff;
|
|
68019
|
+
const newEndValue = endValue - diff;
|
|
68018
68020
|
modal.setRawRange({
|
|
68019
|
-
startValue:
|
|
68020
|
-
endValue:
|
|
68021
|
+
startValue: Math.min(newStartValue, newEndValue),
|
|
68022
|
+
endValue: Math.max(newStartValue, newEndValue)
|
|
68021
68023
|
});
|
|
68022
68024
|
});
|
|
68023
68025
|
}
|
|
@@ -71545,7 +71547,7 @@ var TableView2 = class extends Component_default2 {
|
|
|
71545
71547
|
if (!cellItem) {
|
|
71546
71548
|
return;
|
|
71547
71549
|
}
|
|
71548
|
-
const {column, row, text, width: width2, height: height2, text_size, text_font_family} = cellItem;
|
|
71550
|
+
const {column, row, text, width: width2, height: height2, text_size, text_font_family = DefaultFamily} = cellItem;
|
|
71549
71551
|
const mergeCell = margeCellByKey[row + ":" + column];
|
|
71550
71552
|
const fontSize = getSymbolLabelFontSize(text_size);
|
|
71551
71553
|
const font = getFont({
|
|
@@ -71621,7 +71623,7 @@ var TableView2 = class extends Component_default2 {
|
|
|
71621
71623
|
row,
|
|
71622
71624
|
text,
|
|
71623
71625
|
text_size,
|
|
71624
|
-
text_font_family,
|
|
71626
|
+
text_font_family = DefaultFamily,
|
|
71625
71627
|
text_halign,
|
|
71626
71628
|
text_color,
|
|
71627
71629
|
bgcolor: bgcolor2,
|