CFchart意外地关闭了我的笔记本电脑

时间:2011-03-28 01:53:12

标签: coldfusion coldfusion-8 cfchart

在这些日子里,我在笔记本电脑中遇到了有关CFChart的问题。因为无论什么时候我在我的latop中运行(打开)CFChart,它会意外关闭并出现蓝屏,就像内存泄漏一样。

PS:Oracle 10g和CF8也同样安装在这个latop中。

1 个答案:

答案 0 :(得分:0)

现在,我已经找到了为什么我的笔记本电脑在运行编码后关闭了。这是因为以下编码而且我保存为“style.cfm”并将其包含在我的图表文件中。

<cfsavecontent variable="theme">
<?xml version="1.0" encoding="UTF-8"?>
<pieChart depth="Double" style="Solid" type="SmallNut" angle="0">
    <dataLabels style="Pattern" placement="outside" autoControl="false" font="Arial-10">
        <![CDATA[
        $(colPercent)
      ]]>
    </dataLabels>
    <legend spacing="0" placement="Right" halign="Right">
        <decoration style="None"/>
    </legend>
    <elements drawOutline="false">
        <morph morph="Grow"/>      
    </elements>

    <table>
        <heatmap isEnabled="false" minLevel="0.0" maxLevel="0.0"/>
    </table>

    <popup background="white" foreground="black"/>            
    <decoration foreColor="#B200B2"/>
    <paint palette="Pastel" paint="plain"/>
</pieChart>
<cfsavecontent>

所以,我已删除 并保存为xml文件。然后,再次渲染后100%工作。我无法说服为什么我的笔记本电脑只能关闭以上编码。

相关问题