@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
22 lines (18 loc) • 614 B
text/typescript
// (C) 2019 GoodData Corporation
import Highcharts from "../components/visualizations/chart/highcharts/highchartsEntryPoint";
import { VisualizationTypes } from "./visualizationTypes";
export const WHITE_LABEL: Highcharts.CSSObject = {
color: "#ffffff",
textShadow: "0 0 1px #000000",
};
export const BLACK_LABEL: Highcharts.CSSObject = {
color: "#000000",
textShadow: "none",
};
// types with label inside sections have white labels
export const whiteDataLabelTypes = [
VisualizationTypes.PIE,
VisualizationTypes.DONUT,
VisualizationTypes.TREEMAP,
VisualizationTypes.BUBBLE,
];