You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a couple of scenarios where setting nice to a desired tick count renders ticks abruptly:
When a chart has padding applied, setting nice to an explicit number renders the axis ticks in a way that does not follow the data domain.
Here's a working example of this issue. The data domain does not have any negative values so I'd expect that providing a desired tick count value to nice should show more ticks with positive values and not negative.
I tried removing the padding in this other example and set nice to a number (e.g., 3) but the rendered chart has a different number of ticks (e.g., 6 excluding 0). I tried different numbers for the desired tick count but the output number of ticks is generally unpredictable.
Checklist
I checked for duplicate issues.
The text was updated successfully, but these errors were encountered:
Bug Description
I'm running into a couple of scenarios where setting
nice
to a desired tick count renders ticks abruptly:When a chart has
padding
applied, settingnice
to an explicit number renders the axis ticks in a way that does not follow the data domain.Here's a working example of this issue. The data domain does not have any negative values so I'd expect that providing a desired tick count value to
nice
should show more ticks with positive values and not negative.I tried removing the padding in this other example and set nice to a number (e.g., 3) but the rendered chart has a different number of ticks (e.g., 6 excluding 0). I tried different numbers for the desired tick count but the output number of ticks is generally unpredictable.
Checklist
The text was updated successfully, but these errors were encountered: