A Blazor wrapper for Chart.js that enables interactive charts in both client-side and server-side Blazor applications.
ChartJs.Blazor is a Blazor library that wraps Chart.js, enabling developers to create interactive charts in Blazor applications using C#. It solves the problem of integrating JavaScript charting libraries into Blazor by providing a type-safe, component-based interface. Developers can configure charts with C# objects and render them seamlessly in both client-side and server-side Blazor projects.
Blazor developers who need to add interactive data visualizations to their web applications without writing JavaScript. It's ideal for .NET teams building dashboards, analytics tools, or any application requiring charts.
Developers choose ChartJs.Blazor because it provides a native Blazor experience for charting, leveraging the power of Chart.js through a type-safe C# API. It eliminates the need for JavaScript interop code for charts and integrates smoothly with Blazor's component model.
Brings Chart.js charts to Blazor
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses strongly-typed C# classes for all chart options, reducing runtime errors and improving IntelliSense compared to raw JavaScript interop.
Supports both Blazor Server and WebAssembly seamlessly, allowing charts to be rendered as standard Blazor components with data binding.
Wraps Chart.js 2.9.4+ functionality, providing access to all chart types, animations, tooltips, and time axes through a C# API.
Includes built-in time axes with optional Moment.js integration for handling complex time-series data visualizations without extra JavaScript code.
The README explicitly states the project is currently unmaintained, meaning no bug fixes, updates, or support for new Blazor or Chart.js features.
Admits that thorough docs are unavailable, forcing developers to rely on sparse samples, Chart.js docs, or trial and error for configuration.
Requires manual inclusion of Chart.js and Moment.js scripts, and has known issues with client-side Blazor that need workarounds like Linker.xml files.