UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

94 lines (93 loc) 4.95 kB
import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core'; import { ColorHelper } from '../common/color.helper'; import { BaseChartComponent } from '../common/base-chart.component'; import { Series } from '../models/chart-data.model'; import { SeriesType } from '../common/circle-series.component'; 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 AreaChartNormalizedComponent extends BaseChartComponent { legend: boolean; legendTitle: string; legendPosition: LegendPosition; xAxis: boolean; yAxis: boolean; showXAxisLabel: boolean; showYAxisLabel: boolean; xAxisLabel: string; yAxisLabel: string; timeline: any; gradient: any; showGridLines: boolean; curve: any; activeEntries: any[]; schemeType: ScaleType; trimXAxisTicks: boolean; trimYAxisTicks: boolean; rotateXAxisTicks: boolean; maxXAxisTickLength: number; maxYAxisTickLength: number; xAxisTickFormatting: any; yAxisTickFormatting: any; xAxisTicks: any[]; yAxisTicks: any[]; roundDomains: boolean; tooltipDisabled: boolean; wrapTicks: boolean; activate: EventEmitter<any>; deactivate: EventEmitter<any>; tooltipTemplate: TemplateRef<any>; seriesTooltipTemplate: TemplateRef<any>; dims: ViewDimensions; scaleType: ScaleType; xDomain: any[]; xSet: any[]; yDomain: [number, number]; seriesDomain: any; xScale: any; yScale: any; transform: string; clipPathId: string; clipPath: string; colors: ColorHelper; margin: number[]; tooltipAreas: any[]; hoveredVertical: any; xAxisHeight: number; yAxisWidth: number; filteredDomain: any; legendOptions: LegendOptions; seriesType: typeof SeriesType; timelineWidth: any; timelineHeight: number; timelineXScale: any; timelineYScale: any; timelineXDomain: any; timelineTransform: any; timelinePadding: number; update(): void; updateTimeline(): void; getXDomain(): any[]; getSeriesDomain(): string[]; getXScale(domain: any, width: number): any; getYScale(domain: any, height: number): any; updateDomain(domain: any): void; updateHoveredVertical(item: any): void; hideCircles(): void; onClick(data: any, series?: any): void; trackBy: TrackByFunction<Series>; setColors(): void; getLegendOptions(): LegendOptions; updateYAxisWidth({ width }: { width: number; }): void; updateXAxisHeight({ height }: { height: number; }): void; onActivate(item: any): void; onDeactivate(item: any): void; deactivateAll(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartNormalizedComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartNormalizedComponent, "ngx-charts-area-chart-normalized", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>; }