Defines the fluent interface for configuring the chart labels.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ChartLegendLabelsBuilder
Inheritance: objectChartLegendLabelsBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartLegendLabelsBuilder class.
C#
public ChartLegendLabelsBuilder(ChartLegendLabels legendLabels)
The labels configuration.
Methods
Sets the labels text color
C#
public ChartLegendLabelsBuilder Color(string color)
The labels text color.
Returns:Sets the labels font
C#
public ChartLegendLabelsBuilder Font(string font)
The labels font (CSS format).
Returns:Sets the labels padding
C#
public ChartLegendLabelsBuilder Padding(int padding)
The labels padding.
Returns:Sets the labels template.
C#
public ChartLegendLabelsBuilder Template(string template)
The labels template.
Returns: