Search found 7 matches

by chausberger
Mon May 19, 2008 11:59 am
Forum: JFreeChart
Topic: How to change font of legend in bar chart?
Replies: 5
Views: 16861

How to change font of legend in bar chart?

Hello I have a bar chart displaying five products and their market share. Below the bars there is the legend with the product names (in black). How can I change the color of the product names and the font size? I searched the documentation and developer guide and couldn't find an easy solution. Mayb...
by chausberger
Fri Mar 28, 2008 4:00 pm
Forum: JFreeChart
Topic: Using a gif for a legend item?
Replies: 3
Views: 4204

is it possible to extend a class (or several classes) like LegendTitle and to overwrite some methods so that an image can be included?

what classes and methods do I have to extend and overwrite?

Claus
by chausberger
Fri Mar 28, 2008 9:17 am
Forum: JFreeChart
Topic: Using a gif for a legend item?
Replies: 3
Views: 4204

Currently there are only plans to add a small gif, but no text.

Claus
by chausberger
Thu Mar 27, 2008 10:02 am
Forum: JFreeChart
Topic: Using a gif for a legend item?
Replies: 3
Views: 4204

Using a gif for a legend item?

Hello

is it possible to use gif images as items in the legend?
I search all the api docs and dev guide and can't find anything. Maybe I've just overlooked it.

Claus
by chausberger
Fri Jan 18, 2008 6:30 pm
Forum: JFreeChart
Topic: How to change Label of PieCharts ?
Replies: 1
Views: 3291

How to change Label of PieCharts ?

Hello I figured out how to make a PieChart label display something like this: Java (5%) Ruby(2%) Python(3%) similar to PieChartDemo2 in the JFreeChart demo. How can I add an arbitrary String to the label, for example: Java (5%) Of All Programmers How can I add "Of All Programmers" ? best wishes Claus
by chausberger
Thu Sep 06, 2007 8:52 am
Forum: JFreeChart
Topic: how to create a half pie chart
Replies: 3
Views: 6077

jleech wrote:try making a value that is 50%, and set all its colors / fill patterns / strokes to null.
do you have a code example ?
in which class are the methods to set colors / fill patterns and strokes ?
I tried PiePlot but couldn't figure out how to set the values you mentioned.

Claus
by chausberger
Sat Sep 01, 2007 4:22 pm
Forum: JFreeChart
Topic: how to create a half pie chart
Replies: 3
Views: 6077

how to create a half pie chart

Hello

I want to create a half pie chart. one that does not have 360 degrees
but only about 180. the best would be if I can set the degrees.

I couldn't find it in the java docs how to do this.

any hints would help me a lot.

thanks

Claus