-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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 show break in line chart for more than one graph? #3810
Comments
currently, use multiple data sets. Or you have to write the feature by yourself. I used to write one, but it's more complex so far with 3.0, so I suggest use multiple data sets |
yes...I have used multiple data sets in the chart..... I have only requirement is charts color dynamic with Yaxis value...like that attached images....please tell me how can I do that |
Please elaborate it properly @RabiChourasiaOgma or share some images so that we can understand what you are trying to do. |
|
See as far as I know this is not possible in this library. But still you can ask @liuxuan30 if he knows any thing about it. |
@RabiChourasiaOgma you can make chart view transparent and add your properly colored view behind it. You'll have to implement drawing (or just combining some views and their layout) yourself, using chart methods for coordinates transformation. |
What did you do?
I know there is a way that to break a chart into separate data sets but it will complicate lot of things for 4 lines in the same screen.
What did you expect to happen?
i want to know is there anything you can suggest instead of above. So that i can break the line chart with less of a complexity.
Charts Environment
Charts version/Branch/Commit Number:3.2.1
Xcode version:10.1
Swift version:4.2
Platform(s) running Charts:macOs high sierra
macOS version running Xcode:10.13.6
The text was updated successfully, but these errors were encountered: