mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Timelion rescaling vertical bounds incorrectly on window resize (#123534)
* Timelion rescaling vertical bounds incorrectly on window resize * Update test axis labels data as chart has another scale due to updated padding Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
650919cf0a
commit
6ee1e37a36
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ export const MAIN_GROUP_ID = 1;
|
|||
export const withStaticPadding = (domain: AxisSpec['domain']): AxisSpec['domain'] =>
|
||||
({
|
||||
...domain,
|
||||
padding: 50,
|
||||
padding: 20,
|
||||
paddingUnit: 'pixel',
|
||||
} as unknown as AxisSpec['domain']);
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
expect(firstAxesLabels).to.eql(['12.2GB', '12.21GB']);
|
||||
expect(secondAxesLabels).to.eql(['5.59KB', '5.6KB']);
|
||||
expect(thirdAxesLabels.toString()).to.be(
|
||||
'BYTES_5721,BYTES_5722,BYTES_5723,BYTES_5724,BYTES_5725,BYTES_5726,BYTES_5727,BYTES_5728,BYTES_5729,BYTES_5730,BYTES_5731,BYTES_5732,BYTES_5733'
|
||||
'BYTES_5722,BYTES_5723,BYTES_5724,BYTES_5725,BYTES_5726,BYTES_5727,BYTES_5728,BYTES_5729,BYTES_5730,BYTES_5731,BYTES_5732,BYTES_5733'
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue