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
etimberg
changed the title
Line Chart on a monthly times scale
Time axis shows no ticks when all data points are less that the selected unit
Nov 1, 2020
I fixed it with a workaround. I wrote a function that check if all data have the same month and year and set unit time to: day, otherwise set unit time to: month.
I don't think there is anything we can do about this. If the automatic unit selection does not work correctly, that could be altered, but when config states unit, chart will obey that.
When all data points have the same month, the month label is not shown
Expected Behavior
Show the current month in the labels section
Current Behavior
The month is not shown in the labels section
Possible Solution
I don't know
Steps to Reproduce
https://codesandbox.io/s/suspicious-field-fk4se?file=/src/App.js
Context
Environment
The text was updated successfully, but these errors were encountered: