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 2024/09/09 06:50:52 UTC

(echarts) branch feat-custom-series created (now 1f6b148e2)

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

ovilia pushed a change to branch feat-custom-series
in repository https://gitbox.apache.org/repos/asf/echarts.git


      at 1f6b148e2 feat(custom): use installer for resuable custom series

This branch includes the following new commits:

     new 1f6b148e2 feat(custom): use installer for resuable custom series

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: feat(custom): use installer for resuable custom series

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch feat-custom-series
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 1f6b148e29b70e96910960a7f4cd77a41f499a02
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Sep 9 14:50:17 2024 +0800

    feat(custom): use installer for resuable custom series
---
 src/extension.ts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/extension.ts b/src/extension.ts
index a04ef54e9..d9794d2c2 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -41,6 +41,8 @@ import { Constructor } from './util/clazz';
 import { SubTypeDefaulter } from './util/component';
 import { registerImpl } from './core/impl';
 import { registerPainter } from 'zrender/src/zrender';
+import { CustomSeriesRenderItem } from './chart/custom/CustomSeries';
+import { registerCustomSeries } from './chart/custom/customSeriesRegister';
 
 const extensions: (EChartsExtensionInstaller | EChartsExtension)[] = [];
 
@@ -78,6 +80,9 @@ const extensionRegisters = {
     registerChartView(ChartViewClass: typeof ChartView) {
         ChartView.registerClass(ChartViewClass);
     },
+    registerCustomSeries(seriesType: string, renderItem: CustomSeriesRenderItem) {
+        registerCustomSeries(seriesType, renderItem);
+    },
     registerSubTypeDefaulter(componentType: string, defaulter: SubTypeDefaulter) {
         ComponentModel.registerSubTypeDefaulter(componentType, defaulter);
     },


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