Skip to content

v0.3.2#35

Merged
rebelinux merged 6 commits intoAsBuiltReport:devfrom
rebelinux:dev
May 5, 2026
Merged

v0.3.2#35
rebelinux merged 6 commits intoAsBuiltReport:devfrom
rebelinux:dev

Conversation

@rebelinux
Copy link
Copy Markdown
Collaborator

[0.3.2] - 2026-05-05

Added

  • Add New-SingleStackedBarChart cmdlet and update module exports
  • Add pester test to validate the functionality of the New-SingleStackedBarChart cmdlet

Changed

  • Update module version to 0.3.2

Copilot AI review requested due to automatic review settings May 5, 2026 20:55
@rebelinux rebelinux merged commit f7a9e2d into AsBuiltReport:dev May 5, 2026
6 of 7 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 SingleStackedBar C# chart + New-SingleStackedBarChart PowerShell 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
Comment thread Examples/Example11.ps1
-Height 300 `
-Format $Format `
-OutputFolderPath $OutputFolderPath `
-Filename 'Example11-SingleStackedBarChart-Advanced' ` `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants