coldfusion - Actual XML file location while dealing with CFchart -


could tell me whether need place xml file in separate directory while working coldfusion? right have kept xml file in same directory have .cfm file. when run file(cfm) says,

could not locate style file filename.xml 

here error:

could not locate style file verticalxlabels.xml. ensure file exists , readable.

the error occurred in c:\path\testing_connections.cfm: line 296 called c:\path\testing_connections.cfm: line 271 called c:\path\testing_connections.cfm: line 1  294 :         <cfchartseries  query="detail4" type="line" itemcolumn="fifthconn " valuecolumn="fifthoccurances" >  295 :        <cfchartseries  query="detail5" type="line" itemcolumn="sixthconn" valuecolumn="sixthoccurances" >    296 :        <cfchartseries  query="detail6" type="line" itemcolumn="seventhconn" valuecolumn="seventhoccurances" > 297 :   </cfchartseries>   298 : </cfchart>   

according documentation here, can put xml file anywhere like, however, must able access if using cfinclude.

coldfusion uses same rules chart style xml files files included using cfinclude tag.


Comments