gpbl / gpbl/SwiftChart

Centered Data Points

Open
#82 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Swift
Stars
1k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

Hello everybody,

I'd be very happy to know if there is a way to 'center' the data points in regards to the x-scale. In order to make my request easier to understand please refer to the picture I attached (please ignore the colors).

![5c303ac6-9adc-11e5-9006-3275a16b7ec8](https://user-images.githubusercontent.com/14822950/32803587-ad29233a-c98c-11e7-9915-41e60dfd63ac.png)

I have tried to overcome this issue with adding 0.5 to my x values (for example, adding 0.5 to 6), which indeed made the data points centered. This, however, broke the accuracy of the didTouchChart function.

Thank you in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.