Bullet
Bullet charts are categorical charts, which are a variation of the Bar Charts.
You can use them as a replacement for dashboard gauges and meters. The Angular bullet graph compares a given quantitative measure, such as temperature, against a qualitative range, such as warm, hot, and cold, and a symbol marker which encodes the comparative measure, such as the max temperature a year ago.
Binding to Data
You can bind the Bullet chart series to an array through the data property in two formats:
-
Binding to arrays—Use arrays of
[current, target].tspublic data: [number, number][] = [[65, 80], [50, 75], [90, 95]]; -
Binding to objects—Use an array of objects with
currentandtargetproperties.tspublic data: Array<{ current: number; target: number; category: string }> = [ { current: 65, target: 80, category: 'Q1' }, { current: 50, target: 75, category: 'Q2' }, { current: 90, target: 95, category: 'Q3' } ];When binding to objects, the Bullet chart automatically uses the
currentandtargetproperties from your data. You can specify different property names through the following field mappings:Property Data type Required Description currentFieldstringNo The property name that contains the current value with numbervalues. Defaults to"current".categoryFieldstringNo The property name that contains the category with string,date, ornumbervalues.
The following example demonstrates how to bind the Bullet chart series to data using object models.
Displaying Labels
To display labels for the bullet chart value, add a SeriesLabelsComponent configuration component to the series.
See Series Labels for more details on customizing the labels content.
Support and Learning Resources
- Bullet Chart Homepage
- Getting Started with the Kendo UI for Angular Chart
- API Reference of the Charts
- Area Charts
- Bar Charts
- Box Plot Charts
- Line Charts
- Radar Charts
- RangeArea Charts
- RangeBar Charts
- Waterfall Charts
- Getting Started with Kendo UI for Angular (Online Guide)
- Getting Started with Kendo UI for Angular (Video Tutorial)
- Video Courses
- Chart Forum
- Before You Start: All Things Angular (Telerik Blog Post)
- Knowledge Base