Error Occurred While Processing Request For input string: "2013-07-11".
<cfchartseries itemColumn="COUNT" valueColumn="Timestamp" ...>
The Y-Axis value should be numeric. The string "2013-07-11" is obviously not numeric, hence the error. Looks like you accidentally swapped itemColumn
and valueColumn
.
Update:
The chart code posted works fine with date strings and numeric counts (once you swap item/value).
<cfset qQuery = queryNew("")>
<cfset queryAddColumn(qQuery, "TimeStamp", "date", listToArray("2013-07-30,2013-08-01,2013-08-02"))>
<cfset queryAddColumn(qQuery, "Count", "integer", listToArray("10,8,6"))>
<cfchart format="flash" chartwidth="500" chartheight="500" showxgridlines="no">
<cfchartseries type="line"
itemColumn="Timestamp"
valueColumn="Count"
query="qQuery" />
</cfchart>
So if it is not working for you, you are doing something different in the code than what you have shown us. Please update your question with a small, self-contained, example that demonstrates the problem. Also "not working" is very vague description. You need to tell what IS happening and how it differs from what you expected. ie Actual versus expected results.