-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pivottable is now able to render multi Donut charts using Plotly renderer. #990
Conversation
This is very neat, thank you! Unfortunately I'm just headed out on vacation so I will likely not have time to review it for another 10 days or so but I should be able to merge it thereafter. My main comment right now is that we need some way of identifying the donuts, some kind of title or something. Either inside the middle or above. |
Thanks for your time, don't hurry to review the code, probably i will have to do some adjustments after your review. Anyway, i created a issue on Plotly JS repository, number #2915 asking to automatic show a annotation with a name of a pie chart, @alexcjohnson did the analysis and generated the issue #2916 "Grid-referenced components"
Actually, only on hover the name of a pie is displayed, i will make a way to display the name of the pie's, as suggested, but, with #2915 solved or #2916 solved, it would be much easier, haha. |
#2925 Closed in Plotly!! |
Ok, I’ll implement a version of pie charts in the pivot table once a Plotly
release includes this fix
…On Sat, Sep 29, 2018 at 11:17 Erasmo Bellumat ***@***.***> wrote:
#2925 <plotly/plotly.js#2915> Closed in Plotly!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#990 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMbA0JyZF8_fCzY8I4wbXStUUcbq-Dsks5uf48PgaJpZM4WAlgN>
.
|
First of all, thanks again for the impetus here to finally get a multi-pie implementation done. That said, here are a few notes here on why I think I'll make a slightly different implementation than the one in this PR:
|
I would like to take the occasion to say thank you and confess. First of all thanks for considering the implementation of this feature in the main project, this is the first project I do a pull request. I've used this lib since 2016, =) |
Please consider including the ability to (optionally) make these donut charts where you can write text in the center of them. Although they are inferior to pie charts in terms of proper data visualization, business mangers (the people most of us make our reports for) really like them and even specifically ask for them :) Thank you! This library rocks, I use rpivottable heavily! |
Thanks for your input @Blake-Eryx ! Unfortunately I don't think I'll be able to do this in the built-in renderers in the short run, partly for the datavis related reasons laid out above, and also because laying out donut chart titles in the middle of the donut is not a built-in feature of plotly.js. In general this would be a tough problem to solve because the 'hole' in a donut chart is often quite small compared the amount of text a label can contain, and automatically wrapping text in SVG charts is a bit challenge. |
In fact, this will be included in plotly.js v1.42, due out in ~2 weeks plotly/plotly.js#2987 🎉 |
I stand corrected! Somehow I missed that even though I did check out that
PR.
I’m still on the fence about donuts for inclusion in the core pivot table.
I don’t think I’d include both pies and donuts, and I prefer pies to
donuts. I think one could coerce the former into the latter with a
Plotly.js template though, right @alexcjohnson?
…On Sat, Oct 13, 2018 at 16:23 alexcjohnson ***@***.***> wrote:
laying out donut chart titles in the middle of the donut is not a built-in
feature of plotly.js
In fact, this will be included in plotly.js v1.42, due out in ~2 weeks
plotly/plotly.js#2987 <plotly/plotly.js#2987> 🎉
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#990 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMbA-DBx7UGgcW0wgmjeJwq8PQkZ8_Nks5ukkvdgaJpZM4WAlgN>
.
|
Correct, a donut is just a pie with a |
Thanks again for the prompting with this PR! I've got #1041 in development and it will do everything this PR does except for the |
Is this going to be available for react-pivottable.js? |
Pivottable is now able to render multi Donut charts using Plotly renderer.
Related issues: #66 #256 #457 #893 #876
People interested on this: @kevin5657 @rjst , @worstenbrood, @rajuchapagain, @tgabrielle @kumarabrol @ambarishbh