Google Visualization: Organizational Chart with fields named the same -


i using google visualization: organizational chart link , structure working well, cannot named 2 or more fields same name in 1 row? should able that? ideas?

the orgcharts require each node have unique id, can change formatted value of nodes same:

var data = new google.visualization.datatable(); data.addcolumn('string', 'name'); data.addcolumn('string', 'parent');  data.addrows([     [{v: 'parent_node', f: 'parent node'}, null],     [{v: 'child_node_1', f: 'child node'}, 'parent_node'],     [{v: 'child_node_2', f: 'child node'}, 'parent_node'] ]); 

see example here: http://jsfiddle.net/asgallant/lphtr/


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -