0

JFreeChart / Color definition

asked 2009-10-24 17:18:13 +0800

haddorp gravatar image haddorp
81 2 3

We are trying to use JFreeChart into our application. The integration via Zk is quite simple. However I'm wondering how the colors can be defined.

If using a bar chart I get colors in order red, blue, green, yellow. What can I do to change the order or defining colors by myself?

Second question... If displaying values between 0 and 100; how can I achieve that the legend is always 0 to 100 even when only sampler values have been added? Means the legend should be defined independent of the actual values.

Thanks!

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-10-24 17:18:13 +0800

Seen: 453 times

Last updated: Oct 24 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More