UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

43 lines (42 loc) 2.42 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; wrapTicks: boolean; 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": { "alias": "yScale"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "yAxisTickCount": { "alias": "yAxisTickCount"; "required": false; }; "yOrient": { "alias": "yOrient"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "yAxisOffset": { "alias": "yAxisOffset"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>; }