Chartwerk Line Pod
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.

24 lines
480 B

3 years ago
import { CoreSeries } from '@chartwerk/core';
import { LineTimeSerie } from '../types';
3 years ago
const LINE_SERIE_DEFAULTS = {
maxLength: undefined,
renderDots: false,
renderLines: true,
dashArray: '0',
class: '',
renderArea: false,
};
export class LineSeries extends CoreSeries<LineTimeSerie> {
constructor(series: LineTimeSerie[]) {
super(series);
}
protected get defaults(): LineTimeSerie {
3 years ago
return { ...this._coreDefaults, ...LINE_SERIE_DEFAULTS };
3 years ago
}
}