首页 > 慧问 > 频道

fusioncharts中导出组件属性怎么不起作用 ? 我是这样写的:[FusionCharts XT]

发表于2019-05-10 回复:0 查看:2489  |  
<pre class='brush: js'> <script type="text/javascript"> var exportComp = new FusionChartsExportObject("fcExporter1","../../swf/fusioncharts/FCExporter.swf","0","1"); exportComp.componentAttributes.fullMode = '1'; //Set saving type to individual exportComp.componentAttributes.saveMode = 'individual'; exportComp.componentAttributes.bgColor = '#DDffdd'; //Message - caption of export component exportComp.componentAttributes.showMessage = '1'; exportComp.componentAttributes.message = 'Export the chart first, and then click on this button to save'; //Title of button exportComp.componentAttributes.btnsavetitle = 'Save the chart'; exportComp.componentAttributes.btndisabledtitle = 'Waiting for export'; exportComp.render("exportDiv1"); </script></pre>
1个回答
  • 1970-01-01 08:00
    在每个Setter和Getter函数前面添加Q_INVOKABLE。
    1
    回复 举报
回复

登录 慧都网发表评论

扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP