QCustomPlot Discussion and Comments

Multi-Colored Lines in QCustomplot?Return to overview

I was wondering if it is possible in QCustomplot to create a plot where the color of the plot line is dependent on the value of the data at its respective "section" in the line. For example, something like this.

Interesting question.

Something similar can be done as described here:

It seems that QPainter does not have a suitable API for this task.