Hi Steve,

I gave up using the cfchart tag ages ago.  It is too limiting.  I still use
webcharts3D but I use 2 different methods.

The main one is to design the style using the webcharts designer interface
(you will find it in {cfrootdir}/charting.  Once I have designed the chart
the way I want it then I save the chart style as xml and call it directly
using the jave api.  I can email you the code segment next week when I am
back at work.

The other method I have used, and provides alot of run time flexibility is
using the java API to build the chart model on the fly.  This is pretty
simple and gives you alot of runtime control over the chart.

Cheers,
Simon

On 29/12/06, Steve Onnis <[EMAIL PROTECTED]> wrote:


Simple enough chart

        <cfchart        showlegend="Yes"
                                yoffset=".05"
                                xoffset=".01"
                                chartwidth="600"
                                showygridlines="Yes"
                                showxgridlines="Yes"
                                fontsize="9"
                                show3d="Yes"
                                format="png"
                                seriesplacement="default"
                                showmarkers="No"
                                scalefrom="1"
                                font="Arial"  >
                <cfchartseries paintstyle="plain" type="line"
serieslabel="Value 1">
                        <cfchartdata item="a" value="1">
                        <cfchartdata item="b" value="2">
                        <cfchartdata item="c" value="3">
                        <cfchartdata item="d" value="4">
                        <cfchartdata item="e" value="5">
                </cfchartseries>

        </cfchart>

Although it seems under CF7, if the chart only has one series, the
label for the series does not display. Instead it only displays the
values of the "ITEM" attribute from the chart data tag, so instead of
having a legend of "Value 1", i get 5 items in the legend being a,b,c,d
and e which have all the same color.

Is this just me?  Under CFMX6.1, it looks like CFHART does not display
a legend at all if there is only a single chartseries in the chart.

Steve


>



--
Cheers
Simon Haddon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to