UNPKG

@ohayojp/chart

Version:

Cache the dictionary, city data etc.

38 lines (37 loc) 1.38 kB
import { Platform } from '@angular/cdk/platform'; import { ElementRef, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { Chart, Types } from '@antv/g2'; import { OhayoConfigService, BooleanInput, NumberInput } from '@ohayojp/util'; export declare class G2SingleBarComponent implements OnInit, OnChanges, OnDestroy { private el; private ngZone; private platform; static ngAcceptInputType_delay: NumberInput; static ngAcceptInputType_height: NumberInput; static ngAcceptInputType_barSize: NumberInput; static ngAcceptInputType_min: NumberInput; static ngAcceptInputType_max: NumberInput; static ngAcceptInputType_value: NumberInput; static ngAcceptInputType_line: BooleanInput; private _chart; get chart(): Chart; delay: number; plusColor: string; minusColor: string; height: number; barSize: number; min: number; max: number; value: number; line: boolean; format: (value: number, item: {}, index: number) => string; padding: number | number[] | 'auto'; textStyle: any; theme: string | Types.LooseObject; constructor(el: ElementRef, ngZone: NgZone, configSrv: OhayoConfigService, platform: Platform); private install; private attachChart; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; }