Chart.AddLegend(String, String) Chart.AddLegend(String, String) Chart.AddLegend(String, String) Method

Definition

Adds a legend to the chart.

public System.Web.Helpers.Chart AddLegend (string title = null, string name = null);
member this.AddLegend : string * string -> System.Web.Helpers.Chart
Public Function AddLegend (Optional title As String = null, Optional name As String = null) As Chart

Parameters

title
String String String

The text of the legend title.

name
String String String

The unique name of the legend.

Returns

The chart.

Applies to