@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
27 lines (24 loc) • 535 B
text/typescript
// (C) 2007-2018 GoodData Corporation
import cloneDeep = require("lodash/cloneDeep");
const FUNNEL_TEMPLATE = {
chart: {
type: "funnel",
spacingRight: 100,
},
plotOptions: {
funnel: {
dataLabels: {
enabled: true,
crop: false,
overflow: "none",
padding: 2,
},
},
},
legend: {
enabled: false,
},
};
export function getFunnelConfiguration() {
return cloneDeep(FUNNEL_TEMPLATE);
}