Re: [visualization-api] Word Tree IDs
Hi Josh, Word tree isn't going to replace the org chart. There's no way to make the org chart display horizontally, but you can use the allowCollapse option and the collapse() method to make the fan-out of your chart more manageable. Jon On Thu, Oct 23, 2014 at 2:22 AM, Josh Beagley joshua.beag...@gmail.com wrote: Hi Jon, Thanks for the reply. I actually have been using the Org Chart all along, but I was wondering if Word Tree was going to replace Org Chart. I remember reading that Org Chart was either going away or being overhauled, so I'm anxious to see what happens. In my scenario, I'm using Org Chart to show people, who they supervise and who supervises them. It's pretty simple I think. Some people supervise 15 people, some people are new they don't supervise anyone. So my problem is, the chart ends up being like 15,000 pixels wide because each person's bubble won't align underneath another person's bubble. I'll have to post a screenshot. But what that means is, everyone (we're talking 100-150 people) gets their own column in the chart. Therefore, it's so wide that it's not really presentable. I don't think it's a bug, but it would certainly make a huge difference if it could be worked out somehow. Picky picky, I know. But anyway, thanks for the message. I'll toy with Word Tree and we'll see what happens. Thanks, Josh On Wednesday, October 15, 2014 5:34:20 PM UTC-5, orw...@google.com wrote: Hi Josh, there are no promises in life, but you're safe. (static boss is a great concept. Very Big Brotherish.) And just FYI, we already have org charts: https://developers.google.com/chart/interactive/docs/gallery/orgchart Jon On Wed, Oct 15, 2014 at 6:13 PM, Josh Beagley joshua@gmail.com wrote: So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']); nodeListData.addRow([1, 'Child 1', 0, 1, 'black']); nodeListData.addRow([2, 'Child 2', 0, 1, 'black']); This *does not work*: (some kind of Tu error) nodeListData.addRow([500, 'Boss', -1, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); This *does appear to work*: nodeListData.addRow([0, 'Unknown', -1, 1, 'black']); nodeListData.addRow([500, 'Boss', 0, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); In the last example, I basically added a static boss that even the highest ranking boss would belong to, this way we always have a zero (0) ID. It seems that as long as I have a 0 ID, I can skip any other number. Am I safe to continue using it like this or will I run into troubles later on? Thanks! - Josh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visua...@googlegroups.com. Visit this group at http://groups.google.com/ group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Word Tree IDs
Hi Jon, Thanks for the reply. I actually have been using the Org Chart all along, but I was wondering if Word Tree was going to replace Org Chart. I remember reading that Org Chart was either going away or being overhauled, so I'm anxious to see what happens. In my scenario, I'm using Org Chart to show people, who they supervise and who supervises them. It's pretty simple I think. Some people supervise 15 people, some people are new they don't supervise anyone. So my problem is, the chart ends up being like 15,000 pixels wide because each person's bubble won't align underneath another person's bubble. I'll have to post a screenshot. But what that means is, everyone (we're talking 100-150 people) gets their own column in the chart. Therefore, it's so wide that it's not really presentable. I don't think it's a bug, but it would certainly make a huge difference if it could be worked out somehow. Picky picky, I know. But anyway, thanks for the message. I'll toy with Word Tree and we'll see what happens. Thanks, Josh On Wednesday, October 15, 2014 5:34:20 PM UTC-5, orw...@google.com wrote: Hi Josh, there are no promises in life, but you're safe. (static boss is a great concept. Very Big Brotherish.) And just FYI, we already have org charts: https://developers.google.com/chart/interactive/docs/gallery/orgchart Jon On Wed, Oct 15, 2014 at 6:13 PM, Josh Beagley joshua@gmail.com javascript: wrote: So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']); nodeListData.addRow([1, 'Child 1', 0, 1, 'black']); nodeListData.addRow([2, 'Child 2', 0, 1, 'black']); This *does not work*: (some kind of Tu error) nodeListData.addRow([500, 'Boss', -1, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); This *does appear to work*: nodeListData.addRow([0, 'Unknown', -1, 1, 'black']); nodeListData.addRow([500, 'Boss', 0, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); In the last example, I basically added a static boss that even the highest ranking boss would belong to, this way we always have a zero (0) ID. It seems that as long as I have a 0 ID, I can skip any other number. Am I safe to continue using it like this or will I run into troubles later on? Thanks! - Josh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-visua...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Word Tree IDs
See screenshot. The chart is super wide, so this is basically the middle of it. You can see how the bubbles don't align themselves under anything above... most of the time. If I could get them to cozy up, that would be perfect. On Thursday, October 23, 2014 1:22:41 AM UTC-5, Josh Beagley wrote: Hi Jon, Thanks for the reply. I actually have been using the Org Chart all along, but I was wondering if Word Tree was going to replace Org Chart. I remember reading that Org Chart was either going away or being overhauled, so I'm anxious to see what happens. In my scenario, I'm using Org Chart to show people, who they supervise and who supervises them. It's pretty simple I think. Some people supervise 15 people, some people are new they don't supervise anyone. So my problem is, the chart ends up being like 15,000 pixels wide because each person's bubble won't align underneath another person's bubble. I'll have to post a screenshot. But what that means is, everyone (we're talking 100-150 people) gets their own column in the chart. Therefore, it's so wide that it's not really presentable. I don't think it's a bug, but it would certainly make a huge difference if it could be worked out somehow. Picky picky, I know. But anyway, thanks for the message. I'll toy with Word Tree and we'll see what happens. Thanks, Josh On Wednesday, October 15, 2014 5:34:20 PM UTC-5, orw...@google.com wrote: Hi Josh, there are no promises in life, but you're safe. (static boss is a great concept. Very Big Brotherish.) And just FYI, we already have org charts: https://developers.google.com/chart/interactive/docs/gallery/orgchart Jon On Wed, Oct 15, 2014 at 6:13 PM, Josh Beagley joshua@gmail.com wrote: So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']); nodeListData.addRow([1, 'Child 1', 0, 1, 'black']); nodeListData.addRow([2, 'Child 2', 0, 1, 'black']); This *does not work*: (some kind of Tu error) nodeListData.addRow([500, 'Boss', -1, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); This *does appear to work*: nodeListData.addRow([0, 'Unknown', -1, 1, 'black']); nodeListData.addRow([500, 'Boss', 0, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); In the last example, I basically added a static boss that even the highest ranking boss would belong to, this way we always have a zero (0) ID. It seems that as long as I have a 0 ID, I can skip any other number. Am I safe to continue using it like this or will I run into troubles later on? Thanks! - Josh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visua...@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Word Tree IDs
So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']); nodeListData.addRow([1, 'Child 1', 0, 1, 'black']); nodeListData.addRow([2, 'Child 2', 0, 1, 'black']); This *does not work*: (some kind of Tu error) nodeListData.addRow([500, 'Boss', -1, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); This *does appear to work*: nodeListData.addRow([0, 'Unknown', -1, 1, 'black']); nodeListData.addRow([500, 'Boss', 0, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); In the last example, I basically added a static boss that even the highest ranking boss would belong to, this way we always have a zero (0) ID. It seems that as long as I have a 0 ID, I can skip any other number. Am I safe to continue using it like this or will I run into troubles later on? Thanks! - Josh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Word Tree IDs
Hi Josh, there are no promises in life, but you're safe. (static boss is a great concept. Very Big Brotherish.) And just FYI, we already have org charts: https://developers.google.com/chart/interactive/docs/gallery/orgchart Jon On Wed, Oct 15, 2014 at 6:13 PM, Josh Beagley joshua.beag...@gmail.com wrote: So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']); nodeListData.addRow([1, 'Child 1', 0, 1, 'black']); nodeListData.addRow([2, 'Child 2', 0, 1, 'black']); This *does not work*: (some kind of Tu error) nodeListData.addRow([500, 'Boss', -1, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); This *does appear to work*: nodeListData.addRow([0, 'Unknown', -1, 1, 'black']); nodeListData.addRow([500, 'Boss', 0, 1, 'black']); nodeListData.addRow([550, 'Child 1', 500, 1, 'black']); nodeListData.addRow([600, 'Child 2', 500, 1, 'black']); In the last example, I basically added a static boss that even the highest ranking boss would belong to, this way we always have a zero (0) ID. It seems that as long as I have a 0 ID, I can skip any other number. Am I safe to continue using it like this or will I run into troubles later on? Thanks! - Josh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.