Skip to content

v0.9.2 - Plotly/Vega-Lite WebKit fallback

Choose a tag to compare

@YusufEminoglu YusufEminoglu released this 16 Jun 17:23
· 6 commits to main since this release

Plotly & Vega-Lite: no more blank panel on QGIS without QtWebEngine

When a QGIS build ships no QtWebEngine, the embedded chart panel falls back to the legacy QtWebKit viewer. That old viewer cannot run the modern JavaScript (ES6+) that Plotly.js and Vega-Lite require, so their charts stayed blank in the dock — even though they exported and opened correctly in a browser. ECharts and the matplotlib image engine were unaffected (they run on QtWebKit).

What changed: the dock now detects the QtWebKit viewer and, for Plotly/Vega-Lite, shows a short explainer in the panel instead of a silent blank. Your chart is still built — click to open it in your system browser, or use Export HTML. For a chart that renders inside the dock, switch to the ECharts engine, or install QtWebEngine for QGIS.

Root-caused in real QGIS: under QtWebKit the engines fail with ReferenceError: Can't find variable: Plotly / vega; under QtWebEngine (QGIS 4 / Qt6) all engines render. Chart output, the engines and exports are unchanged.


Install: download zero2viz.zip below → QGIS → Plugins → Install from ZIP. Also on the QGIS Plugin Hub.