Chart.AddLegend(String, String) Method

Definition

Adds a legend to the chart.

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

Parameters

title
String

The text of the legend title.

name
String

The unique name of the legend.

Returns

The chart.

Applies to