javascript - Enable or Disable WebGl - Stack Overflow

I would like to know if we can enable or disable WebGL manually in LightningChart JS. The question is b

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 badges
Add a ment  | 

1 Answer 1

Reset to default 3

There 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745144221a4613573.html

相关推荐

  • javascript - Enable or Disable WebGl - Stack Overflow

    I would like to know if we can enable or disable WebGL manually in LightningChart JS. The question is b

    2小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信