Kendo.Mvc.UI.Fluent.ChartPieSeriesHighlightBuilder
Defines the fluent interface for configuring pie series highlight.
Methods
Border(System.Int32)
Sets the bubble highlight border width. The color is computed automatically from the base point color.
Parameters
width System.Int32
The bubble highlight border width.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series.Pie(s => s.Sales, s => s.DateString)
.Highlight(highlight => highlight.Border(2))
)
)
Border(System.Int32,System.String)
Sets the bubble highlight border width.
Parameters
width System.Int32
The border width.
color System.String
The border color
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series.Pie(s => s.Sales, s => s.DateString)
.Highlight(highlight => highlight.Border(2, "orange"))
)
)
Border(System.Action<Kendo.Mvc.UI.Fluent.ChartBorderBuilder>)
Configures the highlight border
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartBorderBuilder>
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series.Pie(s => s.Sales, s => s.DateString)
.Highlight(highlight => highlight.Border(border => border.Color("orange")))
)
)
Opacity(System.Double)
Sets the bubble highlight opacity.
Parameters
opacity System.Double
The bubble highlight opacity.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series.Pie(s => s.Sales, s => s.DateString)
.Highlight(highlight => highlight.Opacity(0.8))
)
)
Color(System.String)
Sets the pie highlight color.
Parameters
color System.String
The highlight color
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series.Pie(s => s.Sales, s => s.DateString)
.Highlight(highlight => highlight.Color("yellow"))
)
)