Export (0) Print
Expand All

Chart.AddLegend Method

Adds a legend to the chart.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

public Chart AddLegend(
	string title,
	string name
)

Parameters

title
Type: System.String
The text of the legend title.
name
Type: System.String
The unique name of the legend.

Return Value

Type: System.Web.Helpers.Chart
The chart.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2014 Microsoft