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
图例的唯一名称。
返回
图表。