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

How to show time values in horizontal Bar chart? #402

Closed
wganeshb opened this issue Sep 21, 2015 · 3 comments
Closed

How to show time values in horizontal Bar chart? #402

wganeshb opened this issue Sep 21, 2015 · 3 comments

Comments

@wganeshb
Copy link

Can I show graph y value as hh:mm:ss format? As usual I am initializing the BarChartDataSet with BarChartDataEntry value array. I am passing the y values array which consists time in seconds.

@wganeshb
Copy link
Author

Got the answer.
#228

Thanks

@wganeshb
Copy link
Author

I just subclassed NSNumberFormatter. And override stringFromNumber: function. It worked for me. Use it as formatter for BarChartData.

@yas375
Copy link
Contributor

yas375 commented Sep 22, 2015

I guess this issue can be closed.

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

No branches or pull requests

3 participants