API Reference
Function
New-ChartEvent
Creates a new chart event for a specified DataTable.
Remarks
This function creates a new chart event for a specified DataTable. It allows for defining events like click, data point selection, and marker click for the chart.
Examples
EXAMPLE 1
New-ChartEvent -DataTableID "table1" -ColumnID 1 -EscapeRegex
Creates a new chart event for DataTable with ID "table1" on column 1 with regular expression escaping enabled.
EXAMPLE 2
New-ChartEvent -DataTableID "table2" -ColumnID 2
Creates a new chart event for DataTable with ID "table2" on column 2 without regular expression escaping.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-ChartEvent -ColumnID <Int32> -DataTableID <String> [-EscapeRegex] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- ColumnID Int32
- Specifies the ID of the column in the DataTable for which the chart event is being created.
- DataTableID String
- Specifies the ID of the DataTable for which the chart event is being created.
- EscapeRegex SwitchParameter
- Indicates whether to escape regular expressions in the chart event.