UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

76 lines (75 loc) 2.19 kB
import { EventEmitter, TemplateRef } from '@angular/core'; import { ViewDimensions } from '../common/view-dimensions.helper'; import { ColorHelper } from '../common/color.helper'; import { BaseChartComponent } from '../common/base-chart.component'; export declare class BarHorizontalComponent extends BaseChartComponent { legend: boolean; legendTitle: string; legendPosition: string; xAxis: any; yAxis: any; showXAxisLabel: any; showYAxisLabel: any; xAxisLabel: any; yAxisLabel: any; tooltipDisabled: boolean; gradient: boolean; showGridLines: boolean; activeEntries: any[]; schemeType: string; trimXAxisTicks: boolean; trimYAxisTicks: boolean; rotateXAxisTicks: boolean; maxXAxisTickLength: number; maxYAxisTickLength: number; xAxisTickFormatting: any; yAxisTickFormatting: any; xAxisTicks: any[]; yAxisTicks: any[]; barPadding: number; roundDomains: boolean; roundEdges: boolean; xScaleMax: number; xScaleMin: number; showDataLabel: boolean; dataLabelFormatting: any; noBarWhenZero: boolean; activate: EventEmitter<any>; deactivate: EventEmitter<any>; tooltipTemplate: TemplateRef<any>; dims: ViewDimensions; yScale: any; xScale: any; xDomain: any; yDomain: any; transform: string; colors: ColorHelper; margin: number[]; xAxisHeight: number; yAxisWidth: number; legendOptions: any; dataLabelMaxWidth: any; update(): void; getXScale(): any; getYScale(): any; getXDomain(): any[]; getYDomain(): any[]; onClick(data: any): void; setColors(): void; getLegendOptions(): { scaleType: string; colors: any; domain: any[]; title: any; position: string; }; updateYAxisWidth({ width }: { width: any; }): void; updateXAxisHeight({ height }: { height: any; }): void; onDataLabelMaxWidthChanged(event: any): void; onActivate(item: any, fromLegend?: boolean): void; onDeactivate(item: any, fromLegend?: boolean): void; }