Skip to content

Is discontinuous data supported? #965

Closed Answered by Abhinandan-Kushwaha
grotewortel asked this question in Q&A
Discussion options

You must be logged in to vote

Yes @grotewortel you can find the convenient x-interval and add empty objects at intervals that have no data.
For example in the data you shared, the interval can be 5. So the data can be-

data = {[
  {value: 300},
  {},            // at x = 5, insert a dummy object
  {value: 300},
  {value: 280}
]};

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Abhinandan-Kushwaha
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@grotewortel
Comment options

@Abhinandan-Kushwaha
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants