Graph (old): Migrate right y axis to TimeSeries via custom.axisPlacement (#83452)
This commit is contained in:
@@ -656,6 +656,10 @@ exports[`Graph Migrations twoYAxis 1`] = `
|
||||
"id": "max",
|
||||
"value": 25,
|
||||
},
|
||||
{
|
||||
"id": "custom.axisPlacement",
|
||||
"value": "right",
|
||||
},
|
||||
{
|
||||
"id": "custom.axisLabel",
|
||||
"value": "Y222",
|
||||
|
||||
@@ -658,6 +658,11 @@ function fillY2DynamicValues(
|
||||
}
|
||||
}
|
||||
|
||||
props.push({
|
||||
id: `custom.axisPlacement`,
|
||||
value: AxisPlacement.Right,
|
||||
});
|
||||
|
||||
// Add any custom property
|
||||
const y1G = y1.custom ?? {};
|
||||
const y2G = y2.custom ?? {};
|
||||
|
||||
Reference in New Issue
Block a user