New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent interface for configuring bubble series highlight.

Definition

Constructors

Initializes a new instance of the ChartBubbleSeriesHighlightBuilder class.

C#
public ChartBubbleSeriesHighlightBuilder(ChartSeriesHighlight highlight)
Parameters:highlightChartSeriesHighlight

The series highlight.

Methods

Defines the border configuration of the highlight.

C#
public ChartBubbleSeriesHighlightBuilder Border(Action<ChartBorderBuilder> configurator)
Parameters:configuratorAction<ChartBorderBuilder>

The action that configures the border options.

Returns:

ChartBubbleSeriesHighlightBuilder

Example:
C#
@(Html.Kendo().Chart&lt;ChartViewModel&gt;()
.Name("Chart")
.Series(series =&gt; series
.Bubble(s =&gt; s.x, s =&gt; s.y, s =&gt; s.size)
.Highlight(h=&gt;h.Border(border=&gt;border.Width(2)))
)
)

Sets the border width and color of the bubble highlight.

C#
public ChartBubbleSeriesHighlightBuilder Border(int width, string color)
Parameters:widthint

The border width.

colorstring

The border color

Returns:

ChartBubbleSeriesHighlightBuilder

Example:
C#
@(Html.Kendo().Chart&lt;ChartViewModel&gt;()
.Name("Chart")
.Series(series =&gt; series
.Bubble(s =&gt; s.x, s =&gt; s.y, s =&gt; s.size)
.Highlight(h=&gt;h.Border(2, "#33ccff"))
)
)

Sets the border width of the bubble highlight.

C#
public ChartBubbleSeriesHighlightBuilder Border(int width)
Parameters:widthint

The value of the width.

Returns:

ChartBubbleSeriesHighlightBuilder

Example:
C#
@(Html.Kendo().Chart&lt;ChartViewModel&gt;()
.Name("Chart")
.Series(series =&gt; series
.Bubble(s =&gt; s.x, s =&gt; s.y, s =&gt; s.size)
.Highlight(h=&gt;h.Border(2))
)
)

Sets the opacity of the bubble highlight.

C#
public ChartBubbleSeriesHighlightBuilder Opacity(double opacity)
Parameters:opacitydouble

The value of the opacity.

Returns:

ChartBubbleSeriesHighlightBuilder

Example:
C#
@(Html.Kendo().Chart&lt;ChartViewModel&gt;()
.Name("Chart")
.Series(series =&gt; series.Bubble(s =&gt; s.x, s =&gt; s.y, s =&gt; s.size).Highlight(h=&gt;h.Opacity(0.5)))
)