cfchart

Set Bar color according to data in CF chart

匆匆过客 提交于 2020-01-25 18:12:16
问题 I am creating a bar graph in CF11 .Is it possible to give different colors for the different bars in CFchartseries according to the data. <cfchartseries serieslabel="Rent" type="bar" colorlist="barcolr_list"> <cfloop index="counter" from=1 to="#ArrayLen(PropName_arry)-1#" step="1"> <cfchartdata item="#PropName_arry[counter]#" value="#Grossrent_arry[counter]#" > </cfloop> </cfchartseries> I read in docs that the colorlist attribute is available for pie,pyramid..etc graph . How can i set

Set Bar color according to data in CF chart

十年热恋 提交于 2020-01-25 18:09:52
问题 I am creating a bar graph in CF11 .Is it possible to give different colors for the different bars in CFchartseries according to the data. <cfchartseries serieslabel="Rent" type="bar" colorlist="barcolr_list"> <cfloop index="counter" from=1 to="#ArrayLen(PropName_arry)-1#" step="1"> <cfchartdata item="#PropName_arry[counter]#" value="#Grossrent_arry[counter]#" > </cfloop> </cfchartseries> I read in docs that the colorlist attribute is available for pie,pyramid..etc graph . How can i set

cfchart not printing in PDF

落花浮王杯 提交于 2020-01-11 14:09:49
问题 I'm trying to print PDF from HTML using cfdocument. The code works fine when I access it through localhost, but when I use static IP to test it online on the same server it timeouts. I tried cfhtmltopdf it didn't timeouts but it doesn't generate the chart and shows "image missing icon". nor charts get generated nor images. text gets printed fine. And it takes like 20 to 30 seconds to generated the PDF when an image or chart is used. I tried this on CF11 32bit and 6bit both having same issue.

Actual XML file location while dealing with CFchart

耗尽温柔 提交于 2019-12-20 07:44:06
问题 Could anyone tell me whether I need to place xml file in a separate directory while working with coldfusion? Right now I have kept my xml file in the same directory where I have .cfm file. When I run the file(cfm) it says, Could not locate the style file filename.xml Here is the error: Could not locate the style file VerticalXLabels.xml. Ensure that the file exists and is readable. The error occurred in C:\PATH\Testing_Connections.cfm: line 296 Called from C:\PATH\Testing_Connections.cfm:

CfChart Stacked bars and unstacked Lines

百般思念 提交于 2019-12-13 01:51:42
问题 I am trying to create a CFChart with Stacked Bars and unstacked Lines. Have been trying to work around in the Webcharts Tool but no luck so far. In the example image all the series are seriesplacement=stacked , but I want to have the bars(Avg and TDD) as stacked and the lines (Max and Min) as seriesplacement=default . Is there a way to achieve the same in Cfchart? 回答1: If I am understanding correctly, just set the placement of the line series in your xml style: <?xml version="1.0" encoding=

Actual XML file location while dealing with CFchart

蹲街弑〆低调 提交于 2019-12-02 13:11:30
Could anyone tell me whether I need to place xml file in a separate directory while working with coldfusion? Right now I have kept my xml file in the same directory where I have .cfm file. When I run the file(cfm) it says, Could not locate the style file filename.xml Here is the error: Could not locate the style file VerticalXLabels.xml. Ensure that the file exists and is readable. The error occurred in C:\PATH\Testing_Connections.cfm: line 296 Called from C:\PATH\Testing_Connections.cfm: line 271 Called from C:\PATH\Testing_Connections.cfm: line 1 294 : <cfchartseries query="detail4" type=

cfchart not printing in PDF

自古美人都是妖i 提交于 2019-12-02 08:37:05
I'm trying to print PDF from HTML using cfdocument. The code works fine when I access it through localhost, but when I use static IP to test it online on the same server it timeouts. I tried cfhtmltopdf it didn't timeouts but it doesn't generate the chart and shows "image missing icon". nor charts get generated nor images. text gets printed fine. And it takes like 20 to 30 seconds to generated the PDF when an image or chart is used. I tried this on CF11 32bit and 6bit both having same issue. Even the simplest codes fails: <cfhtmltopdf> <!DOCTYPE html> <html> <body> <div class="pdf_logo" style=

Add a “Target Line” to a Coldfusion 8 CFChart Bar Graph

為{幸葍}努か 提交于 2019-12-02 07:32:29
问题 I have a Coldfusion CfChart Bar Graph, that has X-Axis = Questions, and Y-Axis = Scores (0-100), but what I want to do is add a a Target Score Line on the graph, that goes across the X-Axis at the Y-Axis 85 Mark. Is this possible at all? I noticed something similar for Javascript on here: How to create a line to show threshold in bar graph I was just wondering if it was possible to do something similar in Coldfusion. 回答1: Yes, you can generate background ranges by using a custom style. See

Add a “Target Line” to a Coldfusion 8 CFChart Bar Graph

戏子无情 提交于 2019-12-02 05:05:12
I have a Coldfusion CfChart Bar Graph, that has X-Axis = Questions, and Y-Axis = Scores (0-100), but what I want to do is add a a Target Score Line on the graph, that goes across the X-Axis at the Y-Axis 85 Mark. Is this possible at all? I noticed something similar for Javascript on here: How to create a line to show threshold in bar graph I was just wondering if it was possible to do something similar in Coldfusion. Yes, you can generate background ranges by using a custom style. See CFCHART-Tip--Background-Ranges ie Using the <limits> element <frameChart is3d="false"> <yAxis> <limits index=