fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
478 stars 301 forks source link

Fan chart with 6 or more generations looks wrong #1072

Closed HonkXL closed 10 months ago

HonkXL commented 8 years ago

Fan chart with up to 5 generations is ok, but with more it looks wrong. I think it should be generated in a higher resolution with smaller text. Then zooming in would be possible.

Screenshot shows fan chart for 9 generations.

image

HonkXL commented 8 years ago

I know that the zoom level can be set manually. Maybe a good idea to set this level according to the number of generations?

fisharebest commented 8 years ago

We use a bitmap for this chart because of old versions of Internet Explorer.

Now that IE8 is obsolete, we could rewrite this chart using SVG.

bmarwell commented 7 years ago

I fiddled a bit with the D3 library. As a basis I used this blog post: https://pankajkumar005.wordpress.com/2015/08/14/multilevel-pie-chart-using-d3/

What do you think of this? http://codepen.io/anon/pen/YNzEmv

(Please mind the population item).

Greg, this would be a perfect application for a JSON-based Rest API.

HonkXL commented 7 years ago

Looks great :-)

magicsunday commented 7 years ago

Please take a look at this: https://github.com/magicsunday/ancestral-fan-chart

fisharebest commented 7 years ago

I will do (eventually), but I'm in the middle of some major updates at the moment.

ekdahl commented 5 years ago

@magicsunday's fan chart looks great. In my opinion it would be great to include that in webtrees releases and let that replace the now included fan chart.

marku5 commented 5 years ago

@ekdahl, you are right: @magicsunday did a great job! Would be good to get it included as standard webtrees module. Let's wait for Greg's (@fisharebest) opinion/response.

HonkXL commented 5 years ago

Looks great. Hope this will come to webtrees 1.x :-)

marku5 commented 5 years ago

@HonkXL: Just install the module. I assume Greg will not do this for 1.x...maybe in 2.x?!

fisharebest commented 5 years ago

New features will go in 2.0.

1.7 will get updates for issues that concern security or data-integrity.

arbor95 commented 10 months ago

please close