<cfchart format="png"
backgroundcolor="white"
title="My Chart"
showxgridlines="false"
showygridlines="false"
chartwidth="380"
chartheight="250"
yaxistitle="(value1)"
showborder="true"
gridlines="5"
showmarkers="no"
style="../jscript/ApstatBar_vac.js"
>
<cfchartseries serieslabel="title1" type="bar" datalabelstyle="value" seriescolor="##B4B2B2">
<cfloop index="counter1" from=1 to="#arraylen(xleavles_grph)#" step="1">
<cfchartdata item="#xleavles_grph[counter1]#" value="#ser1Values_grph[counter1]#" >
</cfloop>
</cfchartseries>
<cfchartseries serieslabel="title2" type="line" datalabelstyle="value" seriescolor="blue">
<cfloop index="counter1" from=1 to="#arraylen(xleavles_grph)#" step="1">
<cfchartdata item="" value="#ser2Values_grph[counter1]#" >
</cfloop>
</cfchartseries>
我收到错误消息:
cfchartseries 与当前父项 cfchart 不匹配
因此,在呈现页面时不会显示图表。
一些帮助将不胜感激。