Plotly.js: [Feature] Multi Pie "Autodomain"

Created on 16 Aug 2018  路  5Comments  路  Source: plotly/plotly.js

When we create dynamic pie charts, it is difficult to calculate the domain of each graph. If you had a property called autodomain for the pie charts to position themselves properly, or some other property that could be defined how many pie charts would be rendered on a line, it would be easier to use.

All 5 comments

Right, like we do for multiple 3D scenes or multiple maps. Worth considering. That said, have you looked at layout.grid? If you use that, you can just specify domain: {row, column} for each pie trace rather than domain: {x, y} which, you're right, is awkward to calculate, but you get the flexibility to decide on side-by-side, top-to-bottom, or any shape of grid.

I Will test the layout.grid. But, a "default" grid layout It would be a great help, especially for the beginners. Not removing, of course, the domainquadrant and the layout.grid.

if it does not bother you, can you create a jsFiddle with this layout.grid sample?

can you create a jsFiddle with this layout.grid sample?

https://codepen.io/alexcjohnson/pen/NBZYpm?editors=0010

Oh my god! Much easier! This sample in the docs would be wonderful!

https://plot.ly/javascript/pie-charts/

Result in Pivottable JS after changes. I Create a Pie/Donut Chart render.

image

image

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tim-sauchuk picture tim-sauchuk  路  3Comments

hashimmoosavi picture hashimmoosavi  路  3Comments

WG- picture WG-  路  3Comments

bryaan picture bryaan  路  3Comments

danielsamuels picture danielsamuels  路  3Comments