CFCHART producing a blank screen
- November 27, 2023
- 3 replies
- 2034 views
I am displaying a chart using CFCHART. It works fine in local development on CF2016 Developer edition, however when I run the code on the server (also CF2016) I just get a blank white screen.
Looking at the source code, everything appears to be there
I looked at the CF Administrator and the "Charting" settings are the same. I don't see anything else that is related to the charts.
I stripped it back to a very basic call for a chart with no data which will display an empty graph, this works on the local side (see attached screenshot), but not on the server, again, a white screen, no graph.
Code below.
<CFCHART
title="My Graph"
format="html"
show3d="no"
showlegend="yes"
chartheight="400"
chartwidth="500"
labelFormat = "number"
showborder="true"
pieSliceStyle="sliced"
sortXAxis = "yes">
<cfchartseries type="bar" dataLabelStyle="pattern" seriescolor="4199d1" valuecolumn="totalclicks" itemcolumn="click_country">
</cfchartseries>
</cfchart>
It's not throwing and error, the source looks okay, and I don't see any errors in the log either.
Anybody have any ideas?
