FSharp.Charting icon indicating copy to clipboard operation
FSharp.Charting copied to clipboard

Can't display a chart again after closing original display window

Open latkin opened this issue 10 years ago • 0 comments

#load "../packages/FSharp.Charting.0.90.12/FSharp.Charting.fsx"

open FSharp.Charting

let chart =
    [1..10]
    |> List.map (fun n -> (n, n))
    |> Chart.Line ;;

This displays the chart, as expected. Now close that display window, and try to display the chart again:

chart ;;

Result:

val it : ChartTypes.GenericChart =
  Error: Exception has been thrown by the target of an invocation.

latkin avatar Jul 09 '15 17:07 latkin