| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…harts - Implement ChartCatalog for managing chart definitions and schemas. - Create ChartExampleGenerator for generating Razor examples of charts. - Develop ChartJsMcpTools for MCP server tools including chart type listing and example generation. - Introduce Json utility for serialization and deserialization. - Define models for chart generation requests, datasets, and integration plans. - Implement ProjectIntegrationService for managing project integration and edits. - Add README.md for installation and usage instructions. - Set up Program.cs for hosting the MCP server.
- Refactored chart generation methods to utilize McpToolExecution for error handling. - Introduced GenerateChartDashboard method for creating multi-chart dashboard pages. - Added PreviewDashboardIntegration method for previewing dashboard integration plans. - Updated ChartDefinition and ChartGenerationSchema to include new options for plugins and titles. - Implemented ChartRequestParser for parsing chart requests and improved error handling. - Added unit tests for chart generation and dashboard functionalities. - Updated README to reflect new features and tools available. - Introduced McpToolExecution class for centralized error handling in tool execution. - Added launch settings for easier development and debugging.
Introduced `DotNetObjectReference` in `ChartComponentBase` and updated all chart components to handle click events on chart data items. Added `HandleClickAsync` method and `OnClick` parameter for callback support. Implemented `ChartClickEventArgs` to encapsulate click metadata. Enhanced JavaScript interop in `blazorexpress.chartjs.js` to attach click handlers and dispatch events to .NET. Updated `Dispose` method to clean up resources. Added versioning and descriptions for new features.
| Back | FazBrowse Home | New Git URL |
This pull request introduces a new test project and core library for the BlazorExpress.ChartJS.MCP package, which provides a Model Context Protocol (MCP) server for generating and integrating ChartJS charts in Blazor applications. The changes include the initial project setup, implementation of a chart catalog and schema, and comprehensive unit tests to ensure correct chart generation and project integration.
Key changes:
New Project and Test Infrastructure
Core Functionality
Unit Tests