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

I am not able to set values on the bar in simple bar chart. #2638

Closed
zeeshansuleman opened this issue Jul 25, 2017 · 7 comments
Closed

I am not able to set values on the bar in simple bar chart. #2638

zeeshansuleman opened this issue Jul 25, 2017 · 7 comments

Comments

@zeeshansuleman
Copy link

hello there , i am facing a weired issue i cant print values on the bar in simple bar chart , i do not want to use the grouped bar chart.i am also using _chartView.drawValueAboveBarEnabled = YES;
but still there does not display any value..help me

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 28, 2017

Have you checked ChartDemo? I notice you are asking similar questions and it seems ChartsDemo already demoed them.
And you question is too vague to know what's wrong.
Do check and play with ChartsDemo

@zeeshansuleman
Copy link
Author

@liuxuan30 in chart demo no value print out in simple bar chart.it only prints in multiplebarchart. thanks

@liuxuan30
Copy link
Member

are you asking drawValuesEnabled?

@zeeshansuleman
Copy link
Author

zeeshansuleman commented Aug 10, 2017

@liuxuan30 i also enabled drawvalues but still bar does not show values on its top.

@liuxuan30
Copy link
Member

can't be.. screenshots?

@zeeshansuleman
Copy link
Author

@liuxuan30 here is the screen shot.
screen shot 2017-08-11 at 12 23 22 pm

@liuxuan30
Copy link
Member

Alright, if you enabled drawValuesEnabled, debug drawValues() func to see if it's drawing. BTW, did you change the text color to be visible?

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

2 participants