new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Apache ECharts · all subjects

actions/legend

10 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

legendSelect action

The legendSelect action selects a legend. dispatchAction({type: 'legendSelect', name: string}). Triggers legendselected event.

legendUnSelect action

The legendUnSelect action unselects a legend. dispatchAction({type: 'legendUnSelect', name: string}). Triggers legendunselected event.

legendInverseSelect action - version 5.6.0+

The legendInverseSelect action inverses all legends. dispatchAction({type: 'legendInverseSelect', legendId?: string | string[], legendIndex?: number | number[]}). The legendId and legendIndex parameters are supported since v5.6.0. Triggers legendinverseselect event.

legendHoverLink option

The legendHoverLink option is a boolean that controls whether the chart highlights when the legend is hovered. It defaults to true.

legendSelect action - select legend item

The legendSelect action selects a legend item. Parameter: name (string). Triggers legendselected event. Requires legend component to be enabled.

legendUnSelect action - deselect legend item

The legendUnSelect action deselects a legend item. Parameter: name (string). Triggers legendunselected event. Requires legend component to be enabled.

legendToggleSelect action - toggle legend selection

The legendToggleSelect action toggles the selection state of a legend item. Parameter: name (string). Triggers legendselectchanged event. Requires legend component to be enabled.

legendAllSelect action - select all legend items

The legendAllSelect action selects all legend items. Optional parameters (v5.6.0+): legendId (string | string[]), legendIndex (number | number[]). Triggers legendselectall event. Requires legend component to be enabled.

legendInverseSelect action - inverse select legend items

The legendInverseSelect action inverts the selection state of legend items. Optional parameters (v5.6.0+): legendId (string | string[]), legendIndex (number | number[]). Triggers legendinverseselect event. Requires legend component to be enabled.

legendScroll action - scroll legend items

The legendScroll action controls legend scrolling when legend.type is 'scroll'. Parameters: scrollDataIndex (number, required), legendId (string | string[], optional), legendIndex (number | number[], optional). Triggers legendscroll event. Requires legend component to be enabled.

Give your agent this brain