import { ElementRef, OnInit, EventEmitter } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { ChartStylingModel } from '../../models/chart/chart-styling.model'; /** *

Main chart component. Uses ngx-charts library.

*/ export declare class CfChartComponent extends CfCoreComponent implements OnInit { elementRef: ElementRef; cfComponentChartTemplate: any; /** *

Chart component model object. Refer to ../models/chart/chart.model.ts.

*/ properties: any; /** *

The styling object of the chart component. Refer to ../models/chart/chart-styling.model.ts

*/ styling: ChartStylingModel; /** *

Data to show in the chart format

*/ data: any[]; /** *

The event will be emitted when the chart is clicked

*/ onClick: EventEmitter; /** *

Chart size, object in the format {width, height}

*/ size: any; /** *

Fill elements with a gradient instead of a solid color

*/ gradient: boolean; /** *

Show or hide the legend

*/ showLegend: boolean; /** *

The color scheme of the chart

*/ colorScheme: any; /** *

Show or hide the x axis

*/ showXAxis: boolean; /** *

Show or hide the y axis

*/ showYAxis: boolean; /** *

Show or hide the x axis label

*/ showXAxisLabel: boolean; /** *

Show or hide the y axis label

*/ showYAxisLabel: boolean; /** *

The x axis label text

*/ xAxisLabel: string; /** *

The y axis label text

*/ yAxisLabel: string; constructor(elementRef: ElementRef); ngOnInit(): void; /** *

The method will emit event when the chart is clicked

*/ onSelect(event: any): void; setCommonProperties(): void; }