带有 dataLabelStyle 的 cfchart 饼图
根据此页面 http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-792e.html 您可以使用 dataLabelStyle ,它可以是“none”、“value”、“ rowLabel”、“columnLabel”或“模式”。但是,每当我使用“rowLabel”、“columnLabel”或“pattern”时,图像都不会显示。没有错误,只有图像应该在的空白画布。有谁知道如何解决这个问题?
谢谢
According to this page http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-792e.html you can use a dataLabelStyle which can be "none", "value", "rowLabel", "columnLabel" or "pattern". However whenever i use "rowLabel", "columnLabel" or "pattern" the image doesn't show. There is no error, just a blank canvas where the image should be. Does any one know how to work around this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,我发现当我添加图例属性放置时,即图表消失的时候。图例显示了指示的位置,但没有图表。
我终于弄清楚该怎么做了,我从头开始使用最基本的饼图和本页的示例:
WebCharts3D Piecharts
我发现XML 文件中元素的顺序是问题所在。
这就是我的 XML 文件现在的样子及其工作原理:
I had the same problem, and I found that when I add the legend attribute placement, that is when the chart disappears. The legend shows with the placement indicated, but no chart.
I finally figured out what to do, I started from scratch with the bare minimum pie chart with examples from this page:
WebCharts3D Piecharts
And I discovered that the order of the elements in the XML file was the issue.
This is how my XML file is now and it works:
对五(5)种风格的测试对我来说效果很好。
也许这是你的代码?可能不是版本问题,因为 dataLabelStyle 是 在 MX7 中引入。
This test of the five(5) styles works fine for me.
Maybe it is your code? Probably not a version problem as dataLabelStyle was introduced back in MX7 .