[RGRAPH SUPPORT] Performance problems with semi-transparent colors

Performance problems with semi-transparent colors

Post a reply
Posted by Jorg at 09:55 on 23rd July 2021
Hello,

I have problems with a line chart with two filled ranges in the background:

In old version (v4.62) the filled ranges are filled in black and i want them in red and 20%opacity

In newer version(v6.00) the filled ranges are filled in correct color (red and 20%opacity) but rendering is very slow - 1000ms versus 80ms (in version v4.62) for the same data

Cant find my faults - an suggestions?

Find greets
Jorg

Posted by Jörg at 10:46 on 23rd July 2021
Little supplement: In version v6.00 I already tested without opacity - no notably difference in performance! Where is the source for performance issues? Or (in other hand) what can I do to set the correct color in version v4.62?

Fine regards
Jorg

Posted by Richard at 11:03 on 23rd July 2021
Can you post the source code for the chart please?

> no notable difference in performance!

So with solid colors the rendering is satisfactory?

I've made an example here:

https://www.rgraph.net/tests/canvas.line/range.html

And there doesn't seem to be any rendering speed issue.

Post a reply

What's your name?
What do you want to say?