how can I set values on Y axis
I want a graph like this but I am not able to set values on Y axis How can I set specific values on Y axis?

I'd like to know to
It would be nice we we have the option to manually set the Y axis values. Anyone happen to know if we can do it ? Or it not currently supported ?
Currently it's not supported, but I would welcome a PR.
Hey @Hermanya . I can pick up this feature today and submit a PR. I noticed #253 has the ability to have evenly distributed segments, but I'd like to explicitly be able to set the y-axis lines.
My particular use case is to have the lines fall on even numbers (i.e. 100, 150, 200, etc), but I think just providing an explicit array of numbers (like the x-axis' data.labels) should work, assuming the values are all within the viewable range of the graph.
Sure, that'd be awesome!
Any solution?
Hi @luiza-avelino, I actually had to go a different direction in order to meet my requirements. I began to implement these changes, but it turned into almost a whole rewrite of the Line Graph. So I reevaluated and ended up writing a custom Line Graph on top of d3.
@Hermanya I didn't want to offend or compete with RN Chart Kit, but I do have this code almost polished enough to open source. We can collaborate or I can simply release it as a healthy competition option (it's strictly a Line Graph, not a whole chart suite). But it would essentially be a complete replacement of what you have. Trying to shoehorn d3 into the existing code was too big of a change to introduce incrementally. Let me know your thoughts.
Sounds awesome, share the link please, it might be helpful for other people in this thread.
Is there any update on this?
@lightning331 not that I know of
2022 and would be still a good feature
Hi @luiza-avelino, I actually had to go a different direction in order to meet my requirements. I began to implement these changes, but it turned into almost a whole rewrite of the Line Graph. So I reevaluated and ended up writing a custom Line Graph on top of d3.
@Hermanya I didn't want to offend or compete with RN Chart Kit, but I do have this code almost polished enough to open source. We can collaborate or I can simply release it as a healthy competition option (it's strictly a Line Graph, not a whole chart suite). But it would essentially be a complete replacement of what you have. Trying to shoehorn d3 into the existing code was too big of a change to introduce incrementally. Let me know your thoughts.
Is there any chance you could make this publicly available?
2023 and would be awesome to have this
August 2023 and would still be a great feature
January 2024 and would still be a great feature