bento-charts
Version:
Charts library for Bento-platform
31 lines (30 loc) • 1.3 kB
TypeScript
import type CSS from 'csstype';
import { ChartTheme, HexColor, TranslationObject } from '../types/chartTypes';
export declare const COUNT_KEY = "Count";
export declare const OTHER_KEY = "Other";
export declare const defaultTranslationObject: TranslationObject;
export declare const COLORS: HexColor[];
export declare const NEW_CHART_COLORS: HexColor[];
export declare const BAR_CHART_FILL = "#4575b4";
export declare const CHART_MISSING_FILL = "#bbbbbb";
export declare const DEFAULT_CHART_THEME: ChartTheme;
export declare const TOOLTIP_OTHER_PROPS: {
wrapperStyle: CSS.Properties;
allowEscapeViewBox: {
x: boolean;
y: boolean;
};
};
export declare const TOOLTIP_STYLE: CSS.Properties;
export declare const LABEL_STYLE: CSS.Properties;
export declare const COUNT_STYLE: CSS.Properties;
export declare const CHART_WRAPPER_STYLE: CSS.Properties;
export declare const TITLE_STYLE: CSS.Properties;
export declare const TEXT_STYLE: CSS.Properties;
export declare const COUNT_TEXT_STYLE: CSS.Properties;
export declare const MAX_TICK_LABEL_CHARS = 15;
export declare const UNITS_LABEL_OFFSET = -75;
export declare const TICKS_SHOW_ALL_LABELS_BELOW = 11;
export declare const TICK_MARGIN = 5;
export declare const LABEL_THRESHOLD = 0.05;
export declare const RADIAN: number;