@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
13 lines (12 loc) • 841 B
TypeScript
import { IColorPalette } from "@gooddata/gooddata-js";
import { AFM, Execution } from "@gooddata/typings";
import ColorStrategy from "../colorStrategy";
import { IColorMapping } from "../../../../interfaces/Config";
import { ICreateColorAssignmentReturnValue } from "../colorFactory";
import { IUnwrappedAttributeHeaderWithItems } from "../../typings/chart";
declare class GeoChartColorStrategy extends ColorStrategy {
protected createColorAssignment(colorPalette: IColorPalette, colorMapping: IColorMapping[], locationAttribute: Execution.IAttributeHeader, segmentByAttribute: IUnwrappedAttributeHeaderWithItems, executionResponse: Execution.IExecutionResponse, afm: AFM.IAfm): ICreateColorAssignmentReturnValue;
private getColorStrategyForSegmentBy;
private getColorStrategyForLocation;
}
export default GeoChartColorStrategy;