ng-prime-tools
Version:
An advanced PrimeNG table for Angular
33 lines • 816 B
TypeScript
import { ChartData, ChartOptions, ChartType } from 'chart.js';
export interface Dataset {
label?: string;
data: number[] | any[];
backgroundColor?: string | string[];
borderColor?: string | string[];
borderWidth?: number;
fill?: boolean;
tension?: number;
stack?: string;
type?: ChartType;
}
export interface ChartConfig {
type: ChartType;
data: ChartData;
chartHeight?: string;
chartWidth?: string;
medianTitle?: string;
xAxisTitle?: string;
yAxisTitle?: string;
scales?: {
y?: {
min?: number;
max?: number;
ticks?: {
stepSize?: number;
beginAtZero?: boolean;
};
};
};
options?: ChartOptions;
}
//# sourceMappingURL=chart-config.model.d.ts.map