Skip to content

你好,咱的 柱状图控件BrnProgressBarChart 选中某一项后如何取消呢 #535

@zxwIsCode

Description

@zxwIsCode

问题提交

标题格式:[BUG]: 问题简介

你好,咱的 柱状图控件BrnProgressBarChart 选中某一项后如何取消呢

内容需包含:

1、BUG 描述
咱的BrnProgressBarChart控件,只有2个回调方法如下所示:
onBarItemClickInterceptor:
(barBundleIndex, barBundle, barGroupIndex, barItem) {
debugPrint(
"onBarItemClickInterceptor----barBundleIndex=$barBundleIndex---barBundle=$barBundle----barGroupIndex=$barGroupIndex----barItem=$barItem");
return true;
},
barChartSelectCallback: (barItem) {
debugPrint("barChartSelectCallback----barItem=$barItem");
},

2、复现步骤
当我点击了某一条数据后,无法取消选中状态,点击屏幕其他空白处也不行,麻烦看一下,是需要增加新的方法,还是需要设置什么属性,谢谢

3、期望行为
当我点击了某一条数据后,无法取消选中状态,点击屏幕其他空白处也不行,麻烦看一下,是需要增加新的方法,还是需要设置什么属性,谢谢

4、运行环境
iOS17.0环境下

  • 运行设备
  • iPhone 15
  • 系统
  • iOS17.0环境下
  • Bruno 版本
  • bruno: ^3.4.3
  • Flutter Doctor 信息

5、附加信息
无法取消选中

包括视频、图片等补充信息

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions