ChartBulletTargetBuilder
Methods
Width(System.Int32)
Sets the target width.
Parameters
width - System.Int32
The value that configures the width.
Example
@(Html.Kendo().Chart<ChartViewModel>()
.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 border width.
color - System.String
The border color (CSS syntax).
dashType - ChartDashType
The border dash type.
Example
@(Html.Kendo().Chart<ChartViewModel>()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target
.Border(1, "red", ChartDashType.Dot)
)
)
)
Border(System.Action)
Defines the configuration of the target border.
Parameters
configurator - System.Action<ChartBorderBuilder>
The action that configures the border settings.
Example
@(Html.Kendo().Chart<ChartViewModel>()
.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<ChartViewModel>()
.Name("Chart")
.Series(series => series
.Bullet(s => s.Current, s => s.Target)
.Target(target => target.Color("green"))
)
)