Skip to content
Razor catalogue

On this page

@addTagHelper *, Webority.Ui.Razor

Columns and bars

Columns compare amounts across categories, and a bar chart suits long category names.

A column chart in rupees
Money is rupees; set unit to paise when the data is in paise. Axis labels read ₹3.8 L, tooltips ₹38,00,000.
Revenue by month
CategoryRevenue
Apr₹32,40,000
May₹35,10,000
Jun₹33,80,000
Jul₹39,20,000
Aug₹41,20,000
Sep₹46,30,000
Show code
<app-chart type="AppChartType.Column" title="Revenue by month" data="@rows" x-key="label" height="260">
  <app-chart-series key="value" label="Revenue" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>
Revenue in US dollars
Money in a currency other than rupees groups by three digits and shortens to K, M and B.
Revenue in US dollars
CategoryRevenue
Jan$1,234,567
Feb$98,765
Mar$4,500,000
Show code
<app-chart type="AppChartType.Column" title="Revenue in US dollars" data="@rows" x-key="label" height="260">
  <app-chart-series key="value" label="Revenue" format="ChartValueFormat.Currency" currency="USD"></app-chart-series>
</app-chart>
Every weekday on a narrow column
x-label-fit="all" keeps every category name: each wraps in its slot, or turns on its side when one word will not fit. value-labels="true" prints each value on its bar. Both are opt-in; the default hides overlapping names. On a phone the names turn or wrap rather than vanish.
Orders by weekday
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171
Show code
<app-chart type="AppChartType.Column" title="Orders by weekday" data="@rows" x-key="label" x-label-fit="AppChartXLabelFit.All" value-labels="true" height="260">
  <app-chart-series key="value" label="Orders"></app-chart-series>
</app-chart>

Lines, parts and targets

Lines show change over time, a donut shows one whole in parts, and a plan line shows the target.

A line over IST days
x-kind="time" takes a YYYY-MM-DD day, an ISO instant or epoch milliseconds, and shows it in IST.
Daily signups
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
Show code
<app-chart type="AppChartType.Line" title="Daily signups" data="@rows" x-key="label" x-kind="AppChartXKind.Time" height="240">
  <app-chart-series key="value" label="Signups"></app-chart-series>
</app-chart>
A line with thousands of points
Above 5,000 rows a line or area draws on canvas and adds a zoom slider under the plot, so it stays quick. Set zoom to true to add the slider to a smaller chart, or false to take it away.
Hourly latency
DateLatency
27-Jan-2026 00:00180 ms
27-Jan-2026 01:00203 ms
27-Jan-2026 02:00226 ms
27-Jan-2026 03:00218 ms
27-Jan-2026 04:00241 ms
27-Jan-2026 05:00233 ms
27-Jan-2026 06:00256 ms
27-Jan-2026 07:00248 ms
27-Jan-2026 08:00271 ms
27-Jan-2026 09:00263 ms
27-Jan-2026 10:00286 ms
27-Jan-2026 11:00309 ms
27-Jan-2026 12:00301 ms
27-Jan-2026 13:00306 ms
27-Jan-2026 14:00280 ms
27-Jan-2026 15:00285 ms
27-Jan-2026 16:00259 ms
27-Jan-2026 17:00264 ms
27-Jan-2026 18:00238 ms
27-Jan-2026 19:00243 ms
27-Jan-2026 20:00217 ms
27-Jan-2026 21:00222 ms
27-Jan-2026 22:00227 ms
27-Jan-2026 23:00201 ms
28-Jan-2026 00:00206 ms
28-Jan-2026 01:00198 ms
28-Jan-2026 02:00221 ms
28-Jan-2026 03:00213 ms
28-Jan-2026 04:00236 ms
28-Jan-2026 05:00228 ms
28-Jan-2026 06:00251 ms
28-Jan-2026 07:00243 ms
28-Jan-2026 08:00266 ms
28-Jan-2026 09:00289 ms
28-Jan-2026 10:00281 ms
28-Jan-2026 11:00304 ms
28-Jan-2026 12:00296 ms
28-Jan-2026 13:00301 ms
28-Jan-2026 14:00275 ms
28-Jan-2026 15:00280 ms
28-Jan-2026 16:00254 ms
28-Jan-2026 17:00259 ms
28-Jan-2026 18:00264 ms
28-Jan-2026 19:00238 ms
28-Jan-2026 20:00243 ms
28-Jan-2026 21:00217 ms
28-Jan-2026 22:00222 ms
28-Jan-2026 23:00196 ms
29-Jan-2026 00:00201 ms
29-Jan-2026 01:00193 ms
29-Jan-2026 02:00216 ms
29-Jan-2026 03:00208 ms
29-Jan-2026 04:00231 ms
29-Jan-2026 05:00254 ms
29-Jan-2026 06:00246 ms
29-Jan-2026 07:00269 ms
29-Jan-2026 08:00261 ms
29-Jan-2026 09:00284 ms
29-Jan-2026 10:00276 ms
29-Jan-2026 11:00299 ms
29-Jan-2026 12:00291 ms
29-Jan-2026 13:00296 ms
29-Jan-2026 14:00270 ms
29-Jan-2026 15:00275 ms
29-Jan-2026 16:00280 ms
29-Jan-2026 17:00254 ms
29-Jan-2026 18:00259 ms
29-Jan-2026 19:00233 ms
29-Jan-2026 20:00238 ms
29-Jan-2026 21:00212 ms
29-Jan-2026 22:00217 ms
29-Jan-2026 23:00191 ms
30-Jan-2026 00:00196 ms
30-Jan-2026 01:00219 ms
30-Jan-2026 02:00211 ms
30-Jan-2026 03:00234 ms
30-Jan-2026 04:00226 ms
30-Jan-2026 05:00249 ms
30-Jan-2026 06:00241 ms
30-Jan-2026 07:00264 ms
30-Jan-2026 08:00256 ms
30-Jan-2026 09:00279 ms
30-Jan-2026 10:00271 ms
30-Jan-2026 11:00294 ms
30-Jan-2026 12:00317 ms
30-Jan-2026 13:00291 ms
30-Jan-2026 14:00296 ms
30-Jan-2026 15:00270 ms
30-Jan-2026 16:00275 ms
30-Jan-2026 17:00249 ms
30-Jan-2026 18:00254 ms
30-Jan-2026 19:00228 ms
30-Jan-2026 20:00233 ms
30-Jan-2026 21:00207 ms
30-Jan-2026 22:00212 ms
30-Jan-2026 23:00217 ms
31-Jan-2026 00:00191 ms
31-Jan-2026 01:00214 ms
31-Jan-2026 02:00206 ms
31-Jan-2026 03:00229 ms
31-Jan-2026 04:00221 ms
31-Jan-2026 05:00244 ms
31-Jan-2026 06:00236 ms
31-Jan-2026 07:00259 ms
31-Jan-2026 08:00282 ms
31-Jan-2026 09:00274 ms
31-Jan-2026 10:00297 ms
31-Jan-2026 11:00289 ms
31-Jan-2026 12:00312 ms
31-Jan-2026 13:00286 ms
31-Jan-2026 14:00291 ms
31-Jan-2026 15:00265 ms
31-Jan-2026 16:00270 ms
31-Jan-2026 17:00244 ms
31-Jan-2026 18:00249 ms
31-Jan-2026 19:00254 ms
31-Jan-2026 20:00228 ms
31-Jan-2026 21:00233 ms
31-Jan-2026 22:00207 ms
31-Jan-2026 23:00212 ms
01-Feb-2026 00:00186 ms
01-Feb-2026 01:00209 ms
01-Feb-2026 02:00201 ms
01-Feb-2026 03:00224 ms
01-Feb-2026 04:00216 ms
01-Feb-2026 05:00239 ms
01-Feb-2026 06:00262 ms
01-Feb-2026 07:00254 ms
01-Feb-2026 08:00277 ms
01-Feb-2026 09:00269 ms
01-Feb-2026 10:00292 ms
01-Feb-2026 11:00284 ms
01-Feb-2026 12:00307 ms
01-Feb-2026 13:00281 ms
01-Feb-2026 14:00286 ms
01-Feb-2026 15:00291 ms
01-Feb-2026 16:00265 ms
01-Feb-2026 17:00270 ms
01-Feb-2026 18:00244 ms
01-Feb-2026 19:00249 ms
01-Feb-2026 20:00223 ms
01-Feb-2026 21:00228 ms
01-Feb-2026 22:00202 ms
01-Feb-2026 23:00207 ms
02-Feb-2026 00:00181 ms
02-Feb-2026 01:00204 ms
02-Feb-2026 02:00227 ms
02-Feb-2026 03:00219 ms
02-Feb-2026 04:00242 ms
02-Feb-2026 05:00234 ms
02-Feb-2026 06:00257 ms
02-Feb-2026 07:00249 ms
02-Feb-2026 08:00272 ms
02-Feb-2026 09:00264 ms
02-Feb-2026 10:00287 ms
02-Feb-2026 11:00279 ms
02-Feb-2026 12:00302 ms
02-Feb-2026 13:00307 ms
02-Feb-2026 14:00281 ms
02-Feb-2026 15:00286 ms
02-Feb-2026 16:00260 ms
02-Feb-2026 17:00265 ms
02-Feb-2026 18:00239 ms
02-Feb-2026 19:00244 ms
02-Feb-2026 20:00218 ms
02-Feb-2026 21:00223 ms
02-Feb-2026 22:00228 ms
02-Feb-2026 23:00202 ms
03-Feb-2026 00:00207 ms
03-Feb-2026 01:00199 ms
03-Feb-2026 02:00222 ms
03-Feb-2026 03:00214 ms
03-Feb-2026 04:00237 ms
03-Feb-2026 05:00229 ms
03-Feb-2026 06:00252 ms
03-Feb-2026 07:00244 ms
03-Feb-2026 08:00267 ms
03-Feb-2026 09:00290 ms
03-Feb-2026 10:00282 ms
03-Feb-2026 11:00305 ms
03-Feb-2026 12:00297 ms
03-Feb-2026 13:00302 ms
03-Feb-2026 14:00276 ms
03-Feb-2026 15:00281 ms
03-Feb-2026 16:00255 ms
03-Feb-2026 17:00260 ms
03-Feb-2026 18:00234 ms
03-Feb-2026 19:00239 ms
03-Feb-2026 20:00244 ms
03-Feb-2026 21:00218 ms
03-Feb-2026 22:00223 ms
03-Feb-2026 23:00197 ms
04-Feb-2026 00:00202 ms
04-Feb-2026 01:00194 ms
04-Feb-2026 02:00217 ms
04-Feb-2026 03:00209 ms
04-Feb-2026 04:00232 ms
04-Feb-2026 05:00255 ms
04-Feb-2026 06:00247 ms
04-Feb-2026 07:00270 ms
04-Feb-2026 08:00262 ms
04-Feb-2026 09:00285 ms
04-Feb-2026 10:00277 ms
04-Feb-2026 11:00300 ms
04-Feb-2026 12:00292 ms
04-Feb-2026 13:00297 ms
04-Feb-2026 14:00271 ms
04-Feb-2026 15:00276 ms
04-Feb-2026 16:00281 ms
04-Feb-2026 17:00255 ms
04-Feb-2026 18:00260 ms
04-Feb-2026 19:00234 ms
04-Feb-2026 20:00239 ms
04-Feb-2026 21:00213 ms
04-Feb-2026 22:00218 ms
04-Feb-2026 23:00192 ms
05-Feb-2026 00:00197 ms
05-Feb-2026 01:00189 ms
05-Feb-2026 02:00212 ms
05-Feb-2026 03:00235 ms
05-Feb-2026 04:00227 ms
05-Feb-2026 05:00250 ms
05-Feb-2026 06:00242 ms
05-Feb-2026 07:00265 ms
05-Feb-2026 08:00257 ms
05-Feb-2026 09:00280 ms
05-Feb-2026 10:00272 ms
05-Feb-2026 11:00295 ms
05-Feb-2026 12:00318 ms
05-Feb-2026 13:00292 ms
05-Feb-2026 14:00297 ms
05-Feb-2026 15:00271 ms
05-Feb-2026 16:00276 ms
05-Feb-2026 17:00250 ms
05-Feb-2026 18:00255 ms
05-Feb-2026 19:00229 ms
05-Feb-2026 20:00234 ms
05-Feb-2026 21:00208 ms
05-Feb-2026 22:00213 ms
05-Feb-2026 23:00218 ms
06-Feb-2026 00:00192 ms
06-Feb-2026 01:00215 ms
06-Feb-2026 02:00207 ms
06-Feb-2026 03:00230 ms
06-Feb-2026 04:00222 ms
06-Feb-2026 05:00245 ms
06-Feb-2026 06:00237 ms
06-Feb-2026 07:00260 ms
06-Feb-2026 08:00252 ms
06-Feb-2026 09:00275 ms
06-Feb-2026 10:00298 ms
06-Feb-2026 11:00290 ms
06-Feb-2026 12:00313 ms
06-Feb-2026 13:00287 ms
06-Feb-2026 14:00292 ms
06-Feb-2026 15:00266 ms
06-Feb-2026 16:00271 ms
06-Feb-2026 17:00245 ms
06-Feb-2026 18:00250 ms
06-Feb-2026 19:00255 ms
06-Feb-2026 20:00229 ms
06-Feb-2026 21:00234 ms
06-Feb-2026 22:00208 ms
06-Feb-2026 23:00213 ms
07-Feb-2026 00:00187 ms
07-Feb-2026 01:00210 ms
07-Feb-2026 02:00202 ms
07-Feb-2026 03:00225 ms
07-Feb-2026 04:00217 ms
07-Feb-2026 05:00240 ms
07-Feb-2026 06:00263 ms
07-Feb-2026 07:00255 ms
07-Feb-2026 08:00278 ms
07-Feb-2026 09:00270 ms
07-Feb-2026 10:00293 ms
07-Feb-2026 11:00285 ms
07-Feb-2026 12:00308 ms
07-Feb-2026 13:00282 ms
07-Feb-2026 14:00287 ms
07-Feb-2026 15:00261 ms
07-Feb-2026 16:00266 ms
07-Feb-2026 17:00271 ms
07-Feb-2026 18:00245 ms
07-Feb-2026 19:00250 ms
07-Feb-2026 20:00224 ms
07-Feb-2026 21:00229 ms
07-Feb-2026 22:00203 ms
07-Feb-2026 23:00208 ms
08-Feb-2026 00:00182 ms
08-Feb-2026 01:00205 ms
08-Feb-2026 02:00228 ms
08-Feb-2026 03:00220 ms
08-Feb-2026 04:00243 ms
08-Feb-2026 05:00235 ms
08-Feb-2026 06:00258 ms
08-Feb-2026 07:00250 ms
08-Feb-2026 08:00273 ms
08-Feb-2026 09:00265 ms
08-Feb-2026 10:00288 ms
08-Feb-2026 11:00280 ms
08-Feb-2026 12:00303 ms
08-Feb-2026 13:00308 ms
08-Feb-2026 14:00282 ms
08-Feb-2026 15:00287 ms
08-Feb-2026 16:00261 ms
08-Feb-2026 17:00266 ms
08-Feb-2026 18:00240 ms
08-Feb-2026 19:00245 ms
08-Feb-2026 20:00219 ms
08-Feb-2026 21:00224 ms
08-Feb-2026 22:00198 ms
08-Feb-2026 23:00203 ms
09-Feb-2026 00:00208 ms
09-Feb-2026 01:00200 ms
09-Feb-2026 02:00223 ms
09-Feb-2026 03:00215 ms
09-Feb-2026 04:00238 ms
09-Feb-2026 05:00230 ms
09-Feb-2026 06:00253 ms
09-Feb-2026 07:00245 ms
09-Feb-2026 08:00268 ms
09-Feb-2026 09:00291 ms
09-Feb-2026 10:00283 ms
09-Feb-2026 11:00306 ms
09-Feb-2026 12:00298 ms
09-Feb-2026 13:00303 ms
09-Feb-2026 14:00277 ms
09-Feb-2026 15:00282 ms
09-Feb-2026 16:00256 ms
09-Feb-2026 17:00261 ms
09-Feb-2026 18:00235 ms
09-Feb-2026 19:00240 ms
09-Feb-2026 20:00245 ms
09-Feb-2026 21:00219 ms
09-Feb-2026 22:00224 ms
09-Feb-2026 23:00198 ms
10-Feb-2026 00:00203 ms
10-Feb-2026 01:00195 ms
10-Feb-2026 02:00218 ms
10-Feb-2026 03:00210 ms
10-Feb-2026 04:00233 ms
10-Feb-2026 05:00225 ms
10-Feb-2026 06:00248 ms
10-Feb-2026 07:00271 ms
10-Feb-2026 08:00263 ms
10-Feb-2026 09:00286 ms
10-Feb-2026 10:00278 ms
10-Feb-2026 11:00301 ms
10-Feb-2026 12:00293 ms
10-Feb-2026 13:00298 ms
10-Feb-2026 14:00272 ms
10-Feb-2026 15:00277 ms
10-Feb-2026 16:00282 ms
10-Feb-2026 17:00256 ms
10-Feb-2026 18:00261 ms
10-Feb-2026 19:00235 ms
10-Feb-2026 20:00240 ms
10-Feb-2026 21:00214 ms
10-Feb-2026 22:00219 ms
10-Feb-2026 23:00193 ms
11-Feb-2026 00:00198 ms
11-Feb-2026 01:00190 ms
11-Feb-2026 02:00213 ms
11-Feb-2026 03:00236 ms
11-Feb-2026 04:00228 ms
11-Feb-2026 05:00251 ms
11-Feb-2026 06:00243 ms
11-Feb-2026 07:00266 ms
11-Feb-2026 08:00258 ms
11-Feb-2026 09:00281 ms
11-Feb-2026 10:00273 ms
11-Feb-2026 11:00296 ms
11-Feb-2026 12:00288 ms
11-Feb-2026 13:00293 ms
11-Feb-2026 14:00298 ms
11-Feb-2026 15:00272 ms
11-Feb-2026 16:00277 ms
11-Feb-2026 17:00251 ms
11-Feb-2026 18:00256 ms
11-Feb-2026 19:00230 ms
11-Feb-2026 20:00235 ms
11-Feb-2026 21:00209 ms
11-Feb-2026 22:00214 ms
11-Feb-2026 23:00219 ms
12-Feb-2026 00:00193 ms
12-Feb-2026 01:00216 ms
12-Feb-2026 02:00208 ms
12-Feb-2026 03:00231 ms
12-Feb-2026 04:00223 ms
12-Feb-2026 05:00246 ms
12-Feb-2026 06:00238 ms
12-Feb-2026 07:00261 ms
12-Feb-2026 08:00253 ms
12-Feb-2026 09:00276 ms
12-Feb-2026 10:00299 ms
12-Feb-2026 11:00291 ms
12-Feb-2026 12:00314 ms
12-Feb-2026 13:00288 ms
12-Feb-2026 14:00293 ms
12-Feb-2026 15:00267 ms
12-Feb-2026 16:00272 ms
12-Feb-2026 17:00246 ms
12-Feb-2026 18:00251 ms
12-Feb-2026 19:00225 ms
12-Feb-2026 20:00230 ms
12-Feb-2026 21:00235 ms
12-Feb-2026 22:00209 ms
12-Feb-2026 23:00214 ms
13-Feb-2026 00:00188 ms
13-Feb-2026 01:00211 ms
13-Feb-2026 02:00203 ms
13-Feb-2026 03:00226 ms
13-Feb-2026 04:00218 ms
13-Feb-2026 05:00241 ms
13-Feb-2026 06:00264 ms
13-Feb-2026 07:00256 ms
13-Feb-2026 08:00279 ms
13-Feb-2026 09:00271 ms
13-Feb-2026 10:00294 ms
13-Feb-2026 11:00286 ms
13-Feb-2026 12:00309 ms
13-Feb-2026 13:00283 ms
13-Feb-2026 14:00288 ms
13-Feb-2026 15:00262 ms
13-Feb-2026 16:00267 ms
13-Feb-2026 17:00272 ms
13-Feb-2026 18:00246 ms
13-Feb-2026 19:00251 ms
13-Feb-2026 20:00225 ms
13-Feb-2026 21:00230 ms
13-Feb-2026 22:00204 ms
13-Feb-2026 23:00209 ms
14-Feb-2026 00:00183 ms
14-Feb-2026 01:00206 ms
14-Feb-2026 02:00198 ms
14-Feb-2026 03:00221 ms
14-Feb-2026 04:00244 ms
14-Feb-2026 05:00236 ms
14-Feb-2026 06:00259 ms
14-Feb-2026 07:00251 ms
14-Feb-2026 08:00274 ms
14-Feb-2026 09:00266 ms
14-Feb-2026 10:00289 ms
14-Feb-2026 11:00281 ms
14-Feb-2026 12:00304 ms
14-Feb-2026 13:00309 ms
14-Feb-2026 14:00283 ms
14-Feb-2026 15:00288 ms
14-Feb-2026 16:00262 ms
14-Feb-2026 17:00267 ms
14-Feb-2026 18:00241 ms
14-Feb-2026 19:00246 ms
14-Feb-2026 20:00220 ms
14-Feb-2026 21:00225 ms
14-Feb-2026 22:00199 ms
14-Feb-2026 23:00204 ms
15-Feb-2026 00:00209 ms
15-Feb-2026 01:00201 ms
15-Feb-2026 02:00224 ms
15-Feb-2026 03:00216 ms
15-Feb-2026 04:00239 ms
15-Feb-2026 05:00231 ms
15-Feb-2026 06:00254 ms
15-Feb-2026 07:00246 ms
15-Feb-2026 08:00269 ms
15-Feb-2026 09:00261 ms
15-Feb-2026 10:00284 ms
15-Feb-2026 11:00307 ms
15-Feb-2026 12:00299 ms
15-Feb-2026 13:00304 ms
15-Feb-2026 14:00278 ms
15-Feb-2026 15:00283 ms
15-Feb-2026 16:00257 ms
15-Feb-2026 17:00262 ms
15-Feb-2026 18:00236 ms
15-Feb-2026 19:00241 ms
15-Feb-2026 20:00246 ms
15-Feb-2026 21:00220 ms
15-Feb-2026 22:00225 ms
15-Feb-2026 23:00199 ms
16-Feb-2026 00:00204 ms
16-Feb-2026 01:00196 ms
16-Feb-2026 02:00219 ms
16-Feb-2026 03:00211 ms
16-Feb-2026 04:00234 ms
16-Feb-2026 05:00226 ms
16-Feb-2026 06:00249 ms
16-Feb-2026 07:00272 ms
16-Feb-2026 08:00264 ms
16-Feb-2026 09:00287 ms
16-Feb-2026 10:00279 ms
16-Feb-2026 11:00302 ms
16-Feb-2026 12:00294 ms
16-Feb-2026 13:00299 ms
16-Feb-2026 14:00273 ms
16-Feb-2026 15:00278 ms
16-Feb-2026 16:00252 ms
16-Feb-2026 17:00257 ms
16-Feb-2026 18:00262 ms
16-Feb-2026 19:00236 ms

Showing the first 500 of 6000 rows. Download the CSV for all of them.

Show code
<app-chart type="AppChartType.Line" title="Hourly latency" data="@rows" x-key="label" x-kind="AppChartXKind.Time" x-format="ChartValueFormat.Date" x-pattern="ChartDatePattern.Datetime" height="300">
  <app-chart-series key="value" label="Latency" format="ChartValueFormat.Duration" unit="ChartValueUnit.Ms"></app-chart-series>
</app-chart>
A donut for parts of a whole
One series, at most six slices: anything past that folds into Other, with a warning.
Traffic by source
CategoryVisitsShare
Search5,20049.1%
Direct3,10029.2%
Referral1,40013.2%
Social9008.5%
Show code
<app-chart type="AppChartType.Donut" title="Traffic by source" data="@rows" x-key="label" height="260">
  <app-chart-series key="value" label="Visits"></app-chart-series>
</app-chart>
Two years against a plan line
Revenue, this year and last
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000
Show code
<app-chart type="AppChartType.Column" title="Revenue, this year and last" data="@rows" x-key="label" target-value="4000000" target-label="Plan" height="280">
  <app-chart-series key="value" label="This year" format="ChartValueFormat.Currency"></app-chart-series>
  <app-chart-series key="previous" label="Last year" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>

Heatmaps and calendars

Heatmaps show a value for every row and column, and a calendar heatmap shows every day.

Heatmap by city and weekday
One row per cell. x is the column, group the row, the series the value, coloured in five steps. Both group-key and x-key are required.
Orders by city and weekday
CityMonTueWedThuFriSatSun
Mumbai182196188205231264248
Delhi164171169182205239226
Bengaluru142155151168190221203
Pune9610299110128152141
Show code
<app-chart type="AppChartType.Heatmap" title="Orders by city and weekday" data="@rows" x-key="label" x-label="Weekday" group-key="group" group-label="City" height="260">
  <app-chart-series key="value" label="Orders"></app-chart-series>
</app-chart>
Calendar heatmap of daily orders
One row per day. x is always time (a YYYY-MM-DD day shows in IST), so a calendar needs no x-kind. Days run down, weeks across. When the weeks do not fit the width, the most recent ones show.
Daily orders
DateOrders
10-Aug-2026118
11-Aug-2026138
12-Aug-2026126
13-Aug-2026152
14-Aug-2026159
15-Aug-2026189
16-Aug-2026186
17-Aug-2026127
18-Aug-2026147
19-Aug-2026135
20-Aug-2026138
21-Aug-2026168
22-Aug-2026198
23-Aug-2026195
24-Aug-2026136
25-Aug-2026133
26-Aug-2026144
27-Aug-2026147
28-Aug-2026177
29-Aug-2026207
30-Aug-2026181
31-Aug-2026145
01-Sep-2026142
02-Sep-2026130
03-Sep-2026156
04-Sep-2026163
05-Sep-2026216
06-Sep-2026190
07-Sep-2026131
08-Sep-2026151
09-Sep-2026139
10-Sep-2026165
11-Sep-2026172
12-Sep-2026202
13-Sep-2026199
14-Sep-2026140
15-Sep-2026160
16-Sep-2026148
17-Sep-2026151
18-Sep-2026181
19-Sep-2026211
20-Sep-2026208
21-Sep-2026149
22-Sep-2026146
23-Sep-2026157
24-Sep-2026160
25-Sep-2026167
26-Sep-2026220
27-Sep-2026194
28-Sep-2026158
29-Sep-2026155
30-Sep-2026143
01-Oct-2026169
02-Oct-2026176
03-Oct-2026229
04-Oct-2026203
Show code
<app-chart type="AppChartType.Calendar" title="Daily orders" data="@rows" x-key="label">
  <app-chart-series key="value" label="Orders"></app-chart-series>
</app-chart>

Funnels, gauges and waterfalls

A funnel shows how many get through each stage, a gauge reads one value, and a waterfall walks a total.

Checkout funnel by stage
One row per stage, in order. The tooltip and table give each stage's rate from the previous stage and from the first.
Checkout funnel
StageVisitorsOf previous stepOf Visits
Visits48,200-100%
Product views31,45065.2%65.2%
Added to cart9,82031.2%20.4%
Checkout started5,23053.3%10.9%
Payment attempted4,31082.4%8.9%
Paid3,98092.3%8.3%
Show code
<app-chart type="AppChartType.Funnel" title="Checkout funnel" data="@rows" x-key="label" height="300">
  <app-chart-series key="value" label="Visitors"></app-chart-series>
</app-chart>
Collections against plan
One row. The scale is y-min to y-max (0 to 100 when not given), and <app-chart-band> children name its stretches, each up to a value. A percent value is a ratio, so this scale runs 0 to 1.
Collections against plan
MeasureAchievedBand
Collections against plan72%On track
Show code
<app-chart type="AppChartType.Gauge" title="Collections against plan" data="@rows" x-key="label" y-min="0" y-max="1">
  <app-chart-series key="value" label="Achieved" format="ChartValueFormat.Percent" decimals="0" />
  <app-chart-band up-to="0.5" label="Behind" />
  <app-chart-band up-to="0.8" label="On track" />
  <app-chart-band up-to="1" label="Ahead" />
</app-chart>
Cash movement in September
The first row is the opening total, the middle rows are signed changes, the last row is the closing total, which is checked against the steps. The running total cannot go below zero.
Cash movement in September
StepChangeRunning total
Opening-₹48,00,000
Sales+₹62,50,000₹1,10,50,000
Refunds−₹4,20,000₹1,06,30,000
Salaries−₹28,50,000₹77,80,000
Vendors−₹19,80,000₹58,00,000
GST−₹11,40,000₹46,60,000
Other+₹3,10,000₹49,70,000
Closing-₹49,70,000
Show code
<app-chart type="AppChartType.Waterfall" title="Cash movement in September" data="@rows" x-key="label" height="320">
  <app-chart-series key="value" label="Amount" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>

Trees, flows and points

Treemaps show parts of a whole, sankeys show flows between stages, and scatters compare two measures.

Two-level treemap of revenue
One row per leaf: group-key is its parent, x-key its name, the series its size. At most eight parents, each with its own colour.
Revenue by product
SegmentItemRevenueShare of group
SubscriptionsStarter₹18,40,00018%
SubscriptionsGrowth₹32,60,00031.9%
SubscriptionsEnterprise₹51,20,00050.1%
ServicesImplementation₹21,50,00051.6%
ServicesTraining₹6,40,00015.3%
ServicesSupport₹13,80,00033.1%
Add-onsExtra seats₹9,20,00044.4%
Add-onsAPI calls₹11,50,00055.6%
Show code
<app-chart type="AppChartType.Treemap" title="Revenue by product" data="@rows" x-key="label" group-key="group" group-label="Segment">
  <app-chart-series key="value" label="Revenue" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>
Where revenue comes from and goes
One row per flow: x-key is where it starts, to-key where it ends, the series its size. Flows run left to right, so they cannot loop back, and each start keeps its own colour.
Revenue by source and plan
SourcePlanRevenue
SearchStarter₹12,60,000
SearchGrowth₹18,20,000
ReferralGrowth₹14,40,000
ReferralEnterprise₹24,00,000
SocialStarter₹9,30,000
SocialGrowth₹4,90,000
DirectGrowth₹7,20,000
DirectEnterprise₹27,20,000
Show code
<app-chart type="AppChartType.Sankey" title="Revenue by source and plan" data="@rows" x-key="label" x-label="Source" to-key="to" to-label="Plan">
  <app-chart-series key="value" label="Revenue" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>
Ad spend and leads
One row per point: x is a number (x-kind value), the series the y number. group-key colours the points, at most three groups, and trend draws a straight line through the visible points.
Ad spend and leads
SpendLeadsChannel
₹40 K112Search
₹65 K168Search
₹90 K221Search
₹1.2 L284Search
₹1.5 L331Search
₹1.8 L372Search
₹25 K48Social
₹45 K81Social
₹70 K119Social
₹1 L152Social
₹1.3 L188Social
₹1.6 L205Social
₹8 K52Email
₹15 K88Email
₹24 K130Email
₹32 K161Email
₹40 K176Email
₹50 K190Email
Show code
<app-chart type="AppChartType.Scatter" title="Ad spend and leads" data="@rows" x-key="label" x-kind="AppChartXKind.Value" x-label="Spend" x-format="ChartValueFormat.Compact" x-currency="INR" group-key="group" group-label="Channel" trend="true">
  <app-chart-series key="value" label="Leads"></app-chart-series>
</app-chart>

Bubbles, multiples and stacks

Bubbles add a third measure as area, small multiples give each series its own chart, and stacks show shares.

Bubble: a third measure as area
A scatter with size-key, the column that sets each bubble's area. A bubble without a positive size is left out.
Pipeline by region
Sales cycle (days)Win ratePipelineRegion
2134%₹42 LNorth
3527%₹68 LNorth
4819%₹95 LNorth
1841%₹51 LWest
2933%₹74 LWest
4422%₹88 LWest
2437%₹36 LSouth
3826%₹59 LSouth
5217%₹72 LSouth
Show code
<app-chart type="AppChartType.Bubble" title="Pipeline by region" data="@rows" x-key="label" x-kind="AppChartXKind.Value" x-label="Sales cycle (days)" group-key="group" group-label="Region" size-key="size" size-label="Pipeline" size-format="ChartValueFormat.Compact" size-currency="INR">
  <app-chart-series key="value" label="Win rate" format="ChartValueFormat.Percent" decimals="0"></app-chart-series>
</app-chart>
Several measures, one x axis
Like a line chart, but each series gets its own small chart with its own scale, linked by one tooltip. This is the answer to a second value axis.
Revenue, orders and refund rate
CategoryRevenueOrdersRefund rate
Apr₹32.4 L1,8202.1%
May₹35.1 L1,9601.9%
Jun₹33.8 L1,8902.4%
Jul₹39.2 L2,2101.8%
Aug₹41.2 L2,3301.6%
Sep₹46.3 L2,6101.5%
Show code
<app-chart type="AppChartType.Multiples" title="Revenue, orders and refund rate" data="@rows" x-key="label">
  <app-chart-series key="value" label="Revenue" format="ChartValueFormat.Compact" currency="INR"></app-chart-series>
  <app-chart-series key="orders" label="Orders" format="ChartValueFormat.Number" decimals="0"></app-chart-series>
  <app-chart-series key="rate" label="Refund rate" format="ChartValueFormat.Percent" decimals="1"></app-chart-series>
</app-chart>
Stacked to 100%
A percent stack shows each series' share of its row.
Share of revenue
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000
Show code
<app-chart type="AppChartType.Column" title="Share of revenue" data="@rows" x-key="label" stack="AppChartStack.Percent" height="260">
  <app-chart-series key="value" label="This year" format="ChartValueFormat.Currency"></app-chart-series>
  <app-chart-series key="previous" label="Last year" format="ChartValueFormat.Currency"></app-chart-series>
</app-chart>

Loading, empty and error

Each state says what the chart is doing, so a person knows whether to wait, retry or change the filters.

Loading state
Revenue by month
CategoryRevenue
Show code
<app-chart type="AppChartType.Column" title="Revenue by month" data="@none" x-key="label" state="AppChartState.Loading" height="200">
  <app-chart-series key="value" label="Revenue"></app-chart-series>
</app-chart>
Empty state
Orders
CategoryOrders
Show code
<app-chart type="AppChartType.Column" title="Orders" data="@none" x-key="label" empty-text="No orders in this period." height="200">
  <app-chart-series key="value" label="Orders"></app-chart-series>
</app-chart>
Error state
Revenue by month
CategoryRevenue
Show code
<app-chart type="AppChartType.Column" title="Revenue by month" data="@none" x-key="label" state="AppChartState.Error" error-text="Revenue could not be loaded. Try again in a moment." height="200">
  <app-chart-series key="value" label="Revenue"></app-chart-series>
</app-chart>

Every option

Every value of every prop, one cell each.

type: all fifteen

type="column"
Column
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
type="line"
Line
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
type="area"
Area
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
type="bar"
Bar
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
type="donut"
Donut
CategoryVisitsShare
Search5,20049.1%
Direct3,10029.2%
Referral1,40013.2%
Social9008.5%
type="heatmap"
Heatmap
RowMonTueWedThuFriSatSun
Mumbai182196188205231264248
Delhi164171169182205239226
Bengaluru142155151168190221203
Pune9610299110128152141
type="calendar"
Calendar
DateOrders
10-Aug-2026118
11-Aug-2026138
12-Aug-2026126
13-Aug-2026152
14-Aug-2026159
15-Aug-2026189
16-Aug-2026186
17-Aug-2026127
18-Aug-2026147
19-Aug-2026135
20-Aug-2026138
21-Aug-2026168
22-Aug-2026198
23-Aug-2026195
24-Aug-2026136
25-Aug-2026133
26-Aug-2026144
27-Aug-2026147
28-Aug-2026177
29-Aug-2026207
30-Aug-2026181
31-Aug-2026145
01-Sep-2026142
02-Sep-2026130
03-Sep-2026156
04-Sep-2026163
05-Sep-2026216
06-Sep-2026190
07-Sep-2026131
08-Sep-2026151
09-Sep-2026139
10-Sep-2026165
11-Sep-2026172
12-Sep-2026202
13-Sep-2026199
14-Sep-2026140
15-Sep-2026160
16-Sep-2026148
17-Sep-2026151
18-Sep-2026181
19-Sep-2026211
20-Sep-2026208
21-Sep-2026149
22-Sep-2026146
23-Sep-2026157
24-Sep-2026160
25-Sep-2026167
26-Sep-2026220
27-Sep-2026194
28-Sep-2026158
29-Sep-2026155
30-Sep-2026143
01-Oct-2026169
02-Oct-2026176
03-Oct-2026229
04-Oct-2026203
type="funnel"
Funnel
StageVisitorsOf previous stepOf Visits
Visits48,200-100%
Product views31,45065.2%65.2%
Added to cart9,82031.2%20.4%
Checkout started5,23053.3%10.9%
Payment attempted4,31082.4%8.9%
Paid3,98092.3%8.3%
type="gauge"
Gauge
MeasureAchievedBand
Collections against plan72%On track
type="waterfall"
Waterfall
StepChangeRunning total
Opening-48,00,000
Sales+62,50,0001,10,50,000
Refunds−4,20,0001,06,30,000
Salaries−28,50,00077,80,000
Vendors−19,80,00058,00,000
GST−11,40,00046,60,000
Other+3,10,00049,70,000
Closing-49,70,000
type="treemap"
Treemap
GroupItemRevenueShare of group
SubscriptionsStarter18,40,00018%
SubscriptionsGrowth32,60,00031.9%
SubscriptionsEnterprise51,20,00050.1%
ServicesImplementation21,50,00051.6%
ServicesTraining6,40,00015.3%
ServicesSupport13,80,00033.1%
Add-onsExtra seats9,20,00044.4%
Add-onsAPI calls11,50,00055.6%
type="sankey"
Sankey
FromToRevenue
SearchStarter12,60,000
SearchGrowth18,20,000
ReferralGrowth14,40,000
ReferralEnterprise24,00,000
SocialStarter9,30,000
SocialGrowth4,90,000
DirectGrowth7,20,000
DirectEnterprise27,20,000
type="scatter"
Scatter
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email
type="bubble"
Bubble
XWin ratesizeGroup
2134%42,00,000North
3527%68,00,000North
4819%95,00,000North
1841%51,00,000West
2933%74,00,000West
4422%88,00,000West
2437%36,00,000South
3826%59,00,000South
5217%72,00,000South
type="multiples"
Multiples
CategoryRevenueOrdersRefund rate
Apr₹32.4 L1,8202.1%
May₹35.1 L1,9601.9%
Jun₹33.8 L1,8902.4%
Jul₹39.2 L2,2101.8%
Aug₹41.2 L2,3301.6%
Sep₹46.3 L2,6101.5%

title

title="Revenue by month"
Revenue by month
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

description

description="Monthly revenue in rupees."
Description
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

data

data="@rows", one row per x position
Data
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

x: key and label

x-key="label"
Key
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
x-key="label" x-label="Month"
Label
MonthRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

x.kind: category, time, value

x-kind="category" (default)
Category
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
x-kind="time"
Time
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
x-kind="value"
Value
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email

x.labelFit: auto, all, rotate, ellipsis

x-label-fit="auto" (default)
Auto
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171
x-label-fit="all"
All
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171
x-label-fit="rotate"
Rotate
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171
x-label-fit="ellipsis"
Ellipsis
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171

format: number, currency, percent, compact, duration, date

x-format="number"
number
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email
x-format="currency"
currency
XLeadsGroup
₹40,000112Search
₹65,000168Search
₹90,000221Search
₹1,20,000284Search
₹1,50,000331Search
₹1,80,000372Search
₹25,00048Social
₹45,00081Social
₹70,000119Social
₹1,00,000152Social
₹1,30,000188Social
₹1,60,000205Social
₹8,00052Email
₹15,00088Email
₹24,000130Email
₹32,000161Email
₹40,000176Email
₹50,000190Email
x-format="percent"
percent
XLeadsGroup
40,00,000%112Search
65,00,000%168Search
90,00,000%221Search
1,20,00,000%284Search
1,50,00,000%331Search
1,80,00,000%372Search
25,00,000%48Social
45,00,000%81Social
70,00,000%119Social
1,00,00,000%152Social
1,30,00,000%188Social
1,60,00,000%205Social
8,00,000%52Email
15,00,000%88Email
24,00,000%130Email
32,00,000%161Email
40,00,000%176Email
50,00,000%190Email
x-format="compact"
compact
XLeadsGroup
₹40 K112Search
₹65 K168Search
₹90 K221Search
₹1.2 L284Search
₹1.5 L331Search
₹1.8 L372Search
₹25 K48Social
₹45 K81Social
₹70 K119Social
₹1 L152Social
₹1.3 L188Social
₹1.6 L205Social
₹8 K52Email
₹15 K88Email
₹24 K130Email
₹32 K161Email
₹40 K176Email
₹50 K190Email
x-format="duration"
duration
XLeadsGroup
11h 06m112Search
18h 03m168Search
25h 00m221Search
33h 20m284Search
41h 40m331Search
50h 00m372Search
6h 56m48Social
12h 30m81Social
19h 26m119Social
27h 46m152Social
36h 06m188Social
44h 26m205Social
2h 13m52Email
4h 10m88Email
6h 40m130Email
8h 53m161Email
11h 06m176Email
13h 53m190Email
x-format="date"
date
XLeadsGroup
01-Jan-1970112Search
01-Jan-1970168Search
01-Jan-1970221Search
01-Jan-1970284Search
01-Jan-1970331Search
01-Jan-1970372Search
01-Jan-197048Social
01-Jan-197081Social
01-Jan-1970119Social
01-Jan-1970152Social
01-Jan-1970188Social
01-Jan-1970205Social
01-Jan-197052Email
01-Jan-197088Email
01-Jan-1970130Email
01-Jan-1970161Email
01-Jan-1970176Email
01-Jan-1970190Email

currency, unit, decimals and pattern

x-currency="INR"
Currency INR
XLeadsGroup
₹40,000112Search
₹65,000168Search
₹90,000221Search
₹1,20,000284Search
₹1,50,000331Search
₹1,80,000372Search
₹25,00048Social
₹45,00081Social
₹70,000119Social
₹1,00,000152Social
₹1,30,000188Social
₹1,60,000205Social
₹8,00052Email
₹15,00088Email
₹24,000130Email
₹32,000161Email
₹40,000176Email
₹50,000190Email
x-unit="rupees"
Rupees
XLeadsGroup
₹40,000112Search
₹65,000168Search
₹90,000221Search
₹1,20,000284Search
₹1,50,000331Search
₹1,80,000372Search
₹25,00048Social
₹45,00081Social
₹70,000119Social
₹1,00,000152Social
₹1,30,000188Social
₹1,60,000205Social
₹8,00052Email
₹15,00088Email
₹24,000130Email
₹32,000161Email
₹40,000176Email
₹50,000190Email
x-unit="paise"
Paise
XLeadsGroup
₹400112Search
₹650168Search
₹900221Search
₹1,200284Search
₹1,500331Search
₹1,800372Search
₹25048Social
₹45081Social
₹700119Social
₹1,000152Social
₹1,300188Social
₹1,600205Social
₹8052Email
₹15088Email
₹240130Email
₹320161Email
₹400176Email
₹500190Email
x-unit="ms"
Milliseconds
XLeadsGroup
40s112Search
1m 05s168Search
1m 30s221Search
2m 00s284Search
2m 30s331Search
3m 00s372Search
25s48Social
45s81Social
1m 10s119Social
1m 40s152Social
2m 10s188Social
2m 40s205Social
8s52Email
15s88Email
24s130Email
32s161Email
40s176Email
50s190Email
x-unit="s"
Seconds
XLeadsGroup
11h 06m112Search
18h 03m168Search
25h 00m221Search
33h 20m284Search
41h 40m331Search
50h 00m372Search
6h 56m48Social
12h 30m81Social
19h 26m119Social
27h 46m152Social
36h 06m188Social
44h 26m205Social
2h 13m52Email
4h 10m88Email
6h 40m130Email
8h 53m161Email
11h 06m176Email
13h 53m190Email
x-unit="min"
Minutes
XLeadsGroup
666h 40m112Search
1,083h 20m168Search
1,500h 00m221Search
2,000h 00m284Search
2,500h 00m331Search
3,000h 00m372Search
416h 40m48Social
750h 00m81Social
1,166h 40m119Social
1,666h 40m152Social
2,166h 40m188Social
2,666h 40m205Social
133h 20m52Email
250h 00m88Email
400h 00m130Email
533h 20m161Email
666h 40m176Email
833h 20m190Email
x-unit="h"
Hours
XLeadsGroup
40,000h 00m112Search
65,000h 00m168Search
90,000h 00m221Search
1,20,000h 00m284Search
1,50,000h 00m331Search
1,80,000h 00m372Search
25,000h 00m48Social
45,000h 00m81Social
70,000h 00m119Social
1,00,000h 00m152Social
1,30,000h 00m188Social
1,60,000h 00m205Social
8,000h 00m52Email
15,000h 00m88Email
24,000h 00m130Email
32,000h 00m161Email
40,000h 00m176Email
50,000h 00m190Email
x-decimals="0"
Decimals
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email
x-pattern="day"
day
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
x-pattern="month"
month
DateSignups
Sep-202642
Sep-202651
Sep-202647
Sep-202663
Sep-202658
Sep-202631
Sep-202628
Sep-202666
Sep-202671
Sep-202669
x-pattern="year"
year
DateSignups
202642
202651
202647
202663
202658
202631
202628
202666
202671
202669
x-pattern="datetime"
datetime
DateSignups
21-Sep-2026 00:0042
22-Sep-2026 00:0051
23-Sep-2026 00:0047
24-Sep-2026 00:0063
25-Sep-2026 00:0058
26-Sep-2026 00:0031
27-Sep-2026 00:0028
28-Sep-2026 00:0066
29-Sep-2026 00:0071
30-Sep-2026 00:0069
x-pattern="time"
time
DateSignups
00:0042
00:0051
00:0047
00:0063
00:0058
00:0031
00:0028
00:0066
00:0071
00:0069

timeZone

time-zone="America/New_York"
Time zone
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669

group: key and label

group-key="group"
Group key
RowMonTueWedThuFriSatSun
Mumbai182196188205231264248
Delhi164171169182205239226
Bengaluru142155151168190221203
Pune9610299110128152141
group-key="group" group-label="City"
Group label
CityMonTueWedThuFriSatSun
Mumbai182196188205231264248
Delhi164171169182205239226
Bengaluru142155151168190221203
Pune9610299110128152141

to: key and label

to-key="to"
To key
FromToRevenue
SearchStarter12,60,000
SearchGrowth18,20,000
ReferralGrowth14,40,000
ReferralEnterprise24,00,000
SocialStarter9,30,000
SocialGrowth4,90,000
DirectGrowth7,20,000
DirectEnterprise27,20,000
to-key="to" to-label="Plan"
To label
FromPlanRevenue
SearchStarter12,60,000
SearchGrowth18,20,000
ReferralGrowth14,40,000
ReferralEnterprise24,00,000
SocialStarter9,30,000
SocialGrowth4,90,000
DirectGrowth7,20,000
DirectEnterprise27,20,000

size: key and label

size-key="size"
Size key
XWin ratesizeGroup
210.3442,00,000North
350.2768,00,000North
480.1995,00,000North
180.4151,00,000West
290.3374,00,000West
440.2288,00,000West
240.3736,00,000South
380.2659,00,000South
520.1772,00,000South
size-key="size" size-label="Pipeline"
Size label
XWin ratePipelineGroup
210.3442,00,000North
350.2768,00,000North
480.1995,00,000North
180.4151,00,000West
290.3374,00,000West
440.2288,00,000West
240.3736,00,000South
380.2659,00,000South
520.1772,00,000South

trend

trend: off (default)
Trend off
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email
trend: on
Trend on
XLeadsGroup
40,000112Search
65,000168Search
90,000221Search
1,20,000284Search
1,50,000331Search
1,80,000372Search
25,00048Social
45,00081Social
70,000119Social
1,00,000152Social
1,30,000188Social
1,60,000205Social
8,00052Email
15,00088Email
24,000130Email
32,000161Email
40,000176Email
50,000190Email

zoom

zoom: off (default)
Zoom off
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669
zoom: on
Zoom on
DateSignups
21-Sep-202642
22-Sep-202651
23-Sep-202647
24-Sep-202663
25-Sep-202658
26-Sep-202631
27-Sep-202628
28-Sep-202666
29-Sep-202671
30-Sep-202669

bands

bands: Behind, On track, Ahead
Bands
MeasureAchievedBand
Collections against plan72%On track

stack: none, stacked, percent

stack="none" (default)
No stack
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000
stack="stacked"
Stacked
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000
stack="percent"
Percent
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000

valueLabels

value-labels: off (default)
Labels off
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171
value-labels="true"
Labels on
CategoryOrders
Monday118
Tuesday124
Wednesday121
Thursday133
Friday149
Saturday188
Sunday171

y: label, min and max

y-label="Rupees"
Y label
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
y-min="0"
Y min
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
y-max="5000000"
Y max
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

y.format: number, currency, percent, compact, duration

y-format="number"
number
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
y-format="currency"
currency
CategoryRevenue
Apr₹32,40,000
May₹35,10,000
Jun₹33,80,000
Jul₹39,20,000
Aug₹41,20,000
Sep₹46,30,000
y-format="percent"
percent
CategoryRevenue
Apr32,40,00,000%
May35,10,00,000%
Jun33,80,00,000%
Jul39,20,00,000%
Aug41,20,00,000%
Sep46,30,00,000%
y-format="compact"
compact
CategoryRevenue
Apr₹32.4 L
May₹35.1 L
Jun₹33.8 L
Jul₹39.2 L
Aug₹41.2 L
Sep₹46.3 L
y-format="duration"
duration
CategoryRevenue
Apr900h 00m
May975h 00m
Jun938h 53m
Jul1,088h 53m
Aug1,144h 26m
Sep1,286h 06m

target: value and label

target-value="4000000" target-label="Plan"
Target label
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

height

height="320" (default)
Height default
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
height="160"
Height 160
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

state: ready, loading, empty, error

state="ready" (default)
Ready
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
state="loading"
Loading
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
state="empty"
Empty
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
state="error"
Error
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

emptyText

empty-text="No revenue this period."
Empty text
CategoryRevenue

errorText

error-text="Revenue could not be loaded. Try again in a moment."
Error text
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

loading

loading: off (default)
Loading off
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
loading="true"
Loading on
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

error

error="Revenue could not be loaded."
Error message
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

loadingText

loading-text="Loading revenue"
Loading text
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

renderer: auto, svg, canvas

renderer="auto" (default)
Auto renderer
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
renderer="svg"
SVG renderer
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
renderer="canvas"
Canvas renderer
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

view: chart, table

view="chart" (default)
Chart view
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000
view="table"
Table view
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

series

app-chart-series key, label, format
Series
CategoryRevenue
Apr₹32,40,000
May₹35,10,000
Jun₹33,80,000
Jul₹39,20,000
Aug₹41,20,000
Sep₹46,30,000

onSelect

wui-chart:select, a point was clicked (React: onSelect)
Select
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

onLegendChange

wui-chart:legend-change, a legend button was pressed (React: onLegendChange)
Legend
CategoryThis yearLast year
Apr₹32,40,000₹28,90,000
May₹35,10,000₹31,20,000
Jun₹33,80,000₹33,40,000
Jul₹39,20,000₹34,10,000
Aug₹41,20,000₹36,50,000
Sep₹46,30,000₹39,80,000

onReady

wui-chart:ready, the first picture has drawn (React: onReady)
Ready callback
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

className

class="analytics-chart": adds a class to the chart root (no style) (React: className)
Class
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

centerLabel

center-label="Visits" (donut only)
Centre label
CategoryVisitsShare
Search5,20049.1%
Direct3,10029.2%
Referral1,40013.2%
Social9008.5%

style

style="opacity: 0.8" (React: style)
Style
CategoryRevenue
Apr32,40,000
May35,10,000
Jun33,80,000
Jul39,20,000
Aug41,20,000
Sep46,30,000

Guidance

What to do, and what to avoid.

Use it when

  • A trend, a comparison or a share that people need to read at a glance, with the exact values one hover away.
  • Money, counts, percentages or durations that should print the way the rest of the product prints them.
  • A dashboard where every chart should look, behave and read aloud the same way.

Reach for something else when

  • One headline number with a small trend. → AppKpiTile
  • A trend that fits in a table cell. → AppSparkline
  • One reading against a known range. → AppMeter

Reference

Try every prop, read the full list, and check keyboard and screen reader behaviour.

column line area bar donut heatmap calendar funnel gauge waterfall treemap sankey scatter bubble multiples
Revenue by month Daily signups Traffic share Orders by city and weekday (heatmap) Daily orders (calendar) Checkout funnel Collections against plan (gauge) Cash movement (waterfall) Revenue by product (treemap) Revenue by source and plan (sankey) Ad spend and leads (scatter) Pipeline by region (bubble) Revenue, orders and refund rate (multiples) Hourly latency (large-data line) Empty
value value and previous plain count orders amount in rupees percent (Achieved) percent (Win rate) leads (count) visitors (count) latency in ms revenue, orders and refund rate
(none) category time value
(none) auto all rotate ellipsis
(none) number currency percent compact duration date
(none) INR USD EUR GBP
(none) rupees paise ms s min h
(none) day month year datetime time
(none) group
(none) to
(none) size
(none) number currency percent compact duration date
(none) INR USD EUR GBP
(none) rupees paise ms s min h
(none) day month year datetime time
none Behind, on track, ahead
none stacked percent
(none) number currency percent compact duration date
(none) INR USD EUR GBP
(none) rupees paise ms s min h
(none) day month year datetime time
ready loading empty error
Asia/Kolkata UTC Europe/London America/New_York Asia/Singapore
auto svg canvas
chart table
Revenue by month
CategoryRevenue
Apr₹32,40,000
May₹35,10,000
Jun₹33,80,000
Jul₹39,20,000
Aug₹41,20,000
Sep₹46,30,000
React, generated from the controls
<AppChart
  type="column"
  title="Revenue by month"
  description="Monthly revenue in rupees."
  data={rows}
  x={x}
  series={series}
  onSelect={(detail) => …}
/>
Razor, the same props
<app-chart type="Column" title="Revenue by month" data="@rows" x-key="label" description="Monthly revenue in rupees.">
  <app-chart-series key="value" label="…" />
</app-chart>

54 props. The 3 most used come first.

Used on most screens 3 props

PropTypeDefaultDescription
typedefault - line | area | column | bar | donut | heatmap | calendar | funnel | gauge | waterfall | treemap | sankey | scatter | bubble | multiples - column is vertical bars, bar horizontal. multiples draws each series as its own small chart under one shared x axis.
titledefault - string - Required. Names the chart for assistive tech and names exported files. An empty string counts as not given.
datadefault - IEnumerable<object> - One row per x position, slice, cell, stage, flow or point: objects or dictionaries. A null value is a gap. Property names become camelCase keys.

Less common 51 props

PropTypeDefaultDescription
descriptiondefault - string - One sentence a screen reader hears before the automatic summary.
x-keydefault - string - The column holding the x value or the slice name.
x-kinddefault category string category category | time | value. time takes epoch ms, an ISO instant or a YYYY-MM-DD day; value (scatter and bubble) is a number.
x-labeldefault - string - Heads the table's first column.
x-label-fitdefault auto string auto auto | all | rotate | ellipsis: how a column fits its category names. auto hides those that overlap; all shows every name; rotate turns them; ellipsis cuts each to its slot. Column only: a bar chart has the room already.
x-formatdefault - string - number | currency | percent | compact | duration | date: how an x value is printed. x-currency, x-unit, x-decimals and x-pattern refine it and need it.
x-currencydefault - string - INR.
x-unitdefault - string - rupees | paise | ms | s | min | h.
x-decimalsdefault - int? - Fraction digits.
x-patterndefault - string - day | month | year | datetime | time. For a date.
time-zonedefault - string - IANA time zone dates are read and shown in, for example America/New_York. Unset, it is India Standard Time (Asia/Kolkata).
group-keydefault - string - The column holding each row's group: a heatmap's rows, a treemap's parents (at most 8), a scatter or bubble's colour groups (at most 3). Required for a heatmap and a treemap.
group-labeldefault - string - Names the group in the table and CSV.
to-keydefault - string - The column holding where each sankey flow ends; x-key is where it starts. Required for a sankey.
to-labeldefault - string - Names the end of a flow in the table and CSV.
size-keydefault - string - The column holding each bubble's area. Required for a bubble.
size-labeldefault - string - Names the size in the tooltip, table and CSV.
size-formatdefault - string - number | currency | percent | compact | duration | date: how a size is printed. size-currency, size-unit, size-decimals and size-pattern refine it and need it.
size-currencydefault - string - INR.
size-unitdefault - string - rupees | paise | ms | s | min | h.
size-decimalsdefault - int? - Fraction digits.
size-patterndefault - string - day | month | year | datetime | time.
trenddefault - bool - A scatter or bubble's straight trend line through the visible points.
zoomdefault - bool - A zoom slider under a line or area. On by default above 5,000 rows.
stackdefault none none | stacked | percent none For area, column and bar.
value-labelsdefault false bool false Print each bar's value on it. Column and bar only; ignored on a stacked chart.
y-labeldefault - string - Titles the one value axis.
y-formatdefault - string - The format of every series that sets none. y-currency, y-unit, y-decimals and y-pattern refine it and need it.
y-currencydefault - string - INR.
y-unitdefault - string - rupees | paise | ms | s | min | h.
y-decimalsdefault - int? - Fraction digits.
y-patterndefault - string - day | month | year | datetime | time.
y-mindefault - double? - The lowest value on the axis.
y-maxdefault - double? - The highest value on the axis.
target-valuedefault - double? - Where a dashed reference line sits.
target-labeldefault - string - The reference line's label.
center-labeldefault Total string Total Caption under the total in the centre of a donut. Default Total. Donut only.
heightdefault 320 int 320 In px, the axis labels included. A value that is not above 0 draws at the default.
statedefault ready ready | loading | empty | error ready loading after a first draw keeps that picture on screen, dimmed.
loadingdefault false bool false The chart is loading: the same as state loading. Wins over state.
errordefault - string - The curated message to show when the chart failed: the same as state error with this text. Wins over loading and state, and replaces errorText.
empty-textdefault - string - Replaces the default empty message.
error-textdefault - string - Replaces the default error message. Say what the person can do.
loading-textdefault Loading chart string Loading chart Replaces the default loading message, the text read aloud while the chart loads.
rendererdefault auto auto | svg | canvas auto auto draws SVG, and canvas above 5,000 points.
viewdefault chart chart | table chart table shows the data table in the chart's place.
<app-chart-series>default - child - The column holding a series' values. Each series is a child element, in the order they take colours: at most 8, and every type but line, area, column, bar and multiples takes one. label names it in the legend, tooltip and table; format, currency, unit, decimals and pattern print its values.
<app-chart-band>default - child - Where a gauge's named stretch ends on its scale. Each band is a child element, read from the lowest up-to up; label names it in the tooltip and table (required).
wui-chart:selectdefault - event - A mark was clicked, or Enter was pressed on the focused point.
wui-chart:legend-changedefault - event - A legend button was pressed; the detail's visible maps each series key to on or off.
wui-chart:readydefault - event - The first picture has finished drawing.

Screen reader

3 notes
  • The chart is a figure named by its title, with a screen-reader summary linked to it and a real data table behind the picture.
  • The drawing is read with the arrow keys, one value at a time, and each legend button reports whether its series is shown with aria-pressed.
  • The loading, empty and error messages are announced as status, and a chart that is loading is marked busy.