This is a migrated thread and some comments may be shown as answers.

Legend with Bubble/Scatter Chart

1 Answer 168 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 17 Dec 2019, 03:13 AM

I am unable to get a legend to show when using the Bubble or Scatter chart types.

 

I can't see a reason why it would not work, but I do not see any examples of those charts with legends, and I have not had any luck getting it to work.

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 17 Dec 2019, 08:38 AM

Hello, Jonathan,

The legend requires the series to have a name so it can display it:

https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/legend/

The Chart legend displays the name of the configured data series.

After adding a name to the series in our Bubble Chart example, the legend was shown:

https://stackblitz.com/edit/react-dvk6qi?file=app/main.jsx

I hope this is helpful.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or