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
Okay, this is way more complicated than I expected. Time is hard.
NoUISlider library doesn't handle dates directly, but it work with Linux timestamps. The Highcharts also accepts Linux timestamps. To properly use dates, chart data should already contain proper date values in the form of timestamps or other formats that Highcharts can interpret as dates (YYYY-mm-dd for example, etc.). If the data does not have timestamps and values on the X-axis are generated with a simple interval, the start point, interval and interval unit need to be specified. Something like this:
The current idea is to provide three options for the slider's input fields:
year
year and month
year, month, day
The config author needs to specify the correct date option on the slider config. Otherwise, the slider will default to treating the timestamps as actual values. The slider will work, but the value will be incomprehensible to the users:
Read #4 (comment) for more information.
The text was updated successfully, but these errors were encountered: