0

i have used ngx-chart bubble chart for my project but when data comes in as the following format below and chart breaks:

multi: any[] =[{
"name": "Kuwait",
"series": 
[{
"name": "a",
"waiting time": 24,
"real time": 38,
"queue size": 31
},
{
"name": "b",
"waiting time": 32,
"real time": 12,
"queue size": 20
}
}];

i have changed 'x','y' and 'r' property names to 'waiting time', 'real time ' and 'queue size'. It throws type errors. How can i make bubble chart work with these data?

1 Answers1

0

I think you cant change axis names, you can use label name x as 'waiting time' using property 'xAxisLabel'

Please refer then link