0
aide LINQPad 5.0, j'ai le code qui ressemble à ceci:Comment afficher un diagramme de DataVisualization en LINQPad F #
open System
open System.Net
open System.Windows.Forms
open System.Windows.Forms.DataVisualization
open FSharp.Charting
...
module Chart =
/// Creates a line chart from the given sequence using at
/// most 'count' numbers and automatically adding X axis
let SimpleLine(seq, count) =
seq |> Seq.truncate count
|> Seq.mapi (fun i v -> i, v)
|> Chart.Line
let chart = Chart.SimpleLine([1.0; 2.0; 4.0; 8.0], 3)
Si je dis
chart.Dump()
Je vois la boîte de LINQPad typique, mais pas le tableau lui-même.