add some configs on DatazoomOpts and TooltipOpts
@@ -376,6 +376,8 @@ class DataZoomOpts(BasicOpts):
is_show: bool = True,
type_: str = "slider",
is_realtime: bool = True,
+ is_show_detail: bool = True,
+ is_show_data_shadow: bool = True,
range_start: Union[Numeric, None] = 20,
range_end: Union[Numeric, None] = 80,
start_value: Union[int, str, None] = None,
@@ -393,6 +395,8 @@ class DataZoomOpts(BasicOpts):
self.opts: dict = {
"show": is_show,
"type": type_,
+ "showDetail": is_show_detail,
+ "showDataShadow": is_show_data_shadow,
"realtime": is_realtime,
"startValue": start_value,
"endValue": end_value,
@@ -543,6 +547,9 @@ class TooltipOpts(BasicOpts):
is_always_show_content: bool = False,
show_delay: Numeric = 0,
hide_delay: Numeric = 100,
+ is_enterable: bool = False,
+ is_confine: bool = False,
+ is_append_to_body: bool = False,
position: Union[str, Sequence, JSFunc] = None,
formatter: Optional[JSFunc] = None,
background_color: Optional[str] = None,
@@ -560,6 +567,9 @@ class TooltipOpts(BasicOpts):
"alwaysShowContent": is_always_show_content,
"showDelay": show_delay,
"hideDelay": hide_delay,
+ "enterable": is_enterable,
+ "confine": is_confine,
+ "appendToBody": is_append_to_body,
"position": position,
"formatter": formatter,
"textStyle": textstyle_opts,
