@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
39 lines (38 loc) • 1.98 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
import { SankeyComponent } from "../../sankey.component";
import { SankeyFlatBindingDataBoundEvent } from "./flat-binding.event";
import * as i0 from "@angular/core";
/**
* A directive which encapsulates the retrieval of the nodes and links when flat data is provided.
*
* See [Data Binding - Binding to Flat Data]({% slug data_binding_sankey %}#toc-binding-to-flat-data).
*/
export declare class SankeyFlatBindingDirective implements OnChanges {
private sankey;
/**
* The data which will be displayed by the Sankey diagram.
*/
data: any[];
/**
* Represents the fields which identify the nodes.
*/
dimensionFields: string[];
/**
* Represents the unique field which represents the link value between nodes.
*/
valueField: string;
/**
* Fires when the flat data has been converted to `SankeyData`.
*
* To customize the created nodes and links, modify the data.
*/
dataBound: EventEmitter<SankeyFlatBindingDataBoundEvent>;
constructor(sankey: SankeyComponent);
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SankeyFlatBindingDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SankeyFlatBindingDirective, "[kendoSankeyFlatBinding]", never, { "data": { "alias": "kendoSankeyFlatBinding"; "required": false; }; "dimensionFields": { "alias": "dimensionFields"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; }, { "dataBound": "dataBound"; }, never, never, true, never>;
}