FormidableLabs / FormidableLabs/victory-native-xl

Can you persist the tooltip and how to handle the state to use it outside the chart ?

Open
#281 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
110
Avg merge
1d 15h
Merged PRs (30d)
3

Description

Question

So I have a chart and I need to click the chart to create the tooltip but I need the tooltip to stay in the chart, is there a way to do it ?

The other question is related to how to handle the state outside the chart
I need to use the selected X and Y outside the component, how can I do it?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the chart tooltip and selection-state entry points in the React Native charting API. The issue names no files or tests, so determine how persistent tooltip state and selected X/Y values are currently handled, then identify the documentation or API change needed to make both uses clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.