A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
chausberger
- Posts: 7
- Joined: Sat Sep 01, 2007 4:19 pm
Post
by chausberger » Sat Sep 01, 2007 4:22 pm
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
-
jleech
Post
by jleech » Wed Sep 05, 2007 7:50 pm
try making a value that is 50%, and set all its colors / fill patterns / strokes to null.
-
chausberger
- Posts: 7
- Joined: Sat Sep 01, 2007 4:19 pm
Post
by chausberger » Thu Sep 06, 2007 8:52 am
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
-
blajevardi
- Posts: 9
- Joined: Tue Nov 21, 2006 2:19 am
Post
by blajevardi » Thu Sep 06, 2007 7:22 pm
making the chart with "%50 and set all its colors / fill patterns / strokes to null" would not save space! It would look odd!