hello all, i did a search on this but found nothing
i am running ubuntu 10.04
railo 3.2.3 final
Anyway, I am trying to figure out if this is a coldfusion vs server type error
I am trying to create a line chart. I try to fill up cfchart series from some items I am pulling from my database. When I do this, the following message is shown: Band count exceeds non-unity number of constants.
When I restrict it to just one single item in the cfchartseries, it still gives the same message. How does one properly use the cfchart?
You are probably not getting much of a response because this forum is for Adobe ColdFusion questions. The best place for Railo specific questions is their mailing list
<cfset userEntries = functionsObj.getNumUserEntries(session.user_id)>
<cfif userEntries GTE 8>
<cfchart format = "png" showborder="yes" chartheight="300" chartwidth="400"
yaxistitle="Estimated strength for day" xaxistitle="day">
<cfloop index="i" from="1" to="4">
<cfset lift = functionsObj.getCoreLiftsForDay(i)>
<cfchartseries type="line" serieslabel="#functionsObj.getLiftNameFromId(i)#">
<cfif WAVE NEQ 4>
<cfchartdata item="C#CYCLE#W#WAVE#" value="#functionsObj.findMax(WEIGHT3,REPS,i)#">
You must log some more information before statistics can be gathered.
One thing that has changed: I put in format="png" and now I no longer get the error, the page displays but with a broken image where the chart should be.
There is no divide by zero going on, I have verified this.
Well this is getting over my head...
That said, two observations:
Why are you including application.cfm?it should load automatically and
this cfinclude would run it twice.
If it's running fine on other browsers it's not likely the problem is
not likely with your use of tags.
If I were you I'd pose the question an the advanced forum instead of
getting started. And emphisise the browser platform issue. Also try tek-tips.com