FormidableLabs / FormidableLabs/victory-native-xl

How to Format Bar Labels to Add a $ Symbol or Custom Text in Victory Native

Open
#528 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.2k
Forks
109
Avg merge
1d 15h
Merged PRs (30d)
3

Description

### Description

I’m using Victory Native for creating bar charts, and I need to format the labels on the bars so that I can either:

1. Add a $ symbol before the amount displayed on each bar.
2. Pass custom text to be displayed on top of the bars instead of the default labels.

Image

Contributor guide

Open the contributing guide

Research direction

Start by locating the Victory Native bar-chart label rendering and formatting entry point, then check how the current default labels are produced. The work is done when bar labels can show a dollar prefix or caller-supplied custom text, with the displayed result matching the requested examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.