v0.3.2#35
Merged
rebelinux merged 6 commits intoAsBuiltReport:devfrom May 5, 2026
Merged
Conversation
…nd update exports. Enhance examples and tests for new functionality.
…cmdlet and corresponding pester test
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps the module/library to v0.3.2 and introduces a new chart type (New-SingleStackedBarChart) implemented in the C# charting layer and exposed via a PowerShell cmdlet, with accompanying Pester tests and usage examples.
Changes:
- Add
SingleStackedBarC# chart +New-SingleStackedBarChartPowerShell cmdlet and export it in the module manifest. - Add Pester coverage and new example scripts demonstrating basic and advanced usage.
- Update versioning/changelog and adjust single-bar axis limits in existing bar/stacked-bar implementations.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/AsBuiltReport.Chart.Functions.Tests.ps1 | Adds export validation and functional tests for New-SingleStackedBarChart. |
| Sources/StackedBarChart.cs | Adjusts single-bar axis limits for stacked bar charts. |
| Sources/SingleStackedBarChart.cs | Adds the new “single stacked bar” chart implementation (ScottPlot). |
| Sources/PowerShell/SingleStackedBarChartPwsh.cs | Adds the new New-SingleStackedBarChart cmdlet and parameter surface. |
| Sources/Chart.cs | Introduces ValueSuffix static setting and resets it in Chart.Reset(). |
| Sources/BarChart.cs | Adjusts single-bar axis limits for bar charts. |
| Sources/AsBuiltReportChart.csproj | Bumps library version to 0.3.2. |
| Examples/Example10.ps1 | Adds a basic usage example for New-SingleStackedBarChart. |
| Examples/Example11.ps1 | Adds an advanced usage example for New-SingleStackedBarChart. |
| CHANGELOG.md | Adds the 0.3.2 changelog entry. |
| AsBuiltReport.Chart/AsBuiltReport.Chart.psd1 | Bumps module version and includes New-SingleStackedBarChart in exports. |
| .github/workflows/Release.yml | Tweaks release workflow formatting and disables social-post jobs. |
| .github/copilot-instructions.md | Adds repo-specific contribution/build/test conventions documentation. |
| } | ||
|
|
||
| // Set margins | ||
| // myPlot.Axes.Margins(left: AxesMarginsLeft, right: AxesMarginsRight, bottom: AxesMarginsDown, top: AxesMarginsTop); |
Comment on lines
20
to
+22
| - name: Copy the library for MacOS X64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/osx-x64/publish/*.* ./AsBuiltReport.Chart/Src/Assemblies/Core/mac-osx/osx-x64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/osx-x64/publish/*.* | ||
| ./AsBuiltReport.Chart/Src/Assemblies/Core/mac-osx/osx-x64 |
Comment on lines
25
to
+27
| - name: Copy the library for MacOS Arm64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/osx-arm64/publish/*.* ./AsBuiltReport.Chart/Src/Assemblies/Core/mac-osx/osx-arm64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/osx-arm64/publish/*.* | ||
| ./AsBuiltReport.Chart/Src/Assemblies/Core/mac-osx/osx-arm64 |
Comment on lines
30
to
+32
| - name: Copy the library for Linux | ||
| run: copy ./Sources/bin/Release/netstandard2.0/linux-x64/publish/*.* ./AsBuiltReport.Chart/Src/Assemblies/Core/linux-x64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/linux-x64/publish/*.* | ||
| ./AsBuiltReport.Chart/Src/Assemblies/Core/linux-x64 |
Comment on lines
35
to
+37
| - name: Copy the library for Windows | ||
| run: copy ./Sources/bin/Release/netstandard2.0/win-x64/publish/*.* ./AsBuiltReport.Chart/Src/Assemblies/Core/windows-x64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/win-x64/publish/*.* | ||
| ./AsBuiltReport.Chart/Src/Assemblies/Core/windows-x64 |
Comment on lines
40
to
+42
| - name: Copy the library for Windows PowerShell | ||
| run: copy ./Sources/bin/Release/netstandard2.0/win-x64/publish/*.* ./AsBuiltReport.Chart/Src/Assemblies/Desktop/windows-x64 | ||
| run: copy ./Sources/bin/Release/netstandard2.0/win-x64/publish/*.* | ||
| ./AsBuiltReport.Chart/Src/Assemblies/Desktop/windows-x64 |
| -Height 300 ` | ||
| -Format $Format ` | ||
| -OutputFolderPath $OutputFolderPath ` | ||
| -Filename 'Example11-SingleStackedBarChart-Advanced' ` ` |
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.
[0.3.2] - 2026-05-05
Added
Changed