Timeline: use full row height with one series (#34532)
This commit is contained in:
1 parent
1e024f22b8
commit
11b2f0ee4d
1 file changed
+3
@@ -42,6 +42,9 @@ export class TimelineChart extends React.Component<TimelineProps> {
|
||||
getTimeRange,
|
||||
eventBus,
|
||||
...this.props,
|
||||
|
||||
// When there is only one row, use the full space
|
||||
rowHeight: alignedFrame.fields.length > 2 ? this.props.rowHeight : 1,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user