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
2
votes
1 answer

F# Charting on MacOS (Xamarin)

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 **…
Fagui Curtain
  • 1,867
  • 2
  • 19
  • 34
2
votes
1 answer

Importing FSharp.Charting in .fs file fails

Create a new FSharp Console project via VS2015 Add FSharp.Data and FSharp.Charting nuget package. In Program.fs import both the packages open FSharp.Charting open Fsharp.Data After the import I am able to use functions provided in FSharp.Data…
Parshuram
  • 67
  • 1
  • 8
2
votes
1 answer

FSharp.Charting shows separated window for each Chart in interactive mode

When I try to evaluate the following code in F# interactive console I get three separated chart windows (one for chartA, one for chartB and one for combined chart). How to prevent of displaying chart every time it's created? I want to display only…
cezarypiatek
  • 1,078
  • 11
  • 21
2
votes
1 answer

F# Charting - Column chart doesn't label all column names when there are more than 9 columns

I'm trying to chart some category/count data using FSharp.Charting column charts and everything works as I expect unless the number of columns reaches 10 or more. From http://fslab.org/FSharp.Charting/BarAndColumnCharts.html. let data = …
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
2
votes
2 answers

FSharpChart: two scales on same graphic

I'm using FSharpChart to print on the same graphic the moving average and the volume of a stock. The problem is that one graphic goes from 20 to 50 more or less, the other from 0 to 80 mln, so when I combine the two, one is split to the bottom and…
gioaudino
  • 573
  • 8
  • 23
2
votes
1 answer

FSharpChart with Windows.Forms very slow for many points

I use code like the example below to do basic plotting of a list of values from F# Interactive. When plotting more points, the time taken to display increases dramatically. In the examples below, 10^4 points display in 4 seconds whereas 4.10^4…
imateapot
  • 141
  • 1
  • 1
  • 8
2
votes
1 answer

Charting and Comparing Prices in F# - Chart.Combine will not produce graph

I'm working through the charting and comparing prices tutorial on tryfsharp.org and my Chart.Combine function in Fsharp.Charting library will not work, but, other charts, such as Chart.Line will work! Code below. // Helper function returns dates &…
Ian Leatherbury
  • 364
  • 4
  • 11
1
vote
1 answer

Axis LabelStyle not working in FSharpChart?

I can't work out how to change the font on the Axes in FSharpChart.WithArea. This is the shortest example I could come up with that displays the problem (on my machine, at least). #r "System.Windows.Forms.DataVisualization.dll" #r…
Benjol
  • 63,995
  • 54
  • 186
  • 268
1
vote
1 answer

FSharpChart.Column with a label on easy column

I've been using the F# charting library for a bit of interactive charting. It's really nice for showing charts of data really quickly but the lack of documentation is a little frustrating. For example labels seem to be placed on grid lines rather…
Robert
  • 6,407
  • 2
  • 34
  • 41
1
vote
0 answers

Is it possible to remove entries/prevent entries being added to a legend with FSharp.Charting?

I'm making time series plots with FSharp.Charting.FastLine. I only want to highlight some of the lines in the legend. This requires removing entries from the legend, or preventing some lines being added to the legend. Is this possible? the current…
1
vote
1 answer

F# compile FSharpChart: inline error

I tried to compile FSharpChart libary from http://blogs.msdn.com/b/dsyme/archive/2011/04/01/fsharpchart-wrapping-the-system-windows-forms-datavisualization-charting-charting-types.aspx, and got compile error like Error 1 The value…
matlabdbuser
  • 848
  • 6
  • 10
1
vote
1 answer

Combining charts out of list in F#

I'm trying to combine some column charts using FSharp.Charting, but I'm stuck. For each time my recursive function do something, it creates a chart (ChartTypes.GenericChart). Then, I add this new chart to a list (ChartTypes.GenericChart list).…
Bella
  • 414
  • 2
  • 13
1
vote
1 answer

FSharp Charting change data point label font size

Using F# Charting I am able to change axis label font sizes with chart |> Chart.WithArea.AxisX(LabelStyle = myStyle) however have not found a way to change data point label font sizes let myChart = Chart.Line prices |>…
rbonallo
  • 970
  • 1
  • 9
  • 21
1
vote
1 answer

Skip null values in seq> in FSharp.Charting

I have seq> and need to create nice plot, but without null values. Here is my code: open System #r """..\packages\FSharp.Charting.0.90.14\lib\net40\FSharp.Charting.dll""" #load…
Alamakanambra
  • 5,845
  • 3
  • 36
  • 43
1
vote
0 answers

F# Charting in XAMARIN 6.3 (MacOS) compilation error and FSI bug

I am trying to use F# Charting: Library for Data Visualization https://fslab.org/FSharp.Charting/ I am experiencing basic trouble I've posted my issue on GitHub but I'm cross-posting here https://github.com/fslaborg/FSharp.Charting/issues/126 I am…
Fagui Curtain
  • 1,867
  • 2
  • 19
  • 34