Two things to try.
1. You can add a style for the Table chart cells which avoids the line
wrapping, like this:
<style>
.myTableCell { white-space: nowrap }
</style>
visualization.draw(data, {
cssClassNames: { 'tableCell': 'myTableCell' }
});
2. Allow HTML in your Table chart by including the 'allowHtml' option.
Note 'Html' is not 'HTML' in this case.
visualization.draw(data, {
allowHtml: true
});
On Sat, Feb 15, 2014 at 9:39 PM, Shannon Whitty <[email protected]>wrote:
> I have a chart which charts staff productivity.
>
> Problem is that some staff fail to log off and their hours are inflated -
> therefore, I have added an input type=text field to allow managers to enter
> the "offset" hours to produce more accurate charts.
>
> The challenge I am having is displaying the rows in alignment:
>
> To the right of my Google Chart Table I have manually created a second
> table so each line has a corresponding matching input type=Text - The issue
> is if there is a field anywhere in the google chart table that wraps (which
> is a common occurence) then the "height" of that row is misaligned and
> therefore the line to line relationship between both tables is gone.
>
> I tried creating a new column into the Google Chart Table but The Google
> Chart API simply displays the actual HTML text (i.e. <input type="text" ...>
>
> I'm looking for any advice and guidance on how I can create an input
> type=text field on every row where I can enter a value ...
>
> --
> 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.
>
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> -
978-394-1058
[email protected] <[email protected]> 5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA
--
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.