Basic chart with line and bar to demonstrate (nicked from UD docs):
New-UdChart -Title "Virtual Memory Size" -Type Bar -Endpoint {
Get-Process | Get-Random -Count 10 | Out-UDChartData -LabelProperty "Name" -Dataset @(
$ds1 = New-UdChartDataset -DataProperty "VirtualMemorySize" -Label "Size" -BackgroundColor "Green" -HoverBackgroundColor "Yellow"
$ds1.type = 'bar'
$ds2 = New-UdChartDataset -DataProperty "PeakVirtualMemorySize" -Label "Free Space" -BackgroundColor "Blue" -HoverBackgroundColor "Yellow"
$ds2.type = 'line'
$ds1
$ds2
)
}
Hover changes the colour of the bar but does nothing to the line. If hover only effects the data point selected, that makes sense. But I’d like to hover on a single line in a multi-line chart to effectively highlight it (like event viewer can).
Have I missed something or am I looking for a feature that isn’t available?
gav