Chart.AddLegend(String, String) 方法

定義

將圖例新增至圖表。

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

圖例的唯一名稱。

傳回

圖表。

適用於