ChartsOrg / ChartsOrg/Charts

HorizontalBarChart Highlight Values

Open
#3,062 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I can't figure out how to implement the following functionality: when selecting a DataEntry from HorizontalBarChartDatSet I want to highlight it by just changing the borderColor of the bar. Is this possible with the current version of the pod and if not, can you please at least give me some information regarding where to look at in order to override this functionality?

I have already overriden the library for few specific functionalities but cannot seem to be able to figure this one out.

Thank you in advance!

Contributor guide

Open the contributing guide

Research direction

Start by reading the HorizontalBarChart and HorizontalBarChartDataSet APIs, then trace how selecting a DataEntry is handled. Check whether selection already exposes a per-bar borderColor or highlighting hook; done means documenting or implementing a clear way for a selected bar to use a different border color.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.