如何在图表图例(VB.NET)中显示五个序列表中的两个 [英] How to display two of five serieslist into legend of Chart (VB.NET)
本文介绍了如何在图表图例(VB.NET)中显示五个序列表中的两个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我有一个包含5个序列表的图表,现在我想将此图表的5个序列表中的3个显示在其图例中,但我不能.我只能显示全部.
如果您有任何可以解决此问题的解决方案,请帮助我
Hi all
I have a chart with 5 serieslists and now I want to show 3 of 5 serieslists of this chart into its legend, but i can not. I can only show all.
if you have any solution which can resolve this problem, please help me
thank you very much!
推荐答案
,您可以使用以下方法从图表中删除不需要的图例:
you can remove the unwanted legends from the chart using this:
Chart1.Legends.RemoveAt(<<Index Position of Legend>>);
这篇关于如何在图表图例(VB.NET)中显示五个序列表中的两个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文