@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular
40 lines (39 loc) • 1.74 kB
TypeScript
import { SimpleChanges, EventEmitter, OnChanges } from '@angular/core';
import { XAxisTicksComponent } from './x-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 XAxisComponent implements OnChanges {
xScale: any;
dims: ViewDimensions;
trimTicks: boolean;
rotateTicks: boolean;
maxTickLength: number;
tickFormatting: any;
showGridLines: boolean;
showLabel: boolean;
labelText: string;
ticks: any[];
xAxisTickCount: number;
xOrient: Orientation;
xAxisOffset: number;
dimensionsChanged: EventEmitter<any>;
xAxisClassName: string;
tickArguments: number[];
transform: string;
labelOffset: number;
fill: string;
stroke: string;
tickStroke: string;
strokeWidth: string;
padding: number;
readonly orientation: typeof Orientation;
ticksComponent: XAxisTicksComponent;
ngOnChanges(changes: SimpleChanges): void;
update(): void;
emitTicksHeight({ height }: {
height: any;
}): void;
static ɵfac: i0.ɵɵFactoryDeclaration<XAxisComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<XAxisComponent, "g[ngx-charts-x-axis]", never, { "xScale": "xScale"; "dims": "dims"; "trimTicks": "trimTicks"; "rotateTicks": "rotateTicks"; "maxTickLength": "maxTickLength"; "tickFormatting": "tickFormatting"; "showGridLines": "showGridLines"; "showLabel": "showLabel"; "labelText": "labelText"; "ticks": "ticks"; "xAxisTickCount": "xAxisTickCount"; "xOrient": "xOrient"; "xAxisOffset": "xAxisOffset"; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never>;
}