UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

38 lines 932 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // (C) 2007-2018 GoodData Corporation var cloneDeep = require("lodash/cloneDeep"); var commonConfiguration_1 = require("./commonConfiguration"); var BAR_TEMPLATE = { chart: { type: "bar", }, plotOptions: { bar: { maxPointWidth: commonConfiguration_1.MAX_POINT_WIDTH, dataLabels: { enabled: true, padding: 2, }, }, series: { states: { hover: { enabled: false, }, }, }, }, yAxis: [ { stackLabels: { enabled: false, }, }, ], }; function getBarConfiguration() { return cloneDeep(BAR_TEMPLATE); } exports.getBarConfiguration = getBarConfiguration; //# sourceMappingURL=barConfiguration.js.map