mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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,
|
getTimeRange,
|
||||||
eventBus,
|
eventBus,
|
||||||
...this.props,
|
...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