Hi, This is indeed a bug. Thanks for reporting. We'll have a look.
- VizBoy. On Wed, Mar 25, 2009 at 9:16 PM, Shredder36 <[email protected]> wrote: > > Hello, > > I'm using the org chart (google.load('visualization', '1', {packages: > ['orgchart', 'table']}); ) and generating json structure to populate > the data table. When I use just values, the org chart looks correct, > when I add formatted values, the org chart gets confused. Here's the > data that gets generated: > > With formatted (last name) values (org chart messed up): > { cols: [{id: 'emplid', label: 'Emplid', type: 'string'}, {id: 'supv', > label: 'Supervisor', type: 'string'}], rows:[{c:[{v: '01048',f: > 'Decker'}, {v: '',f: ''}]},{c:[{v: '28772',f: 'Cooley'}, {v: > '01048',f: 'Decker'}]},{c:[{v: '01990',f: 'Denzer'}, {v: '28772',f: > 'Cooley'}]},{c:[{v: '01647',f: 'Windschitl'}, {v: '28772',f: > 'Cooley'}]},{c:[{v: '08235',f: 'Martin'}, {v: '28772',f: > 'Cooley'}]}] } > > Without (org chart looks good): > { cols: [{id: 'emplid', label: 'Emplid', type: 'string'}, {id: 'supv', > label: 'Supervisor', type: 'string'}], rows:[{c:[{v: '01048',f: > '01048'}, {v: '',f: ''}]},{c:[{v: '28772',f: '28772'}, {v: '01048',f: > '01048'}]},{c:[{v: '01990',f: '01990'}, {v: '28772',f: '28772'}]},{c: > [{v: '01647',f: '01647'}, {v: '28772',f: '28772'}]},{c:[{v: '08235',f: > '08235'}, {v: '28772',f: '28772'}]}] } > > Any suggestions are greatly appreciated. > > Sam > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
