ChartsOrg / ChartsOrg/Charts

Focus events when using the charts with TVOS

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

Description

Hello,

I'm trying to use these charts on a TVOS app. Till now, I'm able to get the charts displayed using my datasets. But, I'm facing issues while trying to interact with them.
For example, If I draw a bar chart,
- On IOS, whenever I click on any bar, there is a click event that handles the necessary things
- On TVOS, there is no such notification. This is correct as these events in TVOS has to be done with focus events like (didUpdateFocusInContext, etc).

Is there a way this can be done.
I really appreciate if anyone can help me solve this issue.

Thanks,
Bharat

Contributor guide

Open the contributing guide

Research direction

Start by tracing the bar-chart click event handling and compare it with the tvOS focus-event APIs mentioned in the issue, such as didUpdateFocusInContext. Determine how focus changes should notify consumers; done means bar-chart interaction on tvOS produces the expected focus-based notification while existing iOS click behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.