Skip to content

Commit

Permalink
fix: y channel in datakey problem
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Feb 5, 2025
1 parent 9d9862f commit 61a5121
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export class RankingListChartSpecTransformer extends CommonChartSpecTransformer
{
id: 'datas',
values: pagerData[order].map(d => {
return { ...d, [DATA_KEY]: d['y'] };
return { ...d, [DATA_KEY]: d[spec.yField] };
})
},
{
Expand Down

0 comments on commit 61a5121

Please sign in to comment.