Forum

How to make a curve graph with its area

How to make a curve like this.

graph

Instead of using a curve, you can use a broken line too.
What matters is that blue area.

Do you want it for skia or dx11?

Using Skia in VL there could be this approach :

image

Could be more elegant/optimized but it gives an idea :)

BlueGraph.vl (24.8 KB)

2 Likes

I want it for DX11

@antokhio

curvegraph.v4p (27.4 KB)

thanks