ChartsOrg / ChartsOrg/Charts

DateString values in xAxis are more than the entries count

Open
#4,338 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I used dateFormatter from the demo. I pass a timestamp in the stringForValue method and convert it to string.
When I run the application strings are more than my values. Formatter is called more than my data counts.
For example I have 1/4, 3/4 and 10/4. My graph has values from the 1/4 until I don't know because my screen does not fits the graph.

What can I do to have only my entries dates and what can I do to fits the graph in my screen?

Thank you

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.