@carbon/charts
Version:
Carbon Charts component library
30 lines (29 loc) • 743 B
TypeScript
import { ChartModel } from './model';
/**
* Base thematic maps chart model layer
*/
export declare class ChoroplethModel extends ChartModel {
private _colorScale;
private _matrix;
constructor(services: any);
/**
* @override
* @param value
* @returns string
*/
getFillColor(value: number): any;
/**
* Helper function that will generate a dictionary
*/
getCombinedData(): {};
/**
* Generate tabular data from display data
* @returns Array<Object>
*/
getTabularDataArray(): any[];
getColorClassName(configs: {
value?: number;
originalClassName?: string;
}): string;
protected setColorClassNames(): void;
}