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

Adding an average line to a BarChartView #1162

Closed
boontong opened this issue Jun 21, 2016 · 1 comment
Closed

Adding an average line to a BarChartView #1162

boontong opened this issue Jun 21, 2016 · 1 comment

Comments

@boontong
Copy link

Hi,
Is it possible to add a horizontal line that defines the average value of the values of the bars collectively?

Also, how do we set the position of the value of each bar to be inside, instead of sitting floating on top of the bar?

@liuxuan30
Copy link
Member

liuxuan30 commented Jun 21, 2016

it's called ChartLimitLine here, and you can simply calculate a number to it.
for the second question, try disable drawValueAboveBarEnabled

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