setVisibility method
Changes the visibility of one or more series.
idx
could be:
- index or an array of series indices
- a boolean array of visibility states by index
- an object mapping series numbers, as keys, to visibility state (boolean values)
Implementation
external void setVisibility(dynamic idx, bool visible);