Skip to main content
Known Participant
July 19, 2018
Question

ColdFusion 2018 CFCHART format="html" is not rendering graph

  • July 19, 2018
  • 3 replies
  • 3671 views

Server side, I am using developer edition on a Windows 10 64 bit VM.  I installed CF using the Developer Profile option, with defaults selected.

Client side, web browser is Chrome on MacOS X

Yes, I am an admin on the box.

Yes, I ran the installer as admin.

Yes, I tried to run the CF service under a local admin account.

No, there is no error in the console.

Yes, /cf_scripts/scripts/chart/cfchart.js is loading as it should, though with a 304 response code.

format="png" is working.

Any ideas?

Thanks!

Alberto

This topic has been closed for replies.

3 replies

Known Participant
July 23, 2018

I created a bug for the bug tracker to get version 2018 added to the version menu for the CF product:

https://tracker.adobe.com/#/view/TKR-205

Priyank Shrivastava.
Community Manager
Community Manager
July 23, 2018

Hi Alberto,

I can see the issue with ColdFusion 2018 with DOCTYPE+cfchart, it is not rendering the chart, however, as you suggested, I removed the DOCTYPE and it started to work.

As Dattanand is already responded here, I will work with him to provide any reproducible case if needed.

Thanks for the input.

Thanks,

Priyank Shrivastava

Thanks, Priyank Shrivastava
Known Participant
July 23, 2018

Hi Priyank,

I would like to file this as a bug.  Can you please help getting 2018 added to the version selection in the bug tracker?

https://tracker.adobe.com/#/view/TKR-205

Thanks!

Alberto

Known Participant
July 23, 2018

Tried logging a bug, but the bug tracker does not have version 2018 as an option.

Does anyone know who can get that fixed?

Thanks!

Alberto

dattanandb56935331
Participating Frequently
July 23, 2018

Hi Alberto,

                       I followed the steps shared by you on Mac OS (10.13.5) and it worked fine with and without connector.

Code snippet :

<cfchart format="html" type="bar" showlegend="false" chartHeight="400" chartWidth="600" title="Sales report">

    <cfchartseries>

        <cfchartdata item="2012" value=#randrange(10,100)#>

        <cfchartdata item="2013" value=#randrange(10,100)#>

        <cfchartdata item="2014" value=#randrange(10,100)#>

        <cfchartdata item="2015" value=#randrange(10,100)#>

        <cfchartdata item="2016" value=#randrange(10,100)#>

        <cfchartdata item="2017" value=#randrange(10,100)#>

    </cfchartseries>

</cfchart>

Attaching the screen-shot

chart

 

Let me know if I am missing anything here. Please share with us the screen-shot and code snippet.

Thanks,

Dattanand Bhat

Known Participant
July 23, 2018

Hi Dattanand,

It appears the doctype tag is preventing the chart from rendering with the html attribute for some reason.

If I remove the line below, the chart renders.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I tried stripping it down to <!DOCTYPE html> , but that did not help.

Suggestions?

Thanks!

Alberto

WolfShade
Legend
July 23, 2018

What error messages, if any, do you get when using <!DOCTYPE html>?

V/r,

^ _ ^