| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…kage so there isno chart related code in the core scripts anymore.
…b-component package but finished source is copied here. This because we cannot publisch/update the npm package
…os and docs pages
- Organize examples
- Ignore playwright screenshots and chart-comments files
- Fix HBCWA color handling - Fix HBCWA Blazor example
- Update docs
…-specific packages
- Re-add Core SDK 9.0.300 build fix
…ents can render custom tooltips
- Add/move ChartBase/CartesianBse parameters
- Update chart wc scripts - Add and update tests
…om/microsoft/fluentui-blazor into users/vnbaaij/dev-v5/add-areachart
- Fix roundBoxes passing through
…ticalStackedBarChart
There was a problem hiding this comment.
Adds new vertical bar chart variants to the FluentUI Blazor charts package by introducing new payload model types and System.Text.Json source-generator contexts, plus demo documentation/examples intended to showcase the new charts.
Changes:
Copilot reviewed 19 out of 22 changed files in this pull request and generated 11 comments.
Show a summary per file| File | Description |
|---|---|
| src/Charts/Serialization/VerticalStackedBarChartDataJsonSerializerContext.cs | Adds STJ source-generator context for vertical stacked bar payloads. |
| src/Charts/Serialization/VerticalBarChartDataJsonSerializerContext.cs | Adds STJ source-generator context for vertical bar payloads. |
| src/Charts/Serialization/GroupedVerticalBarChartDataJsonSerializerContext.cs | Adds STJ source-generator context for grouped vertical bar payloads. |
| src/Charts/Models/VerticalStackedBarChart/VerticalStackedBarChartSeries.cs | Adds series payload record for vertical stacked bars. |
| src/Charts/Models/VerticalStackedBarChart/VerticalStackedBarChartDataPoint.cs | Adds data point payload record for vertical stacked bars. |
| src/Charts/Models/VerticalBarChart/VerticalBarChartSeries.cs | Adds series payload record for vertical bar charts. |
| src/Charts/Models/VerticalBarChart/VerticalBarChartDataPoint.cs | Adds data point payload record for vertical bar charts. |
| src/Charts/Models/HorizontalBarChartWithAxis/HorizontalBarChartWithAxisSeries.cs | Adds a series payload record under the with-axis model folder. |
| src/Charts/Models/GroupedVerticalBarChart/GroupedVerticalBarChartSeries.cs | Adds series payload record for grouped vertical bars. |
| src/Charts/Models/GroupedVerticalBarChart/GroupedVerticalBarChartDataPoint.cs | Adds data point payload record for grouped vertical bars. |
| src/Charts/Infrastructure/ChartJson.cs | Adds a Serialize(IReadOnlyList<VerticalBarChartSeries>) helper (and should likely be expanded for the other new variants). |
| src/Charts/Charts/VerticalStackedBarChart/FluentVerticalStackedBarChart.razor | Added new component wrapper file (currently empty). |
| src/Charts/Charts/VerticalBarChart/FluentVerticalBarChart.razor | Added new component wrapper file (currently empty). |
| src/Charts/Charts/GroupedVerticalBarChart/FluentGroupedVerticalBarChart.razor | Added new component wrapper file (currently empty). |
| src/Charts.Scripts/src/chart-legend/chart-legend.definition.ts | Modified chart-legend definition (currently contains unresolved merge conflict markers). |
| examples/Demo/FluentUI.Demo/Program.cs | Sets a default chart configuration (RoundedCorners) for the demo. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Pages/FluentVerticalStackedBarChart.md | Adds documentation page for vertical stacked bar chart. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Pages/FluentVerticalBarChart.md | Adds documentation page for vertical bar chart. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Pages/FluentGroupedVerticalBarChart.md | Adds documentation page for grouped vertical bar chart. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Examples/VerticalStackedBarChart/VerticalStackedBarChartDefault.razor | Adds demo example (currently shows a donut chart). |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Examples/VerticalBarChart/VerticalBarChartDefault.razor | Adds demo example (currently shows a donut chart). |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Charts/Examples/GroupedVerticalBarChart/GroupedVerticalBarChartDefault.razor | Adds demo example (currently shows a donut chart). |
src/Charts.Scripts/src/chart-legend/chart-legend.definition.ts:19
<<<<<<< HEAD
export const definition = ChartLegend.compose({
name: `${FluentDesignSystem.prefix}-chart-legend`,
template,
styles,
Sorry, something went wrong.
| /// <summary> | ||
| /// Serializes vertical bar chart data using the vertical bar chart serializer context. | ||
| /// </summary> | ||
| /// <param name="value">The vertical bar chart series collection.</param> | ||
| /// <returns>A JSON string suitable for the <c>fluent-vertical-bar-chart</c> component.</returns> | ||
| public static string Serialize(IReadOnlyList<VerticalBarChartSeries> value) => | ||
| JsonSerializer.Serialize( | ||
| value, | ||
| VerticalBarChartDataJsonSerializerContext.Default.IReadOnlyListVerticalBarChartSeries); | ||
| } |
|
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
Sorry, something went wrong.
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 98.8%
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.