-
Notifications
You must be signed in to change notification settings - Fork 30
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
Node Invisible with small value #87
Comments
Can you provide a sample config? I suppose we could add a "min size" option for a node |
Thank You for the reply. In screenshot you can see node height very thin and label also not properly aligned. I want to have both node and label properly visible. Sample code: var ctx = document.getElementById("chartTest").getContext("2d"); //the y-order of nodes, smaller = higher }; var labels = { } function getColor(name) { var chart = new Chart(ctx, {
} |
My solution was to modify my data on the way in to ensure that no displayed value was less than 5% of the total value. I made the actual values part of the labels so the user can see them. That said, being able to establish top/bottom padding for each element would fix this issue, and would resolve a related issue where the labels aren't "overlapping" per se but are too close together for my aesthetic. |
Hi Team,
Do we have any property where I can increase node height or can give fixed size?
Basically nodes are sized proportionately to the values. If value is too small than node becomes invisible, so how to fix it?
The text was updated successfully, but these errors were encountered: