To make the connection lines vertically shorter, apply styles to the class
"google-visualization-orgchart-connrow-medium" (replace "medium with
"small" or "large" if you set the "size" option to something other than
"medium"), setting the height and font-size of that class:
.google-visualization-orgchart-connrow-medium {
height: 0px;
font-size: 2px;
}
The height of the row will always be large enough to accommodate the
specified font-size, plus the margins/padding. The margins and padding are
set by the selector ".google-visualization-orgchart-table *", so you can
either change them at that level, or the row/td level as necessary.
To make them horizontally shorter, your only option is to decrease the
width of the chart, which you can do by setting the width of the container
div in CSS.
On Thursday, August 29, 2013 12:22:20 AM UTC-4, asgallant wrote:
>
> Do you want to make them shorter vertically or horizontally?
>
> On Thursday, August 29, 2013 12:03:40 AM UTC-4, John Huang wrote:
>>
>> Hi All,
>>
>> I am new to Google Visualization API. I am using Org Charts right now. I
>> would like to make the connection lines (lines connect parent/son nodes)
>> shorter. How can I do it?
>>
>> Many Thanks if you can help!
>>
>> Best,
>> John
>>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.