@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?: IndicatorsModuleOptionsAs 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.