<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
不匹配
因此在呈现页面时不显示图表。
非常感谢一些帮助。