Hi I'm running on Xamarin 6.1.5 on MacOS I've installed FSharp.Charting 0.90.14
its the first time I'm trying to use it
whether i try to compile or i try in F# interactive, i get this kind of error
(Chart.Line [ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ]).ShowChart();;
System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException (...)
EDIT1 I was very stupid indeed and did not install the Gtk version
EDIT2 the above one-liner code in F# interactive "works". It takes some unusual time to execute, but i see the window with the chart. It is not possible to hover on the chart and see coordinates, but maybe its not a default setting ? also, i don't understand how to CLOSE the window where the chart appears. Is everything alright ?
Aren't you trying to use
FSharp.Charting
package on Mac instead ofFSharp.Charting.Gtk
, as documentation says you to do?See https://fslab.org/FSharp.Charting/ReferencingTheLibrary.html
Edit: answering to the edit of the original question: no, there should be no warnings. That's how it works for me:
(The window appears immediately.)