UniversalDashboard.ValidationErrorMessageattribute or by using
New-UDNivoChart. This cmdlet exposes an extensive amount of configurable parameters for your charts.
-Colorsparameter on your chart to set your color palette. Additionally, you can provide color data directly with the data in your chart rather than having to provide a separate array of colors.
-onClickevent handlers. You can provide a script block and when the chart is clicked, it will be invoked with the
$EventDatavariable populated with the JSON representation of the data that was clicked within the chart.
-AutoRefreshparameter directly. That said, it's still possible to auto refresh by putting the chart within a a layout element, like a column, with autorefresh settings enabled and setting the
-Idof the chart to anything.
-Dataparameter rather than having to be piped through a cmdlet like
Out-UDChartData. The reason for this is that each type of chart expects different types of data structures.
-OnClickevent handler for
New-UDChart. When the chart is clicked, your script block will receive an
$EventDatavariable with the JSON for the data point that was clicked.
Add-UDElementto add elements to the live dashboard. These changes aren't saved anywhere but allows you to play around with the features.