ng-chartjs
Version:
This is a Angular chart.js library.
28 lines (27 loc) • 1.01 kB
TypeScript
import { NgChartjsCustomPluginConfig } from './plugins-config';
import { StoreService } from './store.service';
import * as i0 from "@angular/core";
export declare class NgChartjsService {
private storeService;
private pluginConfig;
constructor(storeService: StoreService, pluginConfig: NgChartjsCustomPluginConfig);
getChart(id: string): any;
static ɵfac: i0.ɵɵFactoryDeclaration<NgChartjsService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgChartjsService>;
}
/**
* 深复制一个json对象
* @source 需要深复制的对象
*/
export declare function deepCopyJson(source: any): any;
/**
* 合并json对象,遇到相同元素级属性,以source为准
* @source 被合并的json对象
* @dest json对象,将此json的属性递归赋值给source
*/
export declare function mergeJson(source: any, dest: any): Object;
/**
* 是否是json对象
* @target 需要被判断的类型
*/
export declare function isJson(target: any): boolean;