Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Axis labels #63

Open
forki opened this issue Jan 8, 2015 · 3 comments
Open

Strange Axis labels #63

forki opened this issue Jan 8, 2015 · 3 comments
Labels

Comments

@forki
Copy link
Contributor

forki commented Jan 8, 2015

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

image

this is how Octave does it:

image

@forki
Copy link
Contributor Author

forki commented Jan 8, 2015

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

@dsyme
Copy link
Member

dsyme commented Jan 12, 2015

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 dsyme added the question label Jul 7, 2015
@dsyme dsyme mentioned this issue Jun 7, 2017
@FoggyFinder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants