fill background line
temaivanoff opened this issue · comments
Hi, how hard is it to do?
Sorry, what is background line?
@huww98 one color or gradient
Not simple. One would need to change the WebGL shader code to implement this. I don't have time this week.
@huww98 ok, can you make a minimal code of core to one file example to understand how to create graphs in WebGL ?
it would help me to quickly learn WebGL, to help your project
How about starting from https://huww98.github.io/TimeChart/demo/plugins/assemble.html
All WebGL related code should be in https://github.com/huww98/TimeChart/blob/master/src/plugins/lineChart.ts
But lineChart.ts is big to learn hard as it contains the business logic. Need an example for fools
I'm thinking about this. It seems hard to correctly draw the background when a line segment is crossing zero.