I have created an application to visualize data from a csv file. The general principle is that every graph has a value for every key (time data). But now I have an use case where I need to combine 2 different sets of data. This means that the principle is not valid anymore. I have solved this by using NaN values for the missing data.

But when my QCustomPlot instance draws the graphs, it generates gaps in the graphs (because of the NaN values). Is it possible to let QCustomplot skip the NaN numbers?. So that it draws a line from a valid point to the next valid point and thus skipping the NaN numbers?

Kind regards,