We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke-WebRequest -Uri "http://data.githubarchive.org/2015-01-01-12.json.gz" -OutFile githubarchive2012-01-01-12.json.gz" Install-Module PS7Zip -Repository PSGallery -Scope CurrentUser Set-ExecutionPolicy RemoteSigned -CurrentUser Import-Module PS7Zip Expand-7Zip .\githubarchive2012-01-01-12.json.gz $data = Get-Content .\githubarchive2012-01-01-12.json | ConvertFrom-Json Import-Module .\PoshCharts.psm1 $plottable = $data | group type; $legend = $plottable | select -ExpandProperty name
$plottable | Out-ColumnChart -XField Name -YField Count -IncludeLegend -LegendText $legend -Title "# of Events"
# Should not throw error - fails
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-ColumnChart.ps1:172 char:21 ... $chart.Series[$SeriesLabel].LegendText = $LegendText[($i- ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (:) [], RuntimeException FullyQualifiedErrorId : NullArrayIndex
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-ColumnChart.ps1:172 char:21
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$data | group type | Out-AreaChart -XField Name -YField Count -IncludeLegend -LegendText $legend -Title "# of Events"
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-AreaChart.ps1:172 char:21 ... $chart.Series[$SeriesLabel].LegendText = $LegendText[($i- ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (:) [], RuntimeException FullyQualifiedErrorId : NullArrayIndex
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-AreaChart.ps1:172 char:21
$data | group type | Out-BarChart -XField Name -YField Count -IncludeLegend -LegendText $legend -Title "# of Events"
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-BarChart.ps1:172 char:21 ... $chart.Series[$SeriesLabel].LegendText = $LegendText[($i- ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (:) [], RuntimeException FullyQualifiedErrorId : NullArrayIndex
Index operation failed; the array index evaluated to null. At C:\source\PoshCharts\PoshCharts\Functions\Public\Out-BarChart.ps1:172 char:21
etc.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Arrange
Act 1
Assert 1
Actual 1
Act 2
Assert 2
Actual 2
Act 3
Assert 3
Actual 3
etc.
The text was updated successfully, but these errors were encountered: