The problem with OpenBD (and probably Railo too) is that you used different 
names for the items in the two series. If you change the second series to use 
winter, spring, summer and autumn instead of winter2, spring2, summer2 and 
autumn2 then it should behave as you expect.

Paul

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Ryan Stille
Sent: Friday, May 01, 2009 9:50 PM
To: Open BlueDragon
Subject: [OpenBD] charting support - multiple series?


I am doing some tests, comparing charts between cfusion, railo and
openbd. Simple charts seem to work great in all three.  It seems that
openbd and Railo don't really support charting more than 1 chart
series?  When I chart two chart series in Adobe CF it compares the two
series side by side. But in railo/openbd it just list all the items
together as if it were one series.  But I haven't done a whole lot
with charting before so maybe I'm doing it wrong.  I'm looking for
some tips, or confirmation that this is just the way it works.  Are
there plans to add some more features to charting to make it more
compatible with Adobe CF?

Here is my code:
<cfchart title="Rainfall Amounts">
 <cfchartseries type="bar" colorlist="3366FF,FF3399,green,FF6600">
  <cfchartdata item="winter" value="30">
  <cfchartdata item="spring" value="36">
  <cfchartdata item="summer" value="40">
  <cfchartdata item="autumn" value="33">
 </cfchartseries>

 <cfchartseries type="bar" colorlist="red,green,blue,black">
   <cfchartdata item="winter2" value="25">
   <cfchartdata item="spring2" value="18">
   <cfchartdata item="summer2" value="35">
   <cfchartdata item="autumn2" value="29">
 </cfchartseries>
</cfchart>

Here is what it produces in Adobe CF:
http://img15.imageshack.us/img15/116/chartcfusion.jpg

Here is OpenBD:
http://img15.imageshack.us/img15/3240/chartopenbd.jpg

Here is Railo:
http://img362.imageshack.us/img362/722/chartrailo.png




--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to