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

Issue with Axis Titles #20

Open
danybonfil opened this issue Sep 25, 2023 · 2 comments
Open

Issue with Axis Titles #20

danybonfil opened this issue Sep 25, 2023 · 2 comments

Comments

@danybonfil
Copy link

danybonfil commented Sep 25, 2023

Deat Timvink,

I found an issue when trying to place the same Vega Lite graph in two separate Github Pages
The repository is https://github.com/infovote-io

When I create the plot margingrowtheval_hcon.json I can see it in the index page, however when I copy the same graph in the v2 page it does not display:
Index:
image
V2:
image

I included 2 examples more of this issue, the margingrowtheval_rep.json tries to achieve the same result but the repeat function does not allow me to display only one of the axis titles, it is either both together or only one for both. Finally, the margingrowtheval_sep.json includes the variable name instead of a title for the x-axis

To contrast this same behavior, the carterclinton.json graph is on both pages (index and v2) and it does not have this issue. It only appears when I want to copy margingrowtheval_hcon.json which uses more than one x-axis title.

Any help is greatly appreciated. Thank you :)

@timvink
Copy link
Owner

timvink commented Oct 25, 2023

That indeed looks like a bug. Let's check first: are you on the latest version of this plugin? Use pip list | grep mkdocs-charts-plugin to see the version, pip install -U mkdocs-charts-plugin to upgrade.

If so; I cannot see your github repo. Would help to see the example. It probably has to do with how we resolve the paths to the home directory. There might be inference with other plugins also.

@timvink
Copy link
Owner

timvink commented Oct 22, 2024

Actually this might have been fixed in the meantime (https://github.com/timvink/mkdocs-charts-plugin/releases/tag/v0.0.11). Can you try again?

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

No branches or pull requests

2 participants