UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

42 lines (41 loc) 1.83 kB
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { YAxisTicksComponent } from './y-axis-ticks.component'; import { Orientation } from '../types/orientation.enum'; import { ViewDimensions } from '../types/view-dimension.interface'; import * as i0 from "@angular/core"; export declare class YAxisComponent implements OnChanges { yScale: any; dims: ViewDimensions; trimTicks: boolean; maxTickLength: number; tickFormatting: any; ticks: any[]; showGridLines: boolean; showLabel: boolean; labelText: string; yAxisTickCount: any; yOrient: Orientation; referenceLines: any; showRefLines: boolean; showRefLabels: boolean; yAxisOffset: number; dimensionsChanged: EventEmitter<any>; yAxisClassName: string; tickArguments: number[]; offset: number; transform: string; labelOffset: number; fill: string; stroke: string; tickStroke: string; strokeWidth: number; padding: number; ticksComponent: YAxisTicksComponent; ngOnChanges(changes: SimpleChanges): void; update(): void; emitTicksWidth({ width }: { width: any; }): void; static ɵfac: i0.ɵɵFactoryDeclaration<YAxisComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<YAxisComponent, "g[ngx-charts-y-axis]", never, { "yScale": "yScale"; "dims": "dims"; "trimTicks": "trimTicks"; "maxTickLength": "maxTickLength"; "tickFormatting": "tickFormatting"; "ticks": "ticks"; "showGridLines": "showGridLines"; "showLabel": "showLabel"; "labelText": "labelText"; "yAxisTickCount": "yAxisTickCount"; "yOrient": "yOrient"; "referenceLines": "referenceLines"; "showRefLines": "showRefLines"; "showRefLabels": "showRefLabels"; "yAxisOffset": "yAxisOffset"; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never>; }