Migrate to BlazorExpress.ChartJS and enhance chart interactivity#1294
Open
gvreddy04 wants to merge 3 commits into
Open
Migrate to BlazorExpress.ChartJS and enhance chart interactivity#1294gvreddy04 wants to merge 3 commits into
gvreddy04 wants to merge 3 commits into
Conversation
Replaced custom charting components in BlazorBootstrap with the BlazorExpress.ChartJS library. Removed all chart-related components, datasets, options, plugins, and utility classes. Updated project files to include the new library and required JavaScript dependencies. Simplified the codebase by delegating charting functionality to the external library.
Updated all chart components to use the BlazorExpress.ChartJS package, replacing BlazorBootstrap chart components. Updated documentation, examples, and code snippets to reflect the migration. Removed chart-related functionality from BlazorBootstrap and added references to BlazorExpress.ChartJS resources. Updated namespaces, imports, and setup instructions accordingly.
Updated `BlazorExpress.ChartJS` to v1.2.4, adding `OnClick` event callbacks for all chart types. Introduced `ChartClickEventArgs` to provide detailed click event data. Updated documentation and migration guides to reflect these changes. Added new demos showcasing the `OnClick` functionality. Enhanced `TypeExtensions.cs` to support the new `HandleClickAsync` method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the Blazor chart demo pages to improve color handling, update documentation, and add new click event demos. It also introduces the
BlazorExpress.ChartJSpackage and refines chart interaction options for better user experience.Library and Dependency Updates:
BlazorExpress.ChartJSpackage in the project file to enable new chart features.Demo and Documentation Improvements:
BlazorExpress.ChartJSand improved the descriptions and meta tags accordingly.New and Updated Demos:
BarChart_Demo_12_Click_Event.razor) and removed the old implementation (BarChart_Demo_06_Click_Event.razor). The new demo provides improved feedback when a chart item is clicked.ToChartColor,ToChartRgbString, etc.) for more consistent and accurate color rendering.Chart Interaction Options:
{ Mode = InteractionMode.Index, Axis = InteractionAxis.Y }to{ Mode = InteractionMode.Y }for more intuitive horizontal bar chart interactions.These changes modernize the chart demos, improve the developer and user experience, and ensure the documentation reflects the latest features and best practices.