Type
ChartWarning
A non-fatal problem. timeAxisMerged: times of series fell between bars
of the time axis, so count bars were inserted and the logical indices
after them moved. dataDropped: the data of series could not be moved
onto a rebuilt time axis (out of memory) and was cleared. ohlcRepaired
(not sent from JS, where invalid bars are rejected): count bars were
repaired. other: a kind added in a later version.
export type ChartWarning = {
kind: 'timeAxisMerged';
series: Series;
count: number;
} | {
kind: 'dataDropped';
series: Series;
} | {
kind: 'ohlcRepaired';
series: Series;
count: number;
} | {
kind: 'other';
};