@tusharghoshbd/ngx-charts
Version:
Ngx charts is an angular library for presenting data in chart.
47 lines (46 loc) • 1.39 kB
TypeScript
import { OnChanges, OnInit, SimpleChanges, ElementRef, ChangeDetectorRef } from "@angular/core";
export declare class ngxChartsComboComponent implements OnChanges, OnInit {
private chartElement;
private cdr;
private customOptions;
private _options;
options: any;
categories: any;
series: any;
xScale: any;
innerScale: any;
yScale: any;
yRightScale: any;
lines: any;
bars: any;
lineCircle: any;
groupName: any[];
groupBarPaddingBK: any;
innerBarPaddingBK: any;
colorScale: any;
constructor(chartElement: ElementRef, cdr: ChangeDetectorRef);
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
update(): void;
getXScale(): any;
getInnerScale(): any;
getYScale(): any;
getYRightScale(): any;
calPlotBackground(): void;
createLine(): void;
createBar(): void;
yAxisWidthChange({ yAxisWidth, yAxisHeight, yAxisRightWidth }: {
yAxisWidth: any;
yAxisHeight: any;
yAxisRightWidth: any;
}): void;
xAxisHeightChange({ xAxisHeight }: {
xAxisHeight: any;
}): void;
headerHeightChange({ headerHeight }: {
headerHeight: any;
}): void;
toolTipPlaccement(data: any): "left" | "right" | "top" | "bottom";
onResize(event: any): void;
private strToNumber;
}