Skip to content

StickChart等chartY坐标在右侧时selectedindex计算有误 #3

Description

@limccn

StickChart等chartY坐标在右侧时selectedindex计算有误,
应当返回
stickData.size() - maxSticksNum + index
实际返回
index

需要增加以下判断
if (axisYPosition == AXIS_Y_POSITION_LEFT) {
return index;
}else{
return stickData.size() - maxSticksNum + index;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions