@wojtek1150/simple-charts
v1.0.2
Published
Simple css only charts built with Angular
Downloads
2
Readme
Charts
CSS only charts library builded with Angular and Nx
Usage
Simple line chart
<lib-line-chart [points]="pointsArray"></lib-line-chart>
Data type:
point<T> {
value: number
time: T
}
Multi line chart
<lib-multi-line-chart [data]="linesArray"></lib-multi-line-chart>
Data type:
line {
label: string;
lineType: 'normal' | 'dashed' | 'points';
valueType: 'numbers' | 'percents';
items: {
x: number;
y: number;
}[]
}