margelo / react-native-graph

📈 Beautiful, high-performance Graphs and Charts for React Native built with Skia

Home Page:https://margelo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The graph is not drawing outliers

eduardborges opened this issue · comments

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.

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...

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.

commented

@chrispader

These changes don't seem like they exist anymore?

#55

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