簡體   English   中英

我可以將圖例移到c#wpf圖表區域之外嗎?

[英]Can I move the legend outside of the Chart area c# wpf?

有什么方法可以將圖表圖例移出“圖表”區域?

如果解決方案存在,我需要后面的代碼。

謝謝。

您可以使用頭寸屬性

 chart1.Legends[0].Position.Width = 22; // set accordingly 
 chart1.Legends[0].Position.Height = 10;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM