Line Chart with multiply dataset


#1

How do I make it just a line? without the fill?


#2

New-UDChart -Title “YourChartTitle” -Type Line -Endpoint {…

Just use the -type parameter and set it to line


#3

that is set :slight_smile: but it still do the “Fill: Start”
https://www.chartjs.org/samples/latest/charts/area/line-boundaries.html
like the one in the sample here

I want the “Fill: false”

I get this:


This is not a Line chart :slight_smile:
I am unable to see the line in the Grey area.


#4

Oh stupid me, I am using the wrong New-UD{Type}ChartDataset.
Changing to the correct one: New-UDLineChartDataset
and I am able to define -fill $null


#5

This is from @adamdriscoll github page:-

New-UDChart -Title "Line Chart without Underfill" -Type "Line" -Endpoint {
    $Data | Out-UDChartData -LabelProperty "Animal"  -Dataset @(
        New-UDLineChartDataset -Label "Animals" -DataProperty Count  -BorderColor "#35FF8A" -BorderWidth 3 -Fill $false
    )
}

This gives you just a line no fill