fix(legacy-chart): corrupted raw chart data (#24850)

This commit is contained in:
JUST.in DO IT 2023-08-01 09:49:04 -07:00 committed by GitHub
parent ea17dd637c
commit 1c5971d3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ export default function transformProps(chartProps) {
const data = Array.isArray(rawData)
? rawData.map(row => ({
...row,
values: row.values.map(value => ({ ...value })),
key: formatLabel(row.key, datasource.verboseMap),
}))
: rawData;