I would like to know if we can enable or disable WebGL manually in LightningChart JS. The question is because I don´t know if the library is actually printing series with WebGL or isn´t.
Thank you.
I would like to know if we can enable or disable WebGL manually in LightningChart JS. The question is because I don´t know if the library is actually printing series with WebGL or isn´t.
Thank you.
Share Improve this question edited Jan 27, 2020 at 11:17 Snekw 2,6201 gold badge17 silver badges24 bronze badges asked Jan 27, 2020 at 9:52 jcmjcm 451 silver badge6 bronze badges1 Answer
Reset to default 3There is no way to disable WebGL in the LightningChart JS library itself. It requires WebGL to work properly.
It is possible to disable WebGL from Chrome with --disable-3d-apis
mand line switch. (source)
When launching chrome with that switch, make sure to close all other chrome instances as otherwise the mand line switch will not take effect.
To disable WebGL in Firefox, open about:config
page and search for webgl.disabled
and set that flag to true
.
When the 3D api's are disabled, LightningChart JS will fail to render and will throw an error.