ngx-frappe-chart
Version:
A simple and easy to use angular wrapper on top of frappe for generating awesome graphs.
32 lines (31 loc) • 1.2 kB
TypeScript
import { ElementRef } from '@angular/core';
import { OnChanges } from '@angular/core';
import { AxisOptions } from '../interfaces/axis-options.model';
import { TooltipOptions } from '../interfaces/tooltip-options.model';
import { BarOptions } from '../interfaces/bar-options.model';
import { LineOptions } from '../interfaces/line-options.model';
import { YMarkers } from '../interfaces/y-markers.model';
import { YRegions } from '../interfaces/y-regions.model';
import { GraphDataModel } from '../interfaces/graph-data.model';
export declare class FrappeChartsAxisDirective implements OnChanges {
private el;
data: GraphDataModel;
type: string;
title?: string;
colors?: string[];
height?: number;
isNavigable?: boolean;
valuesOverPoints?: boolean;
axisOptions?: AxisOptions;
tooltipOptions?: TooltipOptions;
barOptions?: BarOptions;
lineOptions?: LineOptions;
yMarkers: YMarkers[];
yRegions: YRegions[];
constructor(el: ElementRef);
ngOnChanges(): void;
getAxisInputs(): any;
addLineOptions(barObject: any): void;
addBarOptions(barObject: any): void;
addGraphData(barObject: any): void;
}