From 89065c09431fe0d70bcbb8f4d04dd4cf923354fb Mon Sep 17 00:00:00 2001 From: plainheart Date: Tue, 12 Aug 2025 01:47:00 +0800 Subject: [PATCH] fix(chord): add missing export entry for chord chart --- package.json | 1 + src/chart/chord.ts | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/chart/chord.ts diff --git a/package.json b/package.json index d4bf0725f0..1256581087 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 0000000000..0f68ed5ed8 --- /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); +