@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
107 lines (106 loc) • 2.8 kB
TypeScript
import { VisualizationObject } from "@gooddata/typings";
import { IChartConfig } from "../../../../interfaces/Config";
export declare function getDefaultChartType(config?: IChartConfig): VisualizationObject.VisualizationType;
export declare function getComboConfiguration(config?: IChartConfig): {
chart: {
type: VisualizationObject.VisualizationType;
spacingTop: number;
};
plotOptions: {
series: {
states: {
inactive: {
opacity: number;
};
};
};
column: {
dataLabels: {
enabled: boolean;
crop: boolean;
overflow: string;
padding: number;
};
maxPointWidth: number;
borderColor: string;
};
line: {
marker: {
symbol: string;
radius: number;
};
lineWidth: number;
fillOpacity: number;
stickyTracking: boolean;
states: {
hover: {
lineWidth: number;
};
};
dataLabels: {
style: {
fontWeight: string;
};
};
};
area: {
marker: {
symbol: string;
radius: number;
};
lineWidth: number;
fillOpacity: number;
stickyTracking: boolean;
states: {
hover: {
lineWidth: number;
};
};
};
} | {
series?: undefined;
column: {
dataLabels: {
enabled: boolean;
crop: boolean;
overflow: string;
padding: number;
};
maxPointWidth: number;
borderColor: string;
};
line: {
marker: {
symbol: string;
radius: number;
};
lineWidth: number;
fillOpacity: number;
stickyTracking: boolean;
states: {
hover: {
lineWidth: number;
};
};
dataLabels: {
style: {
fontWeight: string;
};
};
};
area: {
marker: {
symbol: string;
radius: number;
};
lineWidth: number;
fillOpacity: number;
stickyTracking: boolean;
states: {
hover: {
lineWidth: number;
};
};
};
};
};