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

The label value position with the same yAxis and different value. #724

Closed
pisces3ng opened this issue Jan 29, 2016 · 4 comments
Closed

The label value position with the same yAxis and different value. #724

pisces3ng opened this issue Jan 29, 2016 · 4 comments

Comments

@pisces3ng
Copy link

Hi Daniel,
I have done my Bar Chart as below with using your source library.
screen shot 2016-01-29 at 17 29 48

I would like to ask, it is possible can make same like my prototype as below?
The percentage's value is with the Bar Chart, but it show the label on the bar. I would like the the percentage label same line (yAxis) together and the position is above the bar as the mention as below.
stackbar

Thank you very much!

@liuxuan30
Copy link
Member

For your question, I think you need to override drawValues to display the sum value. The chart should calculated that for you, but it just does not support draw sum value. @danielgindi this feature is being asked a few times.

@nthegedus
Copy link

Hi guys @liuxuan30 @danielgindi any news about that? If there isn't, there is any tip to override drawValues?

@nthegedus
Copy link

Hi guys.

I've overridden drawValues, but I got some problem. Some values are being cut.
Any ideia, how to fix it?

captura de tela 2016-09-05 as 17 18 10

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 6, 2016

'being cut' seems you override something would leads to not enough contentRect? How do you override drawValues?
Also, I am thinking your question is off the topic of this thread?

@jjatie jjatie closed this as completed Apr 1, 2018
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

4 participants