interaction property
dynamic
interaction
Implementation
external dynamic
/*{
/**
* Indicate if the chart should have interactions.
* If false is set, all of interactions (showing/hiding tooltip, selection, mouse events, etc) will be disabled.
*/
enabled?: boolean;
/**
* Make brighter for the selected area (ex. 'pie' type data selected area)
*/
brighten?: boolean;
inputType?: {
/**
* enable or disable mouse interaction
*/
mouse?: boolean;
/**
* enable or disable touch interaction
*/
touch?:
| boolean
| {
/**
* enable or disable to call event.preventDefault on touchstart & touchmove event.
* It's usually used to prevent document scrolling.
*/
preventDefault?: boolean | number;
};
};
}*/
get interaction;
void
interaction=(dynamic v)
Implementation
external set interaction(
dynamic
/*{
/**
* Indicate if the chart should have interactions.
* If false is set, all of interactions (showing/hiding tooltip, selection, mouse events, etc) will be disabled.
*/
enabled?: boolean;
/**
* Make brighter for the selected area (ex. 'pie' type data selected area)
*/
brighten?: boolean;
inputType?: {
/**
* enable or disable mouse interaction
*/
mouse?: boolean;
/**
* enable or disable touch interaction
*/
touch?:
| boolean
| {
/**
* enable or disable to call event.preventDefault on touchstart & touchmove event.
* It's usually used to prevent document scrolling.
*/
preventDefault?: boolean | number;
};
};
}*/
v);