Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要自定义我的 MS 图表控件的图例。为此,我正在填充 Legend 的 CustomItems 集合。这很好用。但是,当显示图例时,CustomItems 信息会附加到图例的默认内容中。
如何隐藏图例的默认内容?
谢谢 !
Chart1.Legends["Default"].Enabled = false;