UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

82 lines (81 loc) 3.69 kB
import { EventEmitter, TemplateRef } from '@angular/core'; import { ColorHelper } from '../common/color.helper'; import { BaseChartComponent } from '../common/base-chart.component'; import { DataItem } from '../models/chart-data.model'; import { LegendOptions, LegendPosition } from '../common/types/legend.model'; import { ScaleType } from '../common/types/scale-type.enum'; import { ViewDimensions } from '../common/types/view-dimension.interface'; import * as i0 from "@angular/core"; export declare class BarVerticalComponent extends BaseChartComponent { legend: boolean; legendTitle: string; legendPosition: LegendPosition; xAxis: any; yAxis: any; showXAxisLabel: boolean; showYAxisLabel: boolean; xAxisLabel: string; yAxisLabel: string; tooltipDisabled: boolean; gradient: boolean; showGridLines: boolean; activeEntries: any[]; schemeType: ScaleType; trimXAxisTicks: boolean; trimYAxisTicks: boolean; rotateXAxisTicks: boolean; maxXAxisTickLength: number; maxYAxisTickLength: number; xAxisTickFormatting: any; yAxisTickFormatting: any; xAxisTicks: any[]; yAxisTicks: any[]; barPadding: number; roundDomains: boolean; roundEdges: boolean; yScaleMax: number; yScaleMin: number; showDataLabel: boolean; dataLabelFormatting: any; noBarWhenZero: boolean; activate: EventEmitter<any>; deactivate: EventEmitter<any>; tooltipTemplate: TemplateRef<any>; dims: ViewDimensions; xScale: any; yScale: any; xDomain: any; yDomain: any; transform: string; colors: ColorHelper; margin: number[]; xAxisHeight: number; yAxisWidth: number; legendOptions: LegendOptions; dataLabelMaxHeight: any; update(): void; getXScale(): any; getYScale(): any; getXDomain(): any[]; getYDomain(): [number, number]; onClick(data: DataItem | string): void; setColors(): void; getLegendOptions(): { scaleType: any; colors: any; domain: any[]; title: any; position: LegendPosition; }; updateYAxisWidth({ width }: { width: any; }): void; updateXAxisHeight({ height }: { height: any; }): void; onDataLabelMaxHeightChanged(event: any): void; onActivate(item: any, fromLegend?: boolean): void; onDeactivate(item: any, fromLegend?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<BarVerticalComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<BarVerticalComponent, "ngx-charts-bar-vertical", never, { "legend": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "xAxis": "xAxis"; "yAxis": "yAxis"; "showXAxisLabel": "showXAxisLabel"; "showYAxisLabel": "showYAxisLabel"; "xAxisLabel": "xAxisLabel"; "yAxisLabel": "yAxisLabel"; "tooltipDisabled": "tooltipDisabled"; "gradient": "gradient"; "showGridLines": "showGridLines"; "activeEntries": "activeEntries"; "schemeType": "schemeType"; "trimXAxisTicks": "trimXAxisTicks"; "trimYAxisTicks": "trimYAxisTicks"; "rotateXAxisTicks": "rotateXAxisTicks"; "maxXAxisTickLength": "maxXAxisTickLength"; "maxYAxisTickLength": "maxYAxisTickLength"; "xAxisTickFormatting": "xAxisTickFormatting"; "yAxisTickFormatting": "yAxisTickFormatting"; "xAxisTicks": "xAxisTicks"; "yAxisTicks": "yAxisTicks"; "barPadding": "barPadding"; "roundDomains": "roundDomains"; "roundEdges": "roundEdges"; "yScaleMax": "yScaleMax"; "yScaleMin": "yScaleMin"; "showDataLabel": "showDataLabel"; "dataLabelFormatting": "dataLabelFormatting"; "noBarWhenZero": "noBarWhenZero"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>; }