FSharpChart minor release available (version 0.56)

The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: https://fsharp.github.io/FSharp.Charting/

I have provided a minor update to FSharpChart, which can be downloaded from the usual place:

https://code.msdn.microsoft.com/FSharpChart-b59073f5

This is a minor release that adds support for some Title and Border properties when working with Axis and Legends.

Also, thanks to a community suggestion I have also added support for modifying the Marker associated with a series. To modify the Marker for a data series one can now write:

[ for i in 1. .. 20. .. 1000.0 -> i, rnd.NextDouble() ]
|> FSharpChart.Line
|> FSharpChart.WithSeries.Marker(Style=MarkerStyle.Star4, Color=Color.Black)

This renders the chart:

image

Don’t forget the package is also available from NuGet:

https://www.nuget.org/List/Packages/MSDN.FSharpChart.dll

Enjoy!

Comments

  • Anonymous
    October 25, 2011
    Thanks for incorporating my suggestions. You didn't include the fix for keeping the area, legend and margin options when combining charts. In my fix (at github.com/.../FSharpChart) I'm only keeping the options from the first subchart, but we could probably improve it by merging all the options from all subcharts together.
  • Anonymous
    October 25, 2011
    Was not sure what you meant by this, your code links were not working; the other stuff was fortunately easy.I also added some Border properties as some were missing.Thanks for the Marker suggestion; nice addition.What issue are you seeing? Are the legends disppearing for a combined chart. Will have a look later in the week.
  • Anonymous
    October 25, 2011
    When you have a chart displayed in a form and want to interactively add a new series on top of it, you replace the chart you add with a combined chart of the original one plus the new one you want to overlay. The problem is that if the original chart had margins, axis labels, etc... configured, when creating the combined chart those options will be lost and you have to repeat all of your WithMargin and WithArea calls. Check these two commits:See github.com/.../e1a53455aacfca8c3525f70b28bc911cd17a9c2c and github.com/.../79c7a342fa7126e7e78ca337937ebd3d372838fb