feat: 增加宁德时代图表

This commit is contained in:
R524809
2026-09-21 17:45:21 +08:00
parent a15b3f8027
commit 3a3d19d5dd
24 changed files with 1903 additions and 5 deletions
+26
View File
@@ -46,6 +46,15 @@ import {
moutaiBaseWineVolumeChart, moutaiFlyingPriceChart, moutaiPriceAdjustmentChart,
moutaiTonPriceChart, moutaiDividendChart, moutaiDistributorsChart,
} from './moutai.js';
import {
peerInstallChart, peerUtilizationChart, peerShareChart,
peerGpPerWhChart, peerAspChart, peerMarginChart, peer2026h1Chart,
peerGpGapChart, peerGpChangeChart, catlUnitEconomicsChart, catlVolumeGpChart,
globalCrChart, globalTop10Chart, globalRegionShareChart,
} from './catl.js';
import {
sweetCatlPricePeChart, sweetCatlNetCashChart, sweetCatlAnyPriceChart,
} from './sweet_spot.js';
/** 图表构建函数注册表。manifest 只引用这里的 key,不直接引用 JS 函数。 */
export const chartRegistry = {
@@ -114,6 +123,23 @@ export const chartRegistry = {
'moutai-ton-price': moutaiTonPriceChart,
'moutai-dividend': moutaiDividendChart,
'moutai-distributors': moutaiDistributorsChart,
'catl-unit-economics': catlUnitEconomicsChart,
'catl-volume-gp': catlVolumeGpChart,
'peer-install': peerInstallChart,
'peer-utilization': peerUtilizationChart,
'peer-share': peerShareChart,
'peer-gp-per-wh': peerGpPerWhChart,
'peer-asp': peerAspChart,
'peer-margin': peerMarginChart,
'peer-2026h1': peer2026h1Chart,
'peer-gp-gap': peerGpGapChart,
'peer-gp-change': peerGpChangeChart,
'global-cr': globalCrChart,
'global-top10': globalTop10Chart,
'global-region-share': globalRegionShareChart,
'sweet-catl-price-pe': sweetCatlPricePeChart,
'sweet-catl-net-cash': sweetCatlNetCashChart,
'sweet-catl-any-price': sweetCatlAnyPriceChart,
};
export function getChartBuilder(key) {