google / google-visualization-issues

288 stars 35 forks source link

organization Chart with Ancestor tree - Inverted tree #2950

Open desenvolvedor-apanheidoexcel opened 2 years ago

desenvolvedor-apanheidoexcel commented 2 years ago

Is possible new function with base in this: data.addRows([ [{'v':'Mike', 'f':'Mike<div style="color:red; font-style:italic">President</div>'},'', 'The President'], [{'v':'Jim', 'f':'Jim<div style="color:red; font-style:italic">Vice President</div>'},'Mike', 'VP'], ['Alice', 'Mike', ''], ['Bob', 'Jim', 'Bob Sponge'], ['Carol', 'Bob', ''], ['Fábio','Alice',''], ['Núbia','Fábio',''], ['Isana','Fábio','Filha'], ['Camila','Núbia','10'], ['Camila','Isana','11'] ]);

where "Camila" is son of Núbia and Isana! Inverted tree!!!