ChartsOrg / ChartsOrg/Charts

X Axis control...

Open
#3,069 10 comments 0 reactions 0 assignees View on GitHub
Good Example
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I want to put hours on my X axis like this:

"09h30 10h00 11h00 12h00 13h00 14h00 15h00 16h00" Only 8 elements. But I have 390 Y values. So I want to put my X axis labels at a precise place to be synchronize with my Y values. But `IAxisValueFormatter` does not help here since it will not enter in the function for every Y values.

I have a request. To have control over the IAxisValueFormatter function `func stringForValue(_ value: Double, axis: AxisBase?) -> String` called so I can return the right string at the right value.

Is it possible?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.