I only use servlets with CFMX (both java, both talk to each other 
nicely, server processing goes quickly and is not dependent on client 
software package,  and the resulting .png or .jpg images can be cached 
on the server).  There's no registering classes, just dump your charts 
directory in [cfroot]\lib, mine is named javachart (can't remember if it 
was kavachart and I renamed it), so you just call 
javachart.servlet.twinAxisStackBarLineApp (for example).

   <cfobject type="Java" action="CREATE" 
CLASS="javachart.servlet.twinAxisStackBarLineApp" name="chart">
      <cfscript>
      tmp = this.chart.setProperty("width", 800);
     //... etc
     </cfscript>

If you want to make it even easier, throw all your default settings into 
a graphs.cfc,  make the dynamic settings into arguments, and have the 
cfc make the object call and setProperty calls.

Pros?  Quick, flexible, a large library of pre-made classes and graph 
types, server side, outputs to PNG, expandable, works flawlessly with 
CFMX - install is non-existant, I never get errors from my charts once 
they work.

Cons?  A large number of charts, but they're not always well documented 
b/c I'd imagine they were all written by different people.  For example, 
you can spend a good amount of time discovering whether *this* dualAxis 
graph that you've never used uses "barAxis" and "auxAxis", or "yAxis" 
and "auxAxis", or "barAxis" and "yAxis", even though the documentation 
says all graphs should behave a certain way.  This becomes negligible 
after you familiarize yourself with the various types - I find myself 
using 3 or 4 for 95% of my charts, and after using kavachart for years 
now I know exactly how they all behave.

HTH,
-Jeff


Michael Carluen (michaelc) wrote:

>Anyone have general pros/cons comments, tips, suggestions, problems,
>etc.. on using KavaChart applets on CFMX?  Many thanks!!
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216377
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to