Skip to content

Is webgl being used to render the bars #1192

Answered by SlicedSilver
sualehasif asked this question in Q&A
Discussion options

You must be logged in to vote

The library isn't using webGL, but rather the 2D rendering context of a canvas element. There isn't an option to switch to webGL with the library.

The maximum number of bars visible at a time is determined by the size of the screen since a bar can't become smaller than a pixel wide. If you are rendering multiple series at a time then it can obviously render more bars on the screen. There will always be a point where the cpu usage will reach the limit of the machine. Perhaps if you are willing to share your example then we could dig a bit deeper into the performance and see if there is anything we can improve.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sualehasif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants