Skip to main content
twblazor
Home
  • Get started
  • Tailwind with Blazor
  • Why twblazor?
  • Theme
  • Class Merge
    • Configuring localization
    • RTL Provider
  • Breadcrumb
  • Card
  • Carousel
  • Collapse
  • Context Menu
  • Drawer
  • Footer
  • Menu
  • Navbar
  • On This Page
  • Separator
  • Sidebar
  • Stepper
  • Tabs
  • Tree List
  • Container
  • Flex
  • Grid
  • Text
  • Link
  • Button
  • Form
    • AutocompleteNew
    • Checkbox
    • Color Picker
    • Date Picker
    • Date Range Picker
    • Datetime Picker
    • Datetime Range Picker
    • File Upload
    • Input GroupNew
    • NumericNew
    • Masked InputNew
    • Radio Button
    • Range SliderNew
    • RatingNew
    • Select
    • Slider
    • Switch
    • Tag InputNew
    • Text EditorNew
    • Textfield
    • Time Picker
    • Time Range Picker
  • Toggle
  • Toggle Group
  • Alert
  • Avatar
  • Badge
  • Chip
  • Empty
  • Icon
  • Popover
  • Progress
  • Skeleton
  • Spinner
  • Tooltip
  • Data Table
  • SpreadsheetNew
  • Column Filter Editor
  • Pagination
  • Pick List
  • Barcode
  • QR Code
  • Calendar
  • Table
  • Attachment
  • Overview
    • Bar
    • Bullet
    • Column
    • Dot Plot
    • Dumbbell
    • Icon
    • Lollipop
    • Radial Bar
    • Range
    • Word Cloud
    • Area
    • Bump
    • Bump Area
    • Candlestick
    • Gantt
    • Horizon
    • Line
    • Slope
    • Small Multiples
    • Stream Graph
    • Funnel
    • Gauge
    • Marimekko
    • Nightingale
    • Pie
    • Treemap
    • Waffle
    • Waterfall
    • Circular Treemap
    • Convex Treemap
    • Dendrogram
    • Sunburst
    • Barcode
    • Beeswarm
    • Box Plot
    • Density Plot
    • Histogram
    • Radial Histogram
    • Ridgeline
    • Strip Plot
    • Violin Plot
    • Categorical Scatter
    • Contour
    • Hexagonal Binning
    • Quadrant
    • Scatter
    • Heatmap
    • Matrix
    • Parallel Coordinates
    • Radar
    • Arc Diagram
    • Chord Diagram
    • Flowchart
    • Network Diagram
    • Sankey
    • Euler Diagram
    • Venn Diagram
  • Bubble
  • Marker
  • Message
  • Dialog Service
  • Toast Service
API DocumentationAI Agents & Skills
Home Get Started

Charts

TwRadialHistogramChart

TwRadialHistogramChart is a Blazor radial histogram that wraps equal-width bins around a circle, for cyclical values such as hours or bearings.

Last updated 23 October 2026

Basic usage

TwRadialHistogramChart takes raw Values, groups them into equal ranges and wraps the bars around a circle starting at the top. It suits values that cycle, where the last range sits naturally beside the first.
Support tickets by hourHour of the day each ticket was opened
0.5 to 2.45: 26.35 to 8.3: 38.3 to 10.25: 910.25 to 12.2: 612.2 to 14.15: 514.15 to 16.1: 516.1 to 18.05: 418.05 to 20: 220 to 21.95: 121.95 to 23.9: 1
0.5 to 2.45Count 2
2.45 to 4.4Count 0
4.4 to 6.35Count 0
6.35 to 8.3Count 3
8.3 to 10.25Count 9
10.25 to 12.2Count 6
12.2 to 14.15Count 5
14.15 to 16.1Count 5
16.1 to 18.05Count 4
18.05 to 20Count 2
20 to 21.95Count 1
21.95 to 23.9Count 1
RAZOR
<TwChart Title="Support tickets by hour" Description="Hour of the day each ticket was opened">
    <TwRadialHistogramChart Values="@_ticketHours" BinCount="12" />
</TwChart>
CSHARP
@code {
    private readonly double[] _ticketHours =
    [
        0.5, 2.2, 6.8, 7.4, 8.1, 8.3, 8.6, 9.0, 9.1, 9.2, 9.4, 9.7, 9.9, 10.1, 10.3, 10.4, 10.8, 11.2, 11.5, 11.9,
        12.6, 13.1, 13.3, 13.8, 14.0, 14.2, 14.5, 14.9, 15.3, 15.6, 16.1, 16.4, 16.9, 17.5, 18.2, 19.6, 21.3, 23.9
    ];
}

Choosing the bins

BinCount sets how many ranges the values are split into, from 4 to 36. Match it to the cycle: 24 for hours of the day, 12 for months, 8 or 16 for compass points.
Support tickets by hourOne bar per hour
0.5 to 1.48: 11.48 to 2.45: 16.35 to 7.33: 17.33 to 8.3: 28.3 to 9.28: 59.28 to 10.25: 410.25 to 11.23: 411.23 to 12.2: 212.2 to 13.18: 213.18 to 14.15: 314.15 to 15.13: 315.13 to 16.1: 216.1 to 17.08: 317.08 to 18.05: 118.05 to 19.03: 119.03 to 20: 120.98 to 21.95: 122.93 to 23.9: 1
0.5 to 1.48Tickets 1
1.48 to 2.45Tickets 1
2.45 to 3.43Tickets 0
3.43 to 4.4Tickets 0
4.4 to 5.38Tickets 0
5.38 to 6.35Tickets 0
6.35 to 7.33Tickets 1
7.33 to 8.3Tickets 2
8.3 to 9.28Tickets 5
9.28 to 10.25Tickets 4
10.25 to 11.23Tickets 4
11.23 to 12.2Tickets 2
12.2 to 13.18Tickets 2
13.18 to 14.15Tickets 3
14.15 to 15.13Tickets 3
15.13 to 16.1Tickets 2
16.1 to 17.08Tickets 3
17.08 to 18.05Tickets 1
18.05 to 19.03Tickets 1
19.03 to 20Tickets 1
20 to 20.98Tickets 0
20.98 to 21.95Tickets 1
21.95 to 22.93Tickets 0
22.93 to 23.9Tickets 1
RAZOR
<TwChart Title="Support tickets by hour" Description="One bar per hour">
    <TwRadialHistogramChart Values="@_ticketHours" BinCount="24" RangeLabel="Hour" CountLabel="Tickets" Height="ChartHeight.Large" />
</TwChart>

Directions

Bearings are the classic use: with eight bins each bar is a compass sector, north at the top.
Wind directionBearing in degrees, hourly readings
0° to 45°: 245° to 90°: 190° to 135°: 1135° to 180°: 1180° to 225°: 7225° to 270°: 12270° to 315°: 5315° to 360°: 3
0° to 45°Readings 2
45° to 90°Readings 1
90° to 135°Readings 1
135° to 180°Readings 1
180° to 225°Readings 7
225° to 270°Readings 12
270° to 315°Readings 5
315° to 360°Readings 3
RAZOR
<TwChart Title="Wind direction" Description="Bearing in degrees, hourly readings">
    <TwRadialHistogramChart Values="@_bearings" BinCount="8" RangeLabel="Bearing" CountLabel="Readings" ValueFormat="0°" />
</TwChart>
CSHARP
@code {
    private readonly double[] _bearings =
    [
        0, 12, 198, 205, 211, 214, 219, 222, 225, 228, 230, 233, 236, 240, 244, 247, 251, 255, 262, 268,
        271, 276, 284, 291, 302, 315, 334, 48, 95, 172, 186, 359.9
    ];
}

When to use

Use a radial histogram for values that cycle, such as hours or bearings. Bars grow from an inner ring so small counts stay visible. For values that do not wrap around, prefer TwHistogramChart, whose bars are easier to compare.

Summary

Tooltips and the table view give the range and count of each bin.

Shared features

The legend, tooltips, keyboard navigation, table view, value formatting, height and empty state work the same on every chart. See TwChart for those options.

Keyboard navigation

The plot is a single Tab stop. Each data point is announced with its series and value as focus reaches it, and the table view presents the same data without the plot.
Key What it does
Tab Moves focus into the plot, onto the data point last visited.
Arrow Right or Arrow Down Moves to the next data point.
Arrow Left or Arrow Up Moves to the previous data point.
Home or End Moves to the first or last data point.
Escape Hides the tooltip of the focused data point.
Enter or Space On a legend item: shows or hides that series. On the table button: switches between the chart and its data table.

On this page

  • Basic usage
  • Choosing the bins
  • Directions
  • When to use
  • Summary
  • Shared features
  • Keyboard navigation
twblazor

The Tailwind CSS component library for Blazor. Accessible, themeable and MIT licensed.

Discord (opens in a new tab) GitHub(opens in a new tab)

Get started

  • Install guide
  • Theming
  • Class merging
  • Localization

Guides

  • Tailwind CSS with Blazor
  • Why twblazor?
  • Right to left
  • AI agents and skills

Resources

  • API documentation (opens in a new tab)
  • llms.txt (opens in a new tab)
  • MIT License (opens in a new tab)

Community

  • Contributing (opens in a new tab)
  • Code of conduct (opens in a new tab)
  • Report an issue (opens in a new tab)

twblazor is and always will be free and open source.

An unhandled error has occurred. Reload