Chart.AddLegend(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將圖例新增至圖表。
public System.Web.Helpers.Chart AddLegend (string title = default, string name = default);
member this.AddLegend : string * string -> System.Web.Helpers.Chart
Public Function AddLegend (Optional title As String = null, Optional name As String = null) As Chart
參數
- title
- String
圖例標題的文字。
- name
- String
圖例的唯一名稱。
傳回
圖表。