Skip to content

Is it necessary to disable dragging when it's not fully zoomed out ? #2714

Open
@aelam

Description

@aelam

I've read the wiki and also wrote a demo about this.
I've found when the chart is not fully zoomed out, I can't use drag-to-highlight feature
I think it's a bit weird.
If the chart data is on the most left, [0,1,2,...], and then we swipe a finger from left to right, it will be pretty cool and normal if it still can highlight data .

Same as ScrollView
super scrollView embeds subScrollView. if subScrollView can't scroll more, the super ScrollView can continue scrolling

https://github.com/PhilJay/MPAndroidChart/wiki/Highlighting

Enabling / Disabling highlighting

setHighlightPerDragEnabled(boolean enabled): Set this to true on your Chart to allow highlighting per dragging over the chart surface when it is fully zoomed out. Default: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions