-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix JS expression for chart label typo #30
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ae3b360 you referred has more places with such bug! Michael, always check this when doing changes!
Michael, again, the PR is still not fixing all issues, see |
@mvorisek Can you please stop teaching me what my workflow has to include? I am fixing a bug that was introduced by you which basically results from your own workflow not checking your own code changes sufficiently and introducing in this case new bugs across several scripts. I am assuming this is a joint open-source effort where people are investing their personal time and not an environment for blaming people for not matching your personal quality standards which in this case you have not met yourself. Thank you. |
Michael, thank you for the feedback. I was written in that way to stress that I very often feel/felt that you was opening PRs with low efford invested shifting the efford on me. Efford in fixing one line instead of fixing all cases, missing tests... Is this feedback from me clear or what can I do better? Yes, the issue was introduced by me. Of course sorry, it slipped thru my review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
src/ScatterChart.php
Outdated
label += ": "; | ||
} | ||
return label + (value ? Number(value).toLocaleString(undefined, {minimumFractionDigits: [], maximumFractionDigits: []}) : "No Data"); | ||
EOF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dot? do not fix it, I am on this PR now...
The changes should be good now, but I have no test env setup for this repo, I would be happy if someone else can review this PR as well. |
Variables in JS expression not processed due to EOF string definition
Effect: Tooltips are no longer working as originally intended.
How to test: Open the
demos/index.php
and check if tooltips work on all the charts. Also there should not be a JS console error as previously an invalid parameter is passed tominimumFractionDigits