开发者

How do I add labels to a Dundas Chart?

How to add labels to my graphs to indicate which series is what.

My clients don't want legends, they want the l开发者_Python百科abels on the chart area. Possibly with C#?


The easiest way to set labels is when you bind your data to the chart.

Eg. for a piechart (may be different on other types):

chart.Series["seriesName"].Points.DataBind(MyDataList, "xFieldPropertyName", "yFieldPropertyName", "Label=xFieldPropertyName{p2},LegendText=legendPropertyName");

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜