mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 01:41:24 -06:00
Timeline: use full row height with one series (#34532)
This commit is contained in:
parent
1e024f22b8
commit
11b2f0ee4d
@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user