ChartBulletTargetBuilder
Methods
Width(System.Int32)
Sets the target width.
Parameters
width - System.Int32
The target width.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target
.Width(10)
)
)
)
Border(System.Int32,System.String,Kendo.Mvc.UI.ChartDashType)
Sets the target border
Parameters
width - System.Int32
The target border width.
color - System.String
The target border color (CSS syntax).
dashType - ChartDashType
The target border dash type.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target
.Border(1, "Red", ChartDashType.Dot)
)
)
)
Border(System.Action)
Configures the markers border
Parameters
configurator - System.Action<ChartBorderBuilder>
The border configuration action
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target
.Border(border => border.Width(2))
)
)
)
Color(System.String)
Sets the color of the bullet chart target.
Parameters
color - System.String
The color of the bullet chart target.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target
.Color("Red");
)
)
)