huww98 / TimeChart

An chart library specialized for large-scale time-series data, built on WebGL.

Home Page:https://huww98.github.io/TimeChart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
RdXEu

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

But lineChart.ts is big to learn hard as it contains the business logic. Need an example for fools 😄 if you have time and opportunity, try to do it, thanks a lot for the feedback 👍

I'm thinking about this. It seems hard to correctly draw the background when a line segment is crossing zero.