Skip to content

charton API


charton API / @chart-on/core / index / createStaticDataSource

Function: createStaticDataSource() ​

createStaticDataSource(options): DataSource

Defined in: packages/core/src/data/adapters.ts:36

In-memory history (e.g. parsed CSV files); no live updates. Bars are only sorted, not filtered, so the chart drops invalid and duplicate ones itself and reports them through data:dropped.

Parameters ​

options ​

StaticDataSourceOptions

Returns ​

DataSource