Kumo Charts

@kumo-charts/core/chart-types

API リファレンスはソースコードのコメントから生成しており、英語のみです。

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

Functions

chartTypesfunctionソース

function chartTypes(types: readonly ChartType[] = []): ChartTypesModule

The chart types module, with the chart types given, such as chartTypes(allChartTypes) or chartTypes([heikinAshi, renko]): their transforms join chart.transforms, their series types chart.series.

Interfaces

ChartTypeinterfaceソース

interface ChartType

A chart type: how its bars are built from the bars of the timeframe (transform, set with chart.transforms.set()), how they are drawn (series, the main series' type), or both, as Kagi lines are.

readonly transform?: BarTransformDefinition
readonly series?: SeriesTypeDefinition<object>

Types

ChartTypesModuletypeソース

type ChartTypesModule = ChartModule

Adds nothing to the chart's API: its types join chart.transforms and chart.series.

PointFigureSourcetypeソース

type PointFigureSource = 'close' | 'hl'

What a point & figure chart is plotted from: the closes, or the highs and lows.

RenkoSourcetypeソース

type RenkoSource = 'close' | 'ohlc'

What Renko bricks are built from: the closes, or the open, high, low and close of each bar.

Variables

allChartTypesvariableソース

const allChartTypes: readonly ChartType[]

Every chart type of the library, for chartTypes(allChartTypes).

heikinAshivariableソース

const heikinAshi: ChartType

Heikin-Ashi candles, each from the average of its bar and the one before.

kagivariableソース

const kagi: ChartType

Kagi lines, thick where they pass the last shoulder and thin under the last waist.

lineBreakvariableソース

const lineBreak: ChartType

Line break: a line goes on until the closes break the lines before.

pointFigurevariableソース

const pointFigure: ChartType

Point & figure columns of X's and O's.

rangeBarsvariableソース

const rangeBars: ChartType

Range bars, each spanning the same range.

renkovariableソース

const renko: ChartType

Renko bricks on a grid of multiples of the box.

tickBarsvariableソース

const tickBars: ChartType

Bars of the same number of trades.

turnoverBarsvariableソース

const turnoverBars: ChartType

Bars of the same turnover.

volumeBarsvariableソース

const volumeBars: ChartType

Bars of the same volume.

volumeCandlesvariableソース

const volumeCandles: ChartType

Candles as wide as their volume.

↑↓ で選択 · Enter で開く · Esc で閉じる