Skip to content

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

Open
@nipunadodan

Description

@nipunadodan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions