Chart.AddLegend(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.