-
Notifications
You must be signed in to change notification settings - Fork 125
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
x scale proportional to time. #140
Comments
@RenatoSerra22 On line chart yes this is possible by setting the Let's say I had this data
and we put it into our provider...
It will give you the desired result. Here is an example (not with the above data) of the difference supplying an xDomain makes. |
beautifuuuuuuul thanks so much @cam-shaw ! |
I was about to post this exact same question. This prop of the provider should be on the Component APIs section of the docs |
You're 100% correct, and this is my bad. When I added the feature in a PR I forgot to update the docs with it. I'll take a look during the week at adding some documentation. |
@cam-shaw the gradient doesnt seem to respect the domain tho :) ![]() |
Iiinteresting... Had a look and I think I know how to solve the gradient issue.. Looks fairly simple to resolve, the gradient just needs to also respect the xDomain if provided. |
@cam-shaw For some reason I am getting a malformed path data error when putting the xDomain the same as the example that you gave, not sure what I am doing wrong |
@ChaseK30 If you're able to, would be great if you can give this PR a test. I have fixed up the x position for the dot - would be great to know if it resolves your issues. Let me know if you have any issues integrating it into your project.
|
checking now! |
@cam-shaw there are no build commands |
@ChaseK30 sorry, |
Sorry for the delay running into a ton of dependency issues |
@ChaseK30 no worries at all. Could be good to document on the PR if the dependency issues are specific to the PR. I'd imagine the maintainers could throw that into the release notes. Perhaps we can move this conversation there. |
@ChaseK30 those are unfortunately/fortunately (depending on how you look at it 😅 ) unrelated to the PR. Perhaps even go as far as deleting the Were you already on react-native-wagmi-charts 2.3.0? |
in my personal project yes, but i am getting all these errors running a |
just saw the PR thank you @cam-shaw for being so quick with it! |
Found another issue :D when dragging over the line, the labels dont show the correct timestamp/value |
@RenatoSerra22 are you able to provide some sample data for me to test with? I believe I have fixed this in the PR as well. |
Hi there, using "react-native-wagmi-charts": "2.6.0", Some screenshots to illustrate: |
@TobiasGrothmann please correct me if I'm wrong. |
@cam-shaw |
Hellow,
Is there any way to make the distance between two points respect the scale of time between them? Right now points are evenly split across the x axis in the graph
The text was updated successfully, but these errors were encountered: