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 the points by default. I’m creating a columns chart using FSharpChart.Column and therefore makes more sense to have the labels on each columns grather than the grid lines, but I can find how to do this.
I’ve been using the F# charting library for a bit of interactive charting. It’s
Share
Specifying labels is not currently supported by the library – This is definitely an important thing that should be added, so I’ll pass that feedback to people currently working on the library.
If you want to digg deeper, then this needs to be done when binding chart series to a data source, which is done in a
setSeriesDatafunction:The function gets data in a discriminated union value
ChartDatathat is created by all the different charting functions likeFSharpChart.Column. I’m not sure what would be the best strategy – probably addoption<seq<string>>that can specify additional labels. To display the labels, you’d probably have to change the call toDataBindY(orDataBindXY) to a call toDataBindthat allows specifying additional properties (such as labels).Regarding the documentation – I wrote some articles about the library that should be online (on MSDN actually) soon. It is not comprehensive documentation, but it should cover most of the supported features of the library.