CFChart - Need to know how to pass NULL values from a query in CF11
HI Everyone,
I am really hoping this is an easy question to answer because I have been searching everywhere and all I try is not working.
I have a SQL query (created by Oracle DB) that creates multiple cfchartseries using date as the column item and a number for the value. My issue is there are null values for the value field but I need it to plot
<cfchartseries
label="LRF"
scales= "x,y"
>
<cfloop query="qTrend">
<cfif qTrend.LRF gt 0>
<cfchartdata item="#qTrend.report_date#" value="#qTrend.LRF#">
<cfelse>
(i have tried:
<cfchartdata item="#qTrend.report_date#" value=" ">
<cfchartdata item="#qTrend.report_date#" value="null">
<cfchartdata item="#qTrend.report_date#" value="">
<cfchartdata item="#qTrend.report_date#" value="0">
and none work)
</cfif>
</cfloop>
</cfchartseries>
The ERROR I get is
Attribute validation error for CFCHARTDATA. The value of the VALUE attribute is invalid. The value cannot be converted to a numeric because it is not a simple value.Simple values are booleans, numbers, strings, and date-time values
The Chart will display when I use the value ="0" but this pulls the line down instead of just STOPPING and then starting again when a numeric value is in the next record.
Here is my query

THANKS for help... I need it quickly if possible
JV

