Defines the fluent interface for configuring bullet series.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
The type of the data item
Syntax:
public class ChartBulletSeriesBuilder<T> : ChartDrillDownBuilderBase<IChartBulletSeries, ChartBulletSeriesBuilder<T>> where T : class
Inheritance: objectChartDrillDownBuilderBase<IChartBulletSeries, ChartBulletSeriesBuilder<T>>ChartBulletSeriesBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartBulletSeriesBuilder<T> class.
public ChartBulletSeriesBuilder(IChartBulletSeries series)
The series.
Properties
Gets or sets the series.
public IChartBulletSeries Series { get; }
The series.
Methods
Sets the name of the value axis for the series.
public ChartBulletSeriesBuilder<T> Axis(string axis)
The value that sets the axis name.
Returns:Sets the border of the bullets.
public ChartBulletSeriesBuilder<T> Border(int width, string color, ChartDashType dashType)
The border width.
colorstringThe border color (CSS syntax).
dashTypeChartDashTypeThe border dash type.
Returns:Sets the bullet fill color.
public ChartBulletSeriesBuilder<T> Color(string color)
The value that sets the bullet color (CSS syntax).
Returns:Sets the Model property that holds the color for the series.
public ChartBulletSeriesBuilder<T> ColorField(string colorField)
The name of the Model property.
Returns:Sets the function used to retrieve point color.
public ChartBulletSeriesBuilder<T> ColorHandler(string colorFunction)
The JavaScript function that will retrieve the color of each point.
Returns:Sets the Model property that holds the current value.
public ChartBulletSeriesBuilder<T> CurrentField(string currentField)
The name of the Model property.
Returns:Sets a distance between the category clusters.
A value of 1 means that there is a total of 1 bullet width / vertical bullet height between categories. The distance is distributed evenly on each side. The default value is 1.5Defines the configuration of the series labels.
public ChartBulletSeriesBuilder<T> Labels(Action<ChartBulletLabelsBuilder> configurator)
The action that configures the label settings.
Returns:Sets the series title displayed in the legend.
public ChartBulletSeriesBuilder<T> Name(string name)
The value that configures the Name option.
Returns:Sets the Model property that holds the note text for the series.
public ChartBulletSeriesBuilder<T> NoteTextField(string noteTextField)
The name of the Model property.
Returns:Sets the series opacity.
public ChartBulletSeriesBuilder<T> Opacity(double opacity)
The series opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.
Returns:Sets the bullet effects overlay.
public ChartBulletSeriesBuilder<T> Overlay(ChartBarSeriesOverlay overlay)
The enum value that configures the overlay.
Returns:The chart series pattern configuration options.
public ChartBulletSeriesBuilder<T> Pattern(Action<ChartSeriesPatternSettingsBuilder> configurator)
The configurator for the Pattern setting.
Returns:Sets a value indicating the distance between the bullets within a category.
public ChartBulletSeriesBuilder<T> Spacing(double spacing)
Value of 1 means that the distance between bullets is equal to their width. The default value is 0
Returns:Defines the configuration options of the series target.
public ChartBulletSeriesBuilder<T> Target(Action<ChartBulletTargetBuilder> configurator)
The action that configures the target options.
Returns:Sets the Model property that holds the target value.
public ChartBulletSeriesBuilder<T> TargetField(string targetField)
The name of the Model property.
Returns:Defines the configuration of the tooltip for the series.
public ChartBulletSeriesBuilder<T> Tooltip(Action<ChartTooltipBuilder> configurator)
The action that configures the tooltip options.
Returns:Sets the visibility of the data point tooltip.
public ChartBulletSeriesBuilder<T> Tooltip(bool visible)
A value indicating if the data point tooltip must be displayed. The tooltip is not visible by default.
Returns: