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

xychart - bar width #5927

Open
HariSekhon opened this issue Oct 4, 2024 · 0 comments
Open

xychart - bar width #5927

HariSekhon opened this issue Oct 4, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@HariSekhon
Copy link

HariSekhon commented Oct 4, 2024

Description

Have a setting to be able to set the width of the bars or set the space and let the bars fill the space.

Steps to reproduce

See this repo for chart and code:

https://github.com/HariSekhon/Diagrams-as-Code/?tab=readme-ov-file#mermaidjs---commit-times

Code is here:

https://raw.githubusercontent.com/HariSekhon/Diagrams-as-Code/refs/heads/master/git_commit_times.mmd

Screenshots

These bars are looking a bit skinny:

Code Sample

https://raw.githubusercontent.com/HariSekhon/Diagrams-as-Code/refs/heads/master/git_commit_times.mmd

Setup

  • Mermaid version: 11.2.0
  • Browser and Version: Chrome

Suggested Solutions

In GNUplot code here:

https://github.com/HariSekhon/Diagrams-as-Code/blob/master/git_commit_times.gnuplot

set boxwidth 0.8 relative

results in thicker bars:

Additional Context

No response

@HariSekhon HariSekhon added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant