Skip to content
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

Draw Line chart for non linear X-axis #3717

Closed
shashidhar34 opened this issue Oct 26, 2018 · 1 comment
Closed

Draw Line chart for non linear X-axis #3717

shashidhar34 opened this issue Oct 26, 2018 · 1 comment

Comments

@shashidhar34
Copy link

What did you do?

Trying to plot the line chart with non linear x-axis scale. The sample data set it
(5,100)
(10,200)
(15,100)
(10, 50)
(5, 100)

What did you expect to happen?

The result of the data should be drawn as a Rhombus.

What happened instead?

No line is drawn on the chart. Does the Charts framework expect the x-axis values to be always sorted in ascending order?

Charts Environment

Charts version/Branch/Commit Number: 3.0.5
Xcode version: 10.0
Swift version: 4.0
Platform(s) running Charts: iOS
macOS version running Xcode: 10.13.6

@liuxuan30
Copy link
Member

Yes, should be sorted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants