[英]How do I select which series to display in an Excel chart with SpreadsheetLight?
[英]How do I change which Legend object is displaying this series?
數據可視化圖表
我有一個帶有2個ChartAreas的圖表控件。 但是所有圖例名稱都顯示在單個圖例對象中。
我知道如何創建第二個圖例對象,但是如何將序列與此第二個圖例對象相關聯,以便僅在第二個圖例對象中看到圖例條目?
您可以將其Legend
包含Series
僅僅是設置Series
“ Legend
特性:
Legend L2 = chart1.Legends.Add("L2");
someSeries.Legend = "L2";
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.