margelo / react-native-graph

📈 Beautiful, high-performance Graphs and Charts for React Native built with Skia
https://margelo.io
MIT License
2.04k stars 115 forks source link

The graph is not drawing outliers #20

Closed eduardborges closed 1 year ago

eduardborges commented 2 years ago
Screen Shot 2022-06-11 at 11 48 29 AM

Both charts have the same exact data; the one above (react-native-graph) is not drawing the outliers. I checked onPointSelected, and the data is correct. The problem is with the line.

mrousavy commented 2 years ago

Valid - that's because we do some rounding/averaging in this library. This should probably be considered though, I mean we could force draw a point for every pixel even if it's multiple...

chrispader commented 2 years ago

Maybe the latest changes from versions 0.2.0 and above could be helpful to you. You can define a smoothing prop there, that sets how much smoothing should be applied.

bewallyt commented 1 year ago

@chrispader

These changes don't seem like they exist anymore?

https://github.com/margelo/react-native-graph/pull/55

vm-agnislav commented 9 months ago

Yeah, they were removed in #62 :( . And that was exactly what we needed. Any other option to draw outliers?