我正在使用XML样式在我的cfchart上绘制两条线。由于某些未知的原因,线路没有显示。我以前用不同的图表做过这样的事情,从来没有遇到过这个问题。请帮帮我!
代码:
<cfset xmlStyle = '<?xml version="1.0" encoding="UTF-8"?><frameChart is3D="false">
<frame type="none" isHStripVisible="true" stripColor="##F0F9FF" outline="black"/>
<elements drawOutline="false" drawShadow="true">
<series index="0">
<paint color="##00AEEF"/>
</series>
</elements>
<paint paint="Plain"/>
<xAxis>
<labelStyle orientation="Slanted"/>
</xAxis>
<insets left="5" top="5" right="5" bottom="5"/>
<legend isVisible="false"></legend>
<yAxis>
<limits index="1" min="75" max="76" color="red"/>
<limits index="2" min="50" max="51" color="yellow"/>
</yAxis>
</frameChart>'>
<cfchart format="flash" chartwidth="875" chartheight="400" scalefrom="0" scaleto="100" style="#xmlStyle#" xaxistitle="Date" yaxistitle="Score">
<cfchartseries type="line" query="myQyery" itemcolumn="myDate" valuecolumn="myScore" seriescolor="00AEEF"/>
</cfchart>发布于 2011-06-08 02:06:41
出于某种莫名其妙的原因,当从frame标签中删除以下内容时,这些行就出现了。
isHStripVisible="true" stripColor="##F0F9FF"如果有人能解释一下这种奇怪的行为,我将不胜感激!
https://stackoverflow.com/questions/6266588
复制相似问题