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

图例的唯一名称。

返回

图表。

适用于