@carbon/charts
Version:
Carbon Charts component library
20 lines (19 loc) • 943 B
TypeScript
import { Chart } from '../chart';
import { ChoroplethModel } from '../model/choropleth';
import { ChoroplethChartOptions } from '../interfaces/charts';
import { ChartConfig } from '../interfaces/model';
import { Component } from '../components/component';
import { Modal } from '../components/essentials/modal';
import { LayoutComponent } from '../components/layout/layout';
import { Tooltip } from '../components/essentials/tooltip';
export declare class ChoroplethChart extends Chart {
model: ChoroplethModel;
constructor(holder: HTMLDivElement, chartConfigs: ChartConfig<ChoroplethChartOptions>);
protected getChartComponents(graphFrameComponents: any[], configs?: any): (Tooltip | Modal | LayoutComponent)[];
/**
* Retrieves the components to be rendered inside the graph frame.
*
* @returns {Component[]} An array of components to be rendered.
*/
getComponents(): Component[];
}