ngx-beautiful-charts
Version:
A library to create charts in Angular
35 lines (34 loc) • 1.16 kB
TypeScript
import { OnInit, OnChanges, ElementRef } from '@angular/core';
import { ClusteredBarChartService } from './clustered-bar-chart.service';
import { GlobalParametersService } from '../../global/global-parameters.service';
export declare class ClusteredBarChartComponent implements OnInit, OnChanges {
clusteredBarChartService: ClusteredBarChartService;
private globalParametersService;
private currentElement;
data: [{
series: string;
color: string;
data: [{
name: string;
value: number;
}];
}];
width: number;
height: number;
xAxisTitle: string;
yAxisTitle: string;
showGridLines: boolean;
colorScheme: string;
customColorScheme: string[];
componentID: number;
xPadding: number;
yPadding: number;
barPaths: any;
dataCopy: any;
setDimensions(): void;
computeBarPaths(): void;
constructor(clusteredBarChartService: ClusteredBarChartService, globalParametersService: GlobalParametersService, currentElement: ElementRef);
setColors(): void;
ngOnInit(): void;
ngOnChanges(): void;
}