Closed OG-NI closed 1 week ago
Name | Link |
---|---|
Latest commit | 0c49d2b84e945a14b66c58a335387c4e79540ba4 |
Latest deploy log | https://app.netlify.com/sites/mermaid-js/deploys/6674799fbafeaf0008ac3db4 |
Deploy Preview | https://deploy-preview-5556--mermaid-js.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Attention: Patch coverage is 0%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 5.73%. Comparing base (
1e43ad1
) to head (0c49d2b
).
The latest updates on your projects. Learn more about Argos notifications ↗︎
Build | Status | Details | Updated (UTC) |
---|---|---|---|
default (Inspect) | 👍 Changes approved | 1 added | Jun 20, 2024, 7:00 PM |
@OG-NI, Thank you for the contribution! You are now eligible for a year of Premium account on MermaidChart. Sign up with your GitHub account to activate.
:bookmark_tabs: Summary
This fixes the issue of XYCharts, where the spacing between the data points is sometimes incorrect and some data points not being displayed.
Resolves #5555
:straight_ruler: Design Decisions
The formula calculating the distance between two data points when using a numeric range on the x-axis has been changed from
const step = (max - min + 1) / data.length;
toconst step = (max - min) / (data.length - 1);
. This maps the first value to the minimum on the x-axis, the last value to the maximum and evenly distributes all other values between the two ends.The changes made do not affect the way any existing demo chart is being rendered.
Feel free to ask if any additional documentation is needed.
:clipboard: Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.develop
branch