Limitations
Chrome WebGL Limit
Chrome has a limit of 8 WebGL contexts active at one time. If more than 8 charts that use WebGL are created, the earliest charts appear as empty. Options to work around this include:
- Using Firefox, which has a higher limit.
- Setting
render_mode = "svg"
when creating the chart where possible, such as in scatter charts. Some charts, such as 3D charts and maps, do not provide this option as they require WebGL. - Disabling WebGL in the Deephaven settings. Charts that require WebGl will still render in WebGL when available.
- Setting Chrome to allow more WebGL contexts with the
--max-active-webgl-contexts
flag. For example, to set the limit to 64:
--max-active-webgl-contexts=64
See more on flags here.
Warning
Disabling WebGL, either in the settings or per chart, can lead to performance issues when plotting large datasets.