Defines the fluent interface for configuring pyramid series.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
The type of the data item
Syntax:
public class ChartPyramidSeriesBuilder<T> where T : class
Inheritance: objectChartPyramidSeriesBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartPyramidSeriesBuilder<T> class.
public ChartPyramidSeriesBuilder(IChartPyramidSeries series)
The series.
Properties
Gets or sets the series.
public IChartPyramidSeries Series { get; }
The series.
Methods
Configures the pyramid border
public ChartPyramidSeriesBuilder<T> Border(Action<ChartBorderBuilder> configurator)
The border configuration action
Returns:Sets the pyramid segments border
public ChartPyramidSeriesBuilder<T> Border(int width, string color, ChartDashType dashType)
The pyramid segments border width.
colorstringThe pyramid segments border color (CSS syntax).
dashTypeChartDashTypeThe pyramid segments border dash type.
Returns:Sets the dynamic height of the pyramid chart.
public ChartPyramidSeriesBuilder<T> DynamicHeight(bool dynamicHeight)
A boolean parameter for the dynamic height of a pyramid serie.
Returns:Configures the pyramid chart labels.
public ChartPyramidSeriesBuilder<T> Labels(Action<ChartPyramidLabelsBuilder> configurator)
The configuration action.
Returns:Sets the visibility of pyramid chart labels.
public ChartPyramidSeriesBuilder<T> Labels(bool visible)
The visibility. The default value is false.
Returns:Sets the name of the series.
public ChartPyramidSeriesBuilder<T> Name(string text)
The text for a pyramid serie.
Returns:Sets the opacity of the pyramid series.
public ChartPyramidSeriesBuilder<T> Opacity(double opacity)
The opacity for a pyramid serie.
Returns:The chart series pattern configuration options.
public ChartPyramidSeriesBuilder<T> Pattern(Action<ChartSeriesPatternSettingsBuilder> configurator)
The configurator for the Pattern setting.
Returns:Sets the data item field which contains the series pattern configuration for individual chart segments.
public ChartPyramidSeriesBuilder<T> PatternField(string value)
The data item field which contains the series pattern configuration for individual chart segments
Returns:Sets the segmentSpacing of the chart.
public ChartPyramidSeriesBuilder<T> SegmentSpacing(double segmentSpacing)
The segment spacing for a pyramid serie.
Returns:Configure the series tooltip.
public ChartPyramidSeriesBuilder<T> Tooltip(Action<ChartTooltipBuilder> configurator)
Use the configurator to set the tooltip options.
Returns:Sets the tooltip visibility.
public ChartPyramidSeriesBuilder<T> Tooltip(bool visible)
A value indicating if the tooltip should be displayed.
Returns:Sets the series visual handler
public ChartPyramidSeriesBuilder<T> Visual(string handler)
The JavaScript function name.
Returns: