New to Telerik UI for ASP.NET Core? Download free 30-day trial

Bullet Charts

The Telerik UI Bullet TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI Bullet Chart widget.

Bullet Charts represent a variation of the Bar Chart.

Getting Started

You can use the Bullet Chart component to visualize a comparison between an expected (target) and actual (current) value—for example, company profit, employee performance, weather data, and so on.

To create a Bullet series in the Chart component, use Bullet and VerticalBullet in the Series configuration.

Configuring the Axes

To configure the axes, use the CategoryAxis and ValueAxis settings. Multiple value axes are also supported.

        .Legend(legend => legend
        .Series(series => {
            series.Bullet(new double[][] { new double[] { 750, 762.5 }});
        .ChartArea(chartArea => chartArea.Margin(0))
        .CategoryAxis(axis => axis
            .MajorGridLines(lines => lines.Visible(false))
            .MajorTicks(lines => lines.Visible(false))
        .ValueAxis(axis => axis
            .MinorTicks(lines => lines.Visible(true))
            .MajorGridLines(lines => lines.Visible(false))
            .PlotBands(bands => {
        .Tooltip(tooltip => tooltip
            .Template("Maximum: #= # <br /> Average: #= value.current #")
    @addTagHelper *, Kendo.Mvc
    <kendo-chart name="chart">
                <major-grid-lines visible="false"/>
                <major-ticks visible="false"/>
            <series-item type="ChartSeriesType.Bullet" data="new double[][] { new double[] { 750, 762.5 }}">
            <value-axis-item max="795" min="715" type="numeric">
                <major-grid-lines visible="false"/>
                <minor-ticks visible="true"/>
                    <chart-value-axis-plot-band from="715" to="752" color="#ccc" opacity="0.6">
                    <chart-value-axis-plot-band from="752" to="772" color="#ccc" opacity="0.3">
            <margin bottom="0" left="0" right="0" top="0"/>
        <chart-legend visible="false">
        <tooltip shared="true" template="Maximum: #= # <br /> Average: #= value.current #" visible="true">

The configuration from the previous example results in the following Bullet Chart.

UI for ASP.NET Core A sample Bullet Chart

Customizing the Target Value Lines

You can customize the line that represents the target value through the Target series configuration. Target exposes the Border, Color, and Line main settings that control the line appearance.

The following example demonstrates how to use all three options to customize the target line.

    .Series(series =>
        .Bullet(new double[][] { new double[] { 780, 762.5 } })
        <series-item type="ChartSeriesType.Bullet" 
            data="new double[][] { new double[] { 750, 762.5 }}"
                <target color="green">
                    <border color="turquoise" width="2" />
                    <line width="6"/>

UI for ASP.NET Core A Bullet Chart with custom target line

See Also

In this article