仅从FusionChart隐藏特定的传奇
如何从多系列Fusionchart中隐藏特定的传奇。实际上,我想从图表中删除一个特定的系列,在导出时,我需要在Excel表上显示。因此,我的计划是从图表中隐藏的初始时间,然后从传奇部分删除该传说。
我已经使用'最初隐蔽'=> 1,
属性,那个时候它将在图表中显示。现在,我也想从传奇中删除该系列名称。
JSFIDDLE:
How to hide a specific legend from multi-series fusionChart. Actually I want to remove a specific series from chart, when exporting I need to show that on excel sheet. So my plan is initial time hide from the chart then remove that legend from legend section.
I have used 'initiallyhidden' => 1,
property, that time it will not shown in the chart. Now I want to remove that series name from legend also.
JSFiddle: http://jsfiddle.net/oL2u3vbd/1/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以操纵数据源中的类别,并在准备导出到Excel时动态更改图表的数据源。您只需要确保恢复更改,以免影响可见图表。
这是一个示例,您会看到
dec的序列没有。 2013
在图表上,但是当您导出数据时,将包括数据。You can manipulate the categories within the datasource and dynamically change the chart's datasource when readying to export to excel. You just have to make sure to revert the change so it doesn't affect the visible chart.
Here is a example, You'll see there's not series for
Dec. 2013
on the chart but when you export it that data is included.https://jsfiddle.net/xv3ps9b5/3/