Bubble Symbol not shown in legend

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
froggyware
Newbie
Newbie
Posts: 21
Joined: Tue Nov 15, 2011 12:00 am

Bubble Symbol not shown in legend

Post by froggyware » Mon Apr 23, 2012 1:21 pm

Hi,

We have created a bubble chart but the legend does not show the bubble symbols (hence not possible to know which series is which).

We have something like this:

Bubble b = new Bubble(chart.getChart());
b.setTitle("hello");
b.add(1,3, 0.2f, "entry x");
..... (more add points)

chart.setShowLegend(true);

The legend is shown, but no symbol for the bubble. Symbol is shown for other chart types such as Line.

what can I try?

thanks,
Steven.

froggyware
Newbie
Newbie
Posts: 21
Joined: Tue Nov 15, 2011 12:00 am

Re: Bubble Symbol not shown in legend

Post by froggyware » Mon Apr 23, 2012 2:18 pm

huh! figured it out.

bubble.setColorEach(false);

did the job. Thanks... anyway :-)

Post Reply