You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2025/06/19 10:51:02 UTC
(echarts) branch fix-marker created (now ca03ff8e7)
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a change to branch fix-marker
in repository https://gitbox.apache.org/repos/asf/echarts.git
at ca03ff8e7 fix(marker): overwrite value only if type is not defined
This branch includes the following new commits:
new ca03ff8e7 fix(marker): overwrite value only if type is not defined
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
(echarts) 01/01: fix(marker): overwrite value only if type is not defined
Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch fix-marker
in repository https://gitbox.apache.org/repos/asf/echarts.git
commit ca03ff8e702b06127922044f480b6490f395f6a6
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu Jun 19 18:50:31 2025 +0800
fix(marker): overwrite value only if type is not defined
---
src/component/marker/markerHelper.ts | 2 +-
test/markPoint-stock.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/component/marker/markerHelper.ts b/src/component/marker/markerHelper.ts
index 37ce88eed..339bcc567 100644
--- a/src/component/marker/markerHelper.ts
+++ b/src/component/marker/markerHelper.ts
@@ -154,7 +154,7 @@ export function dataTransform(
if (item.coord == null || !isArray(dims)) {
item.coord = [];
const baseAxis = seriesModel.getBaseAxis();
- if (baseAxis) {
+ if (baseAxis && item.type && markerTypeCalculator[item.type]) {
const otherAxis = coordSys.getOtherAxis(baseAxis);
if (otherAxis) {
item.value = numCalculate(data, data.mapDimension(otherAxis.dim), item.type);
diff --git a/test/markPoint-stock.html b/test/markPoint-stock.html
index c21cc59f8..d650d62d2 100644
--- a/test/markPoint-stock.html
+++ b/test/markPoint-stock.html
@@ -99,6 +99,7 @@ under the License.
data,
showSymbol: false,
markPoint: {
+ silent: true,
symbol: 'circle',
symbolSize: 0,
label: {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org