如何在图表上设置图例 [英] How To Set Legends on Chart
问题描述
我在.net 3.5框架工作中使用图表控件.我已经为迷你图开发了图表,唯一的问题是我希望将milstones设置为迷你图.因此,我想使用图例作为里程碑.
I am using chart control in .net 3.5 frame work. i had developed chart for sparkline only the issue is i want yo set milstones to the sparkline.So i want to use legends as milestons.
推荐答案
尝试:
chart.Legend = "WebChart information";
根据您提供的有限信息,请看这里:
WebChart控件示例 [ .NET Framework的Microsoft图表控件包含200多个示例 [
Based o the limited information you have provided look here:
WebChart Control Sample [^]
Microsoft Chart Controls for .NET Framework contains over 200 samples [^]
P.S.:
Typing everything in capital letters might be your *STYLE* but that is considered as SHOUTING in professional world. Thus asking/writing anything in CAPS here means you are shouting, which is RUDE.
You should think about chaning YOUR STYLE atleast while posting in CodeProject.
这篇关于如何在图表上设置图例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!