Displaying pie chart with SWT - no labels displayed

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ssnyder
Posts: 5
Joined: Fri Jan 20, 2012 4:54 pm
antibot: No, of course not.

Displaying pie chart with SWT - no labels displayed

Post by ssnyder » Tue Jan 24, 2012 3:33 pm

I have tried the tutorial at http://www.vogella.de/articles/EclipseJ ... ticle.html and the example SWTPieChartDemo1.java included in the .14 .zip file, and both have the same result.....the labels do not show for the piechart. Only the simple labels can be displayed, but not the legend OR the non-simple labels.

Any help would be GREATLY appreciated.

An example would be to use the SWTPieChartDemo1.java, I plugged it into a new java project in eclipse, added the swt library and the jfree libraries to the build path, and ran it. The pie chart displays, with label boxes, but no text....and the legend is there but no text next to the colors.

Any help would be very much appreciated! I'm still evaluating whether the library can be used by my team inside of our eclipse plugin, and this would be a show stopper.

-Sharon

ssnyder
Posts: 5
Joined: Fri Jan 20, 2012 4:54 pm
antibot: No, of course not.

Re: Displaying pie chart with SWT - no labels displayed

Post by ssnyder » Tue Jan 24, 2012 4:43 pm

Update: I've verified that the exact same code with the older library works fine. It looks like something is broken in the .14 release.

If anyone has a workaround (besides using the .13 release) please let me know! :-)

Thanks,
-Sharon

Locked