wuba / wuba/react-native-echarts

SkiaChart: Texts including axis labels, tooltips, toolbox and legend are not rendered.

Open
#174 35 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
967
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Texts including axis labels, tooltips, toolbox and legend are not rendered.

To Reproduce
Steps to reproduce the behaviour:

  • Try a minimal example using SkiaChart with the below library versions.
"@wuba/react-native-echarts": "^1.3.1",
"@shopify/react-native-skia": "^0.1.241",
"echarts": "^5.5.0",
"react": "18.2.0",
"react-native": "^0.73.4",

Expected behaviour
Texts on axis labels, tooltips, legends and toolbox should be visible.

Screenshots
This is how it looks like when it is rendered using SkiaChart
image

This is how it is expected to look (screenshot taken after rendered using SVG)
image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: N/A
  • Version: 22.04.4

Smartphone (please complete the following information):

  • Device: Samsung A12
  • OS: Android 13
  • Browser: N/A
  • Version: N/A

Additional context
Sample code: Github gist

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 with the minimal SkiaChart example in the linked GitHub gist and compare its output with the SVG rendering shown in the issue. Reproduce the missing axis labels, tooltips, toolbox, and legend using the listed React Native, ECharts, and Skia versions. Done means these text elements are visible in the Android SkiaChart output without regressing the SVG path.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.