Important: Please read the Qt Code of Conduct -

AreaChart with color under the graph depending on the value

  • we are building a custom visualization for some large data. The data will to a curve drawn into an area chart or barchart ? The main issue we have is that certain samples should be colorized somehow. So basically showing an areachart where the block under the graph is shown with a color depending on the value.

    Right now I am thinking to build a "normal" serie e.g. in gray color and some extra series drawn on a higher z-index if we need other colors e.g. green for value 10, and yellow from 10 to 50 and red when over 50.

    No idea it might be possible to set the color only once per serie or if the color could be overwritten also for every sample ?

Log in to reply