UNPKG

@patternfly/react-charts

Version:

This library provides a set of React chart components for use with the PatternFly reference implementation.

18 lines 530 B
import defaultsDeep from 'lodash/defaultsDeep'; /** * Returns series properties for Line chart * * @param serie * @param theme * @param isSkeleton * @private Not intended as public API and subject to change */ export const getLineSeries = (serie, theme, isSkeleton) => { const defaults = { emphasis: Object.assign({}, (isSkeleton ? { disabled: true } : { focus: 'adjacency' })), showSymbol: false, type: 'line' }; return defaultsDeep(serie, defaults); }; //# sourceMappingURL=Line.js.map