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
Describe the bug
I am using a Queue as the values for my charts. In the latest pre-release, i.e. v2.0.0-rc4, this no longer works. I now get error:
CS0266 Cannot implicitly convert type
'System.Collections.Generic.Queue<LiveChartsCore.Defaults.DateTimePoint>' to 'System.Collections.Generic.ICollection<LiveChartsCore.Defaults.DateTimePoint>'. An explicit conversion exists (are you missing a cast?)
Testing quickly it seems that Array<T> and HashSet<T> still works, but Stack<T> and Queue<T> does not.
Expected behavior
So far I have been able to use Queue<T> without issues. I was previously using v2.0.0-rc3.3. In #1386 the Series.Values was updated from IEnumerable to ICollection. @beto-rodriguez writes that we can still use Queue<T> etc. despite changing to ICollection, which has been true up to the latest version
Desktop (please complete the following information):
Describe the bug
I am using a Queue as the values for my charts. In the latest pre-release, i.e. v2.0.0-rc4, this no longer works. I now get error:
Testing quickly it seems that
Array<T>
andHashSet<T>
still works, butStack<T>
andQueue<T>
does not.To Reproduce
Steps to reproduce the behavior:
Expected behavior
So far I have been able to use
Queue<T>
without issues. I was previously using v2.0.0-rc3.3. In #1386 theSeries.Values
was updated fromIEnumerable
toICollection
. @beto-rodriguez writes that we can still useQueue<T>
etc. despite changing toICollection
, which has been true up to the latest versionDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: