Defines the fluent interface for configuring the chart markers.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TBuilder
Syntax:
public abstract class ChartMarkersBuilderBase<TBuilder> where TBuilder : ChartMarkersBuilderBase<TBuilder>
Inheritance: objectChartMarkersBuilderBase<TBuilder>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the ChartMarkersBuilderBase<TBuilder> class.
protected ChartMarkersBuilderBase(ChartMarkers chartLineMarkers)
The line chart markers configuration.
Methods
The background color of the current series markers.
public TBuilder Background(string backgorund)
The background color of the current series markers. The background color is series color.
Returns:TBuilder
Sets the function used to retrieve marker background.
public TBuilder BackgroundHandler(string backgroundFunction)
The JavaScript function that will be executed to retrieve the background of each marker.
Returns:TBuilder
Configures the markers border
public TBuilder Border(Action<ChartBorderBuilder> configurator)
The border configuration action
Returns:TBuilder
Sets the markers border
public TBuilder Border(int width, string color, ChartDashType dashType)
The markers border width.
colorstringThe markers border color (CSS syntax).
dashTypeChartDashTypeThe markers border dash type.
Returns:TBuilder
The border radius in pixels when type is set to "roundedRect". Defaults to 1/5 of the marker size.
public TBuilder BorderRadius(double value)
The value for BorderRadius
Returns:TBuilder
Sets the markers rotation angle.
public TBuilder Rotation(int rotation)
The markers rotation angle.
Returns:TBuilder
Sets the markers size.
Sets the markers shape type.
public TBuilder Type(ChartMarkerShape type)
The markers shape type.
Returns:TBuilder
Sets the markers visibility
public TBuilder Visible(bool visible)
The markers visibility.
Returns:TBuilder
Sets the marker JavaScript visual handler
public TBuilder Visual(string handler)
The handler name.
Returns:TBuilder
An optional Z-index that can be used to change the default stacking order of the markers.
An optional Z-index that can be used to change the default stacking order of the markers.
public TBuilder ZIndexHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:TBuilder