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
Hi! Looks like a really great package, exactly what I was looking for.
Can you add support for Date ranges? For when the x-axis has Date values. When I try with Double, I get:
The scale domain configuration type (Date) doesn\'t match encoded value type for channel Channel(type: Charts.EncodableProperty.x, scaleID: Charts.Spec.ScaleID.primary)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi EstiT, did you solve the problem? I'm hanging by putting measured data timebased to a chart and I want to zoom in... (means not the scale things in swift, but changing the x axis domain)
Hi @MichaelLorms!
I have a newer version that does support generic bounds - including Date.
Just pushed 2.0.0 to this repo.
The API is also a bit simpler: .gesture(DomainXGesture(domain: $domain))
The minimum platform version is .iOS18 though.
Ah, thats why I was totally irritated…
As I looked in Github, I found the example on the first page containing date, and I asked myself, how blind I was two days ago ;-)
But really absolutely cool, I’ll give it a try...
And thanks a lot for extremely fast response!!
Best regards
Hi! Looks like a really great package, exactly what I was looking for.
Can you add support for Date ranges? For when the x-axis has Date values. When I try with Double, I get:
The scale domain configuration type (Date) doesn\'t match encoded value type for channel Channel(type: Charts.EncodableProperty.x, scaleID: Charts.Spec.ScaleID.primary)
Thanks!
The text was updated successfully, but these errors were encountered: