We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c42539 commit 6bcad3fCopy full SHA for 6bcad3f
1 file changed
src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js
@@ -150,7 +150,9 @@ export const TimeSeries = ({
150
};
151
152
const shouldUseNewTimeAxis =
153
- series.some(({ stack }) => stack !== STACKED_OPTIONS.NONE) && !useLegacyTimeAxis;
+ series.every(
154
+ ({ stack, bars, lines }) => (bars?.show && stack !== STACKED_OPTIONS.NONE) || lines?.show
155
+ ) && !useLegacyTimeAxis;
156
157
return (
158
<Chart ref={chartRef} renderer="canvas" className={classes}>
0 commit comments