You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { TimeSerie, Options } from '@chartwerk/core';
|
|
|
|
|
|
|
|
type LineTimeSerieParams = {
|
|
|
|
confidence: number,
|
|
|
|
mode: Mode,
|
|
|
|
maxLength: number,
|
|
|
|
renderDots: boolean,
|
|
|
|
renderLines: boolean, // TODO: refactor same as scatter-pod
|
|
|
|
useOutOfRange: boolean, // It's temporary hack. Need to refactor getValueInterval() method
|
|
|
|
dashArray: string; // dasharray attr, only for lines
|
|
|
|
class: string; // option to add custom class to each serie element
|
|
|
|
renderArea: boolean; // TODO: move to render type
|
|
|
|
}
|
|
|
|
export enum Mode {
|
|
|
|
STANDARD = 'Standard',
|
|
|
|
CHARGE = 'Charge'
|
|
|
|
}
|
|
|
|
export type LineTimeSerie = TimeSerie & Partial<LineTimeSerieParams>;
|
|
|
|
export type LineOptions = Options;
|