dataviz - type pie and type scatter - plot preview
Description
for the pie type dataviz, the plot preview doens't take in account the layout code:
{"colorway": ["#ffffff", "#57a163", "#e2d251", "#086fa1", "#bc4a3c", "#856e41", "#000000", "#ffffff", "#8a9a97"]}
lizmap image:

preview image:

Context
- QGIS version: 3.22.16
- Lizmap version: 3.6.2 pre
- OS: Ubuntu 20
I'm not sure if it's a bug on Lizmap Web Client side or here. The plugin is taking the result from the LWC server only.
Does the layout works for other charts ?
Hiya! This issue has gone quiet. 👻 We get a few issues, so we currently close issues after 60 days of inactivity. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks for being a part of the Lizmap community! 🦎
for the scatter type dataviz, the plot preview doens't show de line
lizmap image:
preview image:
thanks
Indeed, the code does not take into account the additional JSON layout given by the user
We could add in the code just before this line
// Apply the JSON user layout
Plotly.relayout("lizmap-plot", {plot_user_layout});
@mdouchin Committed but commented 😁