ChartLegendItemMarkersBorderSettingsBuilder
Methods
Color(System.String)
The configuration of the Chart legend item markers border.
Parameters
value - System.String
The value for Color
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Legend(legend => legend.Item(item => item.Markers(m => m.Border(b => b.Color("green")))))
)
ColorHandler(System.String)
The configuration of the Chart legend item markers border.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Legend(legend => legend.Item(item => item.Markers(m => m.Border(b => b.ColorHandler("colorHandler")))))
)
ColorHandler(System.Func)
The configuration of the Chart legend item markers border.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Legend(legend => legend.Item(item => item.Markers(m => m.Border(b => b.ColorHandler(
@<text>
function(e) {
//event handling code
}
</text>
))))))
DashType(Kendo.Mvc.UI.ChartDashType)
The dash type of the legend item border.
Parameters
value - ChartDashType
The value for DashType
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Legend(legend => legend.Item(item => item.Markers(m => m.Border(b => b.DashType(ChartDashType.Dash)))))
)