UNPKG

@ohayojp/chart

Version:

Cache the dictionary, city data etc.

30 lines (29 loc) 1.08 kB
import { Platform } from '@angular/cdk/platform'; import { ElementRef, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { Chart, Types } from '@antv/g2'; import { OhayoConfigService, NumberInput } from '@ohayojp/util'; export declare class G2GaugeComponent implements OnInit, OnDestroy, OnChanges { private el; private ngZone; private platform; static ngAcceptInputType_delay: NumberInput; static ngAcceptInputType_height: NumberInput; static ngAcceptInputType_percent: NumberInput; private _chart; get chart(): Chart; delay: number; title: string; height: number; color: string; bgColor: string; format: (text: string, item: {}, index: number) => string; percent: number; padding: number | number[] | 'auto'; theme: string | Types.LooseObject; constructor(el: ElementRef, ngZone: NgZone, configSrv: OhayoConfigService, platform: Platform); private install; private attachChart; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; }