开发者

Microsoft Chart Controls legend

开发者 https://www.devze.com 2022-12-29 22:22 出处:网络
Using Microsoft Chart Controls, is it possible to be able to remove a series from a chart by clicking on it in the lege开发者_StackOverflow中文版nd, or do I have to create a separate control for that?

Using Microsoft Chart Controls, is it possible to be able to remove a series from a chart by clicking on it in the lege开发者_StackOverflow中文版nd, or do I have to create a separate control for that?


In the event handler call the HitTest and if it is Legenditem remove the series.


Handling the click event may solve the problem but leads to a confusing UI. You may need a special control with some checkbox beside each series. MSChartWrapper may solve this problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消