1

グラフを作成し、PNG ファイルとして保存しています。CFCHART で Y 軸ラベルを「通貨」としてフォーマットしようとしていますが、フォーマットが適用されません。

何が間違っている可能性がありますか?私は CF2018 を使用しています。バージョン: 2018,0,10,320417

<cfchart format="png" chartWidth="#chartWidth#" chartHeight="400" font="arial" yAxisValues="#yAxisVals#" xAxis="#labelRotateStruct#" labelformat="currency" showlegend="true" name="myDataChart">
    <cfloop list="#yearList#" index="x">
        <cfchartseries type="bar" seriesLabel="#x#">
            <cfloop collection="#dataStruct#" item="key">
                <cfset temp = dataStruct[key] />
                <cfchartdata item="#key#" value="#temp[x]#"/>
            </cfloop>
        </cfchartseries>
    </cfloop>
</cfchart>      

<cffile action="write" file="#application.linkMediaRoot#\reports\generated\charts\#chartFileName#" output="#myDataChart#">

チャートは次のようになります。labelformat="currency" を使用しているにもかかわらず、Y 軸に書式設定はありません。

ここに画像の説明を入力

4

0 に答える 0