Do not edit this file. It is a report generated by API Extractor.
import * as i0 from '@angular/core';
import { AfterViewInit } from '@angular/core';
import { OnChanges } from '@angular/core';
import { OnDestroy } from '@angular/core';
import { PipeTransform } from '@angular/core';
import { SimpleChanges } from '@angular/core';
// @public
export class MatChart implements AfterViewInit, OnChanges, OnDestroy {
constructor(...args: unknown[]);
ariaLabel: string;
color: ThemePalette;
datasets: MatChartDataset[];
height: number;
hideTooltip(): void;
label: string;
// (undocumented)
ngAfterViewInit(): void;
// (undocumented)
ngOnChanges(_changes: SimpleChanges): void;
// (undocumented)
ngOnDestroy(): void;
// (undocumented)\n static ngAcceptInputType_showLegend: unknown;
// (undocumented)
static ngAcceptInputType_showTooltip: unknown;
showLegend: boolean;
showTooltip: boolean;
showTooltipAt(event: MouseEvent, text: string): void;
type: MatChartType;
valueFor(data: MatChartDataset['data'], label: string): number;
width: number;
// (undocumented)
static ɵcmp: i0.ɵɵComponentDeclaration<MatChart, "mat-chart", ["matChart"], { "type": { "alias": "type"; "required": false; }; "datasets": { "alias": "datasets"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "showLegend": { "alias": "showLegend"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatChart, never>;
}
// @public (undocumented)
export interface MatChartDataPoint {
label: string;
value: number;
}
// @public (undocumented)
export interface MatChartDataset {
color?: string;
data: MatChartDataPoint[];
label: string;
}
// @public (undocumented)
export class MatChartsModule {
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatChartsModule, never>;
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatChartsModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatChartsModule, never, [typeof MatChart, typeof MatChartValuePipe], [typeof MatChart, typeof MatChartValuePipe]>;
}
// @public
export type MatChartType = 'line' | 'bar' | 'pie';
// @public (undocumented)
export class MatChartValuePipe implements PipeTransform {
// (undocumented)
transform(data: MatChartDataPoint[], label: string): number;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatChartValuePipe, never>;
// (undocumented)
static ɵpipe: i0.ɵɵPipeDeclaration<MatChartValuePipe, "chartValue", true>;
}
// (No @packageDocumentation comment for this package)