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

Strange Axis labels

Open forki opened this issue 11 years ago • 3 comments

I noticed that FSharp.Charting is creating strange Axis labels:

image

this is how Octave does it:

image

forki avatar Jan 08 '15 11:01 forki

It's also strange that X-Axis starts at 30, but y-Axis starts at 0.

forki avatar Jan 08 '15 11:01 forki

Agreed - there must surely be some default charting setting to do a better job on this. If you can find the appropriate setting, we can make it the default.

dsyme avatar Jan 12 '15 10:01 dsyme

Well, if default setting looks weird you can change them to more fitable value.

Let's get for example simple line chart from documentation:

[ for i in 0.0 .. 0.02 .. 2.0 * Math.PI -> (sin i, cos i * sin i) ] 
|> Chart.Line

before With custom format

|> Chart.WithXAxis(LabelStyle=ChartTypes.LabelStyle.Create(Format="F2"))

after

FoggyFinder avatar Nov 25 '18 18:11 FoggyFinder