Skip to content

Combine chart marker with bar and line data sets #5207

Description

@IsLery

I'm using Combine chart with 2 data sets - line and bar and want to show markers when any of them is clicked.
However, when I click on the bar I always receive an entry from line data set.

override fun refreshContent(e: Entry?, highlight: Highlight?) {
        if (e is BarEntry) {
           // need to get here 
            }
        } else if (e != null){
            ...
            }
        }
        super.refreshContent(e, highlight)
    } 

Please advise how to trigger receiving bar entry as well?

image

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions