You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2025/08/11 17:47:50 UTC

(echarts) 01/01: fix(chord): add missing export entry for chord chart

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix/chord/export-entry
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 89065c09431fe0d70bcbb8f4d04dd4cf923354fb
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Aug 12 01:47:00 2025 +0800

    fix(chord): add missing export entry for chord chart
---
 package.json       |  1 +
 src/chart/chord.ts | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/package.json b/package.json
index d4bf0725f..125658108 100644
--- a/package.json
+++ b/package.json
@@ -160,6 +160,7 @@
     "./lib/chart/bar": "./lib/chart/bar.js",
     "./lib/chart/boxplot": "./lib/chart/boxplot.js",
     "./lib/chart/candlestick": "./lib/chart/candlestick.js",
+    "./lib/chart/chord": "./lib/chart/chord.js",
     "./lib/chart/custom": "./lib/chart/custom.js",
     "./lib/chart/effectScatter": "./lib/chart/effectScatter.js",
     "./lib/chart/funnel": "./lib/chart/funnel.js",
diff --git a/src/chart/chord.ts b/src/chart/chord.ts
new file mode 100644
index 000000000..0f68ed5ed
--- /dev/null
+++ b/src/chart/chord.ts
@@ -0,0 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+import { use } from '../extension';
+import { install } from './chord/install';
+
+use(install);
+


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org