Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataviz - type pie and type scatter - plot preview #478

Open
josemvm opened this issue Feb 27, 2023 · 5 comments
Open

dataviz - type pie and type scatter - plot preview #478

josemvm opened this issue Feb 27, 2023 · 5 comments

Comments

@josemvm
Copy link
Contributor

josemvm commented Feb 27, 2023

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:
imagem

preview image:
imagem

Context

  • QGIS version: 3.22.16
  • Lizmap version: 3.6.2 pre
  • OS: Ubuntu 20
@Gustry
Copy link
Member

Gustry commented Feb 28, 2023

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 ?

@3liz-bot
Copy link
Contributor

3liz-bot commented May 1, 2023

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! 🦎

@3liz-bot 3liz-bot added the Stale label May 1, 2023
@3liz-bot 3liz-bot closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2023
@Gustry Gustry reopened this May 17, 2023
@josemvm josemvm changed the title dataviz - type pie - plot preview dataviz - type pie and type scatter - plot preview May 17, 2023
@josemvm
Copy link
Contributor Author

josemvm commented May 17, 2023

for the scatter type dataviz, the plot preview doens't show de line

lizmap image:
imagem

preview image:
imagem

thanks

@mdouchin
Copy link
Contributor

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});

@Gustry
Copy link
Member

Gustry commented Oct 9, 2023

@mdouchin Committed but commented 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants