UNPKG

@shikshalokam/sl-reports

Version:

Library to integrate questionnaire in SL Projects

20 lines (19 loc) 633 B
import { OnInit } from '@angular/core'; import { ChartOptions, ChartType, ChartDataSets } from 'chart.js'; import { Label } from 'ng2-charts'; import * as pluginDataLabels from 'chartjs-plugin-datalabels'; export declare class BarChartComponent implements OnInit { data: any; questionNumber: any; chartRootElement: any; chartCanvas: any; barChartOptions: ChartOptions; barChartLabels: Label[]; barChartType: ChartType; barChartLegend: boolean; chartColors: Array<any>; barChartData: ChartDataSets[]; barChartPlugins: (typeof pluginDataLabels)[]; constructor(); ngOnInit(): void; }