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
How to set the LineChart disconnect style, I add NAN to Entry, isInBoundsRight function is crashed. #1471
Comments
@mekhi |
@danielgindi did v3.0 add this? I don't remember. I do implemented line breaking feature in my previous company, however, I don't find a time to port it. |
@liuxuan30 I solved the problem temporarily,set the line which near to point color is clearColor. According to "NAN value" to determine which lines we should hide(clearColor). I think this is not a good solution, only can temporarily solve the problem, if Charts implemented line breaking feature, That'd be great. :) |
clear color will do the trick but highlight will expose it. Consider one line segment per data set |
Charts do not support this currently. |
@danielgindi Have you considered to support line-break with one dataSet feature? |
Well, it has been asked last year. Seems not a lot of people asking, and multiple data sets did the trick, so not a high priority. |
This is needed |
Hi,I want to show the LineChart disconnect style like this.
In MPAndroidChart, set Entry(float.NAN, i) can be done, but in Charts, I also set "(CGFloat)NAN", it crashed.
Thanks in advance:)
The text was updated successfully, but these errors were encountered: