私のアプリケーションには多くのチャートがあります。y 軸を json でより動的にする方法はありますか。私はcoldfusion 11を使用しています。私のコードを見てください
<cfchart
format="#format#"
chartheight="320" chartwidth="690" showborder="yes"
title="Trend in Subject Rents" style="20currency.js" name="TwntyQtrGraph1" tipstyle="mouseOver"
tooltip="#Deserializejson(stc_fields)#" gridlines="#GraphInterval#">
<cfchartseries type="line"
serieslabel="Gross"
seriescolor="navy" markerStyle="diamond" paintStyle="plain" >
<cfloop query="qry_subproperty">
<cfset variables.Yearquarter=ObjPropDetails.JoinYearQuarter(qry_subproperty.Yearquarter)>
<cfchartdata item="#variables.Yearquarter#" value="#round(qry_subproperty.Gross)#" >
</cfloop>
</cfchartseries>