bubbletree icon indicating copy to clipboard operation
bubbletree copied to clipboard

Only can deep into bubbles with two or more neighbours

Open dmarzo opened this issue 13 years ago • 6 comments

var data = { label: 'Total', amount: 100,
 children: [
      { taxonomy: 'cofog', name:'01', label: 'First child', amount: 30 },
      { taxonomy: '02', label: 'Second child', amount: 40 },
      { label: 'Third child', amount: 30, color: '#ff3300',
         children: [
            { label: 'First child of Third', amount: 20, color: '#ff4400' },
            { label: 'Second child of Third', amount: 10, color: '#ff4400' }
         ]} 
]};

If delete one children root, for example: node{label:'First child'}, cant navigate into children's of node{label: 'Third child''}

(Sorry for the code format, no white spaces preserved)

dmarzo avatar Jan 10 '12 11:01 dmarzo

Thanks for reporting this. I'll fix this asap..

(fixed code snipped in issue)

gka avatar Jan 13 '12 21:01 gka

what's the status on this?

mrgcohen avatar Sep 07 '12 14:09 mrgcohen

I think this is the same bug as #15, which I've fixed in PR #24.

Floppy avatar Apr 24 '13 07:04 Floppy

Hi all, is this fix already?

greales avatar Jul 15 '13 04:07 greales

Floppy's PR fixes the issue, but I don't know if it wasn't accepted yet or what, but if you update your copy it works like a charm. Thanks @Floppy

singold avatar Nov 07 '13 18:11 singold

I think it's not fixed due to there are two different issues: 1.- Problem with undefined right nodes. It's fixed alright width the hack on #15 from @PhilippFS. 2.- When there're one node with only one children, no children nodes is printed (no dashed parent node). It's like had reported in these issues #29 and #30

Anyone can try it with this data from json. Image attached with result: {"label":"Mdragi","amount":12,"color":"#E60202","children":[{"label":"Year 2012","amount":12,"color":"#20231c","children":[{"label":"December 2012","amount":12,"color":"#545166","children":[{"label":"Thursday 20","amount":2,"color":"#403c41","children":[{"label":"Photo 2012December20","amount":1,"color":"#668430"},{"label":"Photo 2012December20","amount":1,"color":"#67862b"}]},{"label":"Friday 21","amount":1,"color":"#4b5549","children":[{"label":"Photo 2012December21","amount":1,"color":"#689723"}]},{"label":"Wednesday 26","amount":1,"color":"#20262a","children":[{"label":"Photo 2012December26","amount":1,"color":"#457c01"}]},{"label":"Friday 28","amount":4,"color":"#3a4131","children":[{"label":"Photo 2012December28","amount":1,"color":"#536800"},{"label":"Photo 2012December28","amount":1,"color":"#7b9524"},{"label":"Photo 2012December28","amount":1,"color":"#4a8116"},{"label":"Photo 2012December28","amount":1,"color":"#7a8f2b"}]},{"label":"Sunday 30","amount":2,"color":"#4d412a","children":[{"label":"Photo 2012December30","amount":1,"color":"#56700d"},{"label":"Photo 2012December30","amount":1,"color":"#00ab8d"}]},{"label":"Monday 31","amount":1,"color":"#22100d","children":[{"label":"Photo 2012December31","amount":1,"color":"#20b0ae"}]},{"label":"Saturday 22","amount":1,"color":"#4a454f","children":[{"label":"Photo 2012December22","amount":1,"color":"#0b9597"}]}]}]}]}

captura de pantalla de 2014-03-24 13 54 58

fcjurado avatar Mar 24 '14 12:03 fcjurado