UNPKG

@gooddata/react-components

Version:

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

19 lines (16 loc) 602 B
// (C) 2007-2018 GoodData Corporation import * as PropTypes from "prop-types"; import { Requireable } from "prop-types"; // tslint:disable-line:no-duplicate-imports export { Requireable }; export const ChartConfigPropType = PropTypes.shape({ colors: PropTypes.arrayOf(PropTypes.string), legend: PropTypes.shape({ enabled: PropTypes.bool, position: PropTypes.oneOf(["top", "left", "right", "bottom", "auto"]), }), limits: PropTypes.shape({ series: PropTypes.number, categories: PropTypes.number, }), forceDisableDrillOnAxes: PropTypes.bool, });