A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Ranjith
Post
by Ranjith » Thu Oct 13, 2005 7:30 am
Hi all

,
I have data like this:
- Total Month Assigned Unassigned
------- ------- ----------- -------------
11051 September 10000 1051
7653 October 7000 2000
456 November 6000 500
I want to show them in StackedBarChart3D.
x-axis data: Sep Oct Nov etc... (All months)
y-axis data: Numbers starting from zero to a range(as shown above-TOTAL).
I want to show the status using stakced bars with different colors for assigned and unassigned.
I have to create the chart Using JFreeChart and display will be thru Cewolf. My Problem is how to display assigned and unassigned in the same bar with different colors?
Can anybody help me on this matter?

Thx in advance

.
-
pmlb
- Posts: 31
- Joined: Thu Aug 25, 2005 5:18 pm
- Location: France
Post
by pmlb » Thu Oct 13, 2005 5:10 pm
Hi,
You don't have to worry about this, the StackedBar does it for you.
Months are the categories while Assigned and Unassigned are two series and therefore displayed in same bars with different colors.
Pierre-Marie
-
Guest
Post
by Guest » Fri Oct 14, 2005 5:00 am
pmlb wrote:Hi,
You don't have to worry about this, the StackedBar does it for you.
Months are the categories while Assigned and Unassigned are two series and therefore displayed in same bars with different colors.
Hi,
Thank you for the response. I need to pass dynamci data to the chart. Can you give some code snippet for this.