Questions tagged [fsharpchart]

The F# Charting library implements charting suitable for use from F# scripting.

Full details on downloading and using F#-Charting, including examples, are available at https://fslab.org/FSharp.Charting/

42 questions
11
votes
1 answer

How to use FSharpChart from fsx script file

I want to use FSharpChart with a fsx script file in my project. I downloaded and referenced the MSDN.FSharpChart.dll using Nuget and my code looks like this #r @"..\packages\MSDN.FSharpChart.dll.0.60\lib\MSDN.FSharpChart.dll" open…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
10
votes
2 answers

Animate chart with Observable based on infinite sequence

I'm having trouble creating an animated visualisation of some data of mine using FSharp.Charting and FSharp.Control.Reactive. Essentially, I have an infinite generator of points. My real generator is more complicated than the following example, but…
Mark Seemann
  • 225,310
  • 48
  • 427
  • 736
9
votes
2 answers

My F# Chart Library doesn't work in a project

open FSharp.Charting open System [] let main argv = printfn "%A" argv let x = Chart.Line [ for x in -100 .. 100 -> x, pown x 3] let y = Console.ReadKey(); 0 //return an integer exit code Hello, I'm trying to play with…
Luke Xu
  • 2,302
  • 3
  • 19
  • 43
4
votes
1 answer

How to display an FSharp.Charting graph in an existing form?

I don't understand how to create a chart control and place the chart in an existing form. All the examples I found on the web show the chart in a new form but I would like to add the chart to one of my existing forms. I'm thinking of something like…
vidi
  • 2,056
  • 16
  • 34
3
votes
3 answers

FSharpChart blank output

I'm currently trying to get FSharpChart to work. Unfortunately after compiling the library and feeding any FSharpChart with data I only get blank outputs, whether I use FSharpChart.WithCreate, FSharpChart.SaveAs or FSharpChart.CopyToClipboard. Even…
em70
  • 6,088
  • 6
  • 48
  • 80
3
votes
1 answer

Prefer XPlot or F# Charting?

I am struggling to understand the difference between XPlot and F# Charting. Each is developed in the context of FsLab, each provides an easy way to display various sorts of charts. Even the syntax seems to be nearly the same. Maybe it depends on…
Friedrich Gretz
  • 535
  • 4
  • 14
3
votes
2 answers

How to open and use Library : "Fsharp.Charting && Fsharp.Charts" in Fsharp?

I tried my's best by finding a answer in Google . But all I think that it's not accordant with my case . Please give me a guide . Thank you very much . If you were I , you can Uninstall + Install Visual Emprise . This's reasons takes me many times…
user8278702
3
votes
3 answers

How to make Fsharp show Charting?

Chart.Line [ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ] I tried many times in order to see the Charting from Fsharp as F# Charting I install some extensions which I think needed…
user8278702
3
votes
1 answer

FSharp.Charting.Gtk crashes on launch

I am new to F# and am trying run my code on a mac. I am using Visual Studio(Xamarin) and used NuGet to install FSharp.Charting.Gtk. I also have Gtk3 installed using macports. When I try to run this simple code: open FSharp.Charting …
vladb
  • 247
  • 1
  • 2
  • 10
3
votes
1 answer

how to run .fsx in fsi

Exploring F# with FSharp.Charting I thought I would start with a simple 'hello world' but it leaves me with more questions then lines of code. #load @"..\packages\FSharp.Charting.0.90.14\FSharp.Charting.fsx" open FSharp.Charting let chart =…
user1604008
  • 995
  • 9
  • 17
3
votes
0 answers

fsharp.charting live chart doesn't show data

I'm playing with FSharp.Charting and observables. Given the code below chart.ShowChart() throws InvalidOperationException "Enumeration already finished" If I remove this line the data is printed correctly on the console. Thanks. let oauthCfg =…
vidi
  • 2,056
  • 16
  • 34
2
votes
0 answers

extending fsharpchart

I would like to use FSharpChart but there is no basic Chart for what I would like to display : a correlation matrix. I therefore wrote some functions to draw on a bitmap, along the way that Tomas Petricek does for charting a pie-chart. Is there any…
nicolas
  • 9,549
  • 3
  • 39
  • 83
2
votes
0 answers

ScaleBreakStyle with FSharpChart 0.60

I'm trying to make a chart with FSharpChart that has a scale break in it. I found an example for asp.net that I have tried to rewrite for F#. However, the resulting chart does not have any scale break but has normal y-axis. Here is my code: #r…
Taylor Southwick
  • 1,456
  • 13
  • 14
2
votes
1 answer

Dynamic Chart - Fable

I have a project with model update view architecture using fable-elmish. And I have to download files every minute and read those files. How can I download in the update function and how can I read and parsing to Json? I need to create dynamic…
2
votes
1 answer

Creating similar HTML reports for several data files

I need to analyze a dozen similarly formatted data files. I wish to generate a similar html report, containing some statistics and graphs which describe the data, for each file. One html report per one file, same graphs in each, just different…
Steve
  • 374
  • 1
  • 4
  • 13
1
2 3