StatsGrid.ClassificationChangedEvent
Notifies when an classification has been changed (in edit classification).
Parameters
(* means the parameter is required)
Name | Type | Description | Default value |
---|---|---|---|
current | Object | object describing the current classification | |
previous | Object | object describing the previous classification |
Both current and previous have the same type object as value:
{
method: <method as string>,
count: <classification count as number>,
mode: <mode as string>,
type: <type as string>,
colorIndex: <color index as number>,
reverseColors: <reverse colors as boolean>
}
Event methods
getName()
Returns event name
getCurrent()
Returns current classification object.
getPrevious()
Returns previous classification object.