Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Ploting issue whail we having 2 yAxis left and right #890

Open
saifalitai opened this issue Sep 2, 2022 · 1 comment
Open

Data Ploting issue whail we having 2 yAxis left and right #890

saifalitai opened this issue Sep 2, 2022 · 1 comment

Comments

@saifalitai
Copy link

saifalitai commented Sep 2, 2022

Do read files under lib/* before reporting issues, you can find all the config there, and all of them are straightforward.

Expected Behavior

yAxis right data should be plotting in a graph such a way on the correct position based on yAxis Right label values

Actual Behavior

yAxis right data not displayed based on yAxis right label values also not plotting based on left label values

Screenshots

This show the wrong result

188165969-5f8ab8d2-960a-4cf8-a0c8-0f416dab7761

Data and config

left side min and max Value: 700000 1050000
right side min and max Value: 480 540

Steps to Reproduce the Problem

[{"marker": "Feb-2021
$804.0K", "y": 804}, {"marker": "Mar-2021
$843.4K", "y": 843.4}, {"marker": "Apr-2021
$1,002.7K", "y": 1002.7}, {"marker": "May-2021
$885.0K", "y": 885}, {"marker": "Jun-2021
$705.0K", "y": 705}, {"marker": "Jul-2021
$770.8K", "y": 770.8}, {"marker": "Aug-2021
$983.2K", "y": 983.2}, {"marker": "Sep-2021
$1,041.2K", "y": 1041.2}, {"marker": "Oct-2021
$1,106.3K", "y": 1106.3}, {"marker": "Nov-2021
$1,171.2K", "y": 1171.2}, {"marker": "Dec-2021
$1,086.9K", "y": 1086.9}, {"marker": "Jan-2022
$1,323.3K", "y": 1323.3}, {"marker": "Feb-2022
$469.2K", "y": 469.2}]

YRightValues:
[{"marker": "Feb-2021
$486.6", "y": 486.6}, {"marker": "Mar-2021
$498.4", "y": 498.4}, {"marker": "Apr-2021
$487.5", "y": 487.5}, {"marker": "May-2021
$496.9", "y": 496.9}, {"marker": "Jun-2021
$524.3", "y": 524.3}, {"marker": "Jul-2021
$535.3", "y": 535.3}, {"marker": "Aug-2021
$515.5", "y": 515.5}, {"marker": "Sep-2021
$547.9", "y": 547.9}, {"marker": "Oct-2021
$610.0", "y": 610}, {"marker": "Nov-2021
$600.0", "y": 600}, {"marker": "Dec-2021
$584.1", "y": 584.1}, {"marker": "Jan-2022
$663.0", "y": 663}, {"marker": "Feb-2022
$722.4", "y": 722.4}]

Specifications

  • Version: "react-native": "0.66.3", "react-native-charts-wrapper": "^0.5.7",
  • Platform: Android/IOS
  • Subsystem: Mac mini
@nunogrocha
Copy link

I'm facing the same issue. Is there any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants