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 legends at the bottom of the chart? #11

Closed
SAGARSURI opened this issue May 13, 2018 · 7 comments
Closed

How to show legends at the bottom of the chart? #11

SAGARSURI opened this issue May 13, 2018 · 7 comments

Comments

@SAGARSURI
Copy link

Currently there is no option to show legends below the chart as per my research. Can you tell how can I achieve that ? I didnt find in any of your example also.

@razerdp
Copy link
Owner

razerdp commented May 14, 2018

I'm sorry,I didn't have a legend feature so far.
Maybe you should implement this function by your self...

I will update this feature in the next release,thanks for your issue.

@SAGARSURI
Copy link
Author

SAGARSURI commented May 16, 2018

Waiting for that release eagerly. @razerdp

@ugoamanoh
Copy link

@razerdp This would be a really good feature, any idea when the next release will be avaialble

@ugoamanoh
Copy link

ugoamanoh commented Jul 17, 2018

I used a GridView for mine but I think it would only for my specific use case
chart

@razerdp
Copy link
Owner

razerdp commented Jul 18, 2018

@ugoamanoh
@SAGARSURI

In fact, there are too many legend designs, I can't fit them all.

So,I may provide an interface for you to create custom legends.

============

PS...

Or I provide a widget to render legends with binding PieView?

@ugoamanoh
Copy link

Not sure how many different types of designs there are, from memory I can only think of vertical and horizontal styles. I think you should definitely have a default legend then maybe give allow users override with a custom design

@razerdp razerdp added the on way label Sep 21, 2018
@razerdp
Copy link
Owner

razerdp commented Nov 6, 2018

hi ~

I'm complete this function

now in version 1.2.5

you can use config.legendsWith(viewgroup,pielegendBindListener) to create or add your custom legendsView which extends BasePieLegendsView

@razerdp razerdp closed this as completed in 3855862 Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants