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.
23 lines
683 B
23 lines
683 B
import { Serie, Options } from '@chartwerk/core'; |
|
|
|
type LineTimeSerieParams = { |
|
maxLength: number, |
|
renderDots: boolean, |
|
renderLines: boolean, // TODO: refactor same as scatter-pod |
|
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 type LineTimeSerie = Serie & Partial<LineTimeSerieParams>; |
|
export type LineOptions = Options; |
|
|
|
export type MouseObj = { |
|
x: number, |
|
y: number, |
|
xVal: number, |
|
yVal: number, |
|
series: { value: [number, number], color: string, label: string }[], |
|
chartX: number, |
|
chartWidth: number |
|
} |