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

Text Size in Bar Chart #1

Open
girishnair12345 opened this issue Jun 20, 2014 · 3 comments
Open

Text Size in Bar Chart #1

girishnair12345 opened this issue Jun 20, 2014 · 3 comments

Comments

@girishnair12345
Copy link

Your Bart chart shows the values at top of the bar, please make this above the bar line (adding another constant like SimpleBarChartXLabelTypeVerticle would suffice i think), but the issue that I am facing is if the numbers are 6 digits long then the xLabelType get overlapped and disturbs the view. Also you could enable a boolean that allows user to highlighting a bar by selecting it and the value corresponding to it gets displayed as a pop up or something like BEMSimpleLineGraph then it would be helpful

@mmislam101
Copy link
Owner

Hey there. I'll try to get on the the clicking bar thing. I've seen other graphs do it too and it's a nice feature. As for the label. I'm not fully understanding. Are you saying that the x-axis labels are overlapping the bars or are you saying that the barLabels are overlapping?

@girishnair12345
Copy link
Author

Try placing these values _values = @[@1812.62, @8561.85, @1310.57, @1619.94, @1221.64, @604.26, @35172.27, @3448.42,@44.52, @3173.75, @871.73]; and run the application you will see that these label texts overlap each other when shown in an iPhone simulator

@girishnair12345
Copy link
Author

Also how do you inflate it via XIB, I was not able to do it, I needed to resize the view when orientations change but I cannot set the frame, even if i set _chart.center = CGPointMake(100, 100); the chart wont move how to refresh it ? how to change the size ?

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