Home Forums Chart Support Null value points

Null value points

Viewing 4 posts - 1 through 4 (of 4 total)
  • #8616


    I am using a unix timestamp X axis, and then values on the Y. Some of the values are Null on the Y so I have blank spaces in my data – I see from previous comments that people wanted this, however I would like the be able to have these blanks filled in and the gaps filled.

    This is how it currently looks: here
    This is how I would like it to look (without having to fill in the blank myself): here

    If this could be a global chart option, that is false by default, but can be turned on to fill in the blanks that would be amazing!



    You can do the same by one of the two options below

    1. By skipping the null dataPoint

    2. By editing the source code as mentioned below

    Inside our library we have renderLine method in which we are using prevDataNull variable for keeping the track of null dataPoints. You can remove / comment prevDataNull = true and it will work as you are expecting.


    • This reply was modified 9 years ago by Anjali.


    Thanks for that. I edited the source and changed the prevDataNull and it worked brilliantly.

    Thanks again!


    **************** Update ****************

    We just release v1.8.1 Beta with connectNullData feature which will allow you to do the same.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.