UNPKG

@carbon/charts

Version:
20 lines (19 loc) 943 B
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[]; }