Visual Studio Code または Atom で F# スクリプトを使用してデータを視覚化しようとしています (両方を試しました)。XPlot Google Charts を使用してどのように機能するかを示す簡単な例があります。
https://tahahachana.github.io/XPlot/ http://tomasp.net/blog/2016/fslab-ionide/
しかし、チャート出力が得られません。次のようなコードを実行すると:
inputs
|> Chart.Combo
|> Chart.WithOptions
(Options(title = "Coffee Production", series =
[| for typ in series -> Series(typ) |]))
|> Chart.WithLabels
["Bolivia"; "Ecuador"; "Madagascar"]
|> Chart.WithLegend true
|> Chart.WithSize (600, 250)
FSI ウィンドウでのみ出力を取得します。
val it : GoogleChart = XPlot.GoogleCharts.GoogleChart {Height = 250; Id = "85c0bc41-3ae2-4a40-8517-da33aa7ad713"; 幅 = 600;}
...もちろん正しいのですが、テキスト ウィンドウには他に何が表示されるのでしょうか? しかし、F# Interactive を使用して VS Code または Atom でグラフィカルな出力を取得するにはどうすればよいでしょうか? 私は明らかに基本的なものを欠いていますが、何ですか?