Kumo Charts

@kumo-charts/core/all

API 参考由源码注释生成,只有英文。

import { … } from '@kumo-charts/core/all';

Functions

allModulesfunction源码

function allModules(options: AllModulesOptions = {}): readonly [IndicatorsModule, DrawingsModule, ChartTypesModule, AlertsModule, OrdersModule, MarkersModule, ReplayModule, VolumeProfilesModule, WatermarkModule]

Every module of the library with everything in it: createChart(container, { modules: allModules() }) gives a chart with all its indicators, drawings (the fixed range volume profile among them), chart types, alerts, orders, markers, replay, volume profiles and the watermark.

Interfaces

AllModulesOptionsinterface源码

interface AllModulesOptions

What allModules() takes: what its modules take beside their types.

readonly indicators?: IndicatorsModuleOptions

As indicators() takes them, such as { texts: [indicatorTexts] }.

Types

AllEventMaptype源码

type AllEventMap = ChartEventMap & ModulesEvents<AllModules>

The events of a chart with every module: the core's and those of the modules.

AllModulestype源码

type AllModules = ReturnType<typeof allModules>

The modules of allModules, for Chart<AllModules>.

Variables

ALL_EVENTSvariable源码

const ALL_EVENTS: readonly (keyof ChartEventMap | keyof DrawingsEventMap | keyof AlertsEventMap | keyof OrdersEventMap | "replay")[]

The name of every event of the core and of the modules of the library, e.g. to forward them all as the components of the library for frameworks do. A chart emits those of the modules it has.

↑↓ 选择 · Enter 打开 · Esc 关闭