holtzy / D3-graph-gallery

A collection of simple graphics made with D3.js
https://www.d3-graph-gallery.com
MIT License
792 stars 234 forks source link

Text angle incorrect #58

Open nealhaddaway opened 3 years ago

nealhaddaway commented 3 years ago

The angle of the text isn't calculating correctly.

holtzy commented 3 years ago

Hi, thanks for the feedback. Can you provide a URL of where I can see the bug?

nealhaddaway commented 3 years ago

Ah yes - sorry. That was a totally useless note without a link! It's the R graph gallery code that seems to not be working for me: https://www.r-graph-gallery.com/339-circular-dendrogram-with-ggraph.html I can't get it to recognise where the 12 o'clock is (where plotting starts radially). Circular dendrogram with R and ggraph – the R Graph Galleryhttps://www.r-graph-gallery.com/339-circular-dendrogram-with-ggraph.html The circular dendrogram of the ggraph library deserves its own page because it can be a bit tricky to adjust the labels. Indeed they need to have a good angle, be flipped upside down on the left part of the chart, and their alignment needs to be adjusted as well. www.r-graph-gallery.com


From: Holtz Yan @.> Sent: 01 June 2021 14:46 To: holtzy/D3-graph-gallery @.> Cc: nealhaddaway @.>; Author @.> Subject: Re: [holtzy/D3-graph-gallery] Text angle incorrect (#58)

Hi, thanks for the feedback. Can you provide a URL of where I can see the bug?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/holtzy/D3-graph-gallery/issues/58#issuecomment-852185528, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOBNXG4QTUGWQNLTYPUXQLTQTXDDANCNFSM4526433A.