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 ran into this same issue - turns out the issue is related to the timeUtil.ToFloat64 method.
When using a time series, this method casts the the time value to float64(t.UnixNano()) whereas what I (and @fiatjaf did) was use t.Unix() in our ticks construction.
Had to run it under dlv before I could figure out what was going on.
Hope this helps - just needs a note in the documentation to resolve.
Without setting ticks:
Setting ticks:
(Note that the ticks are set to be exactly under each dot in the series.)
The full code is at https://github.com/fiatjaf/ght/tree/541f3b7ee589a45437091e6df0808b43b5d76e82
The text was updated successfully, but these errors were encountered: