class pyecharts.charts.Liquid

    1. class Liquid(
    2. # 初始化配置项,参考 `global_options.InitOpts`
    3. init_opts: opts.InitOpts = opts.InitOpts()
    4. )

    func pyecharts.charts.Liquid.add

    1. def add(
    2. # 系列名称,用于 tooltip 的显示,legend 的图例筛选。
    3. series_name: str,
    4. # 系列数据,格式为 [value1, value2, ....]
    5. data: Sequence,
    6. # 水球外形,有' circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow' 可选。
    7. # 默认 'circle'。也可以为自定义的 SVG 路径。
    8. shape: str = "circle",
    9. # 波浪颜色。
    10. color: Optional[Sequence[str]] = None,
    11. # 是否显示波浪动画。
    12. is_animation: bool = True,
    13. # 是否显示边框。
    14. is_outline_show: bool = True,
    15. # 标签配置项,参考 `series_options.LabelOpts`
    16. label_opts: Union[opts.LabelOpts, dict] = opts.LabelOpts(font_size=50, position="inside"),
    17. # 提示框组件配置项,参考 `series_options.TooltipOpts`
    18. tooltip_opts: Union[opts.TooltipOpts, dict, None] = None,
    19. )











    _