There are many ways to perform this computation.
I assume you want to leave the table rendering as is and only extract data
about the width of the columns, standard HTML accessors should work.
Grab the column headers <td> cells and compute their aggregated offsetWidth
(no elegant way to do this).

ChartMan

On Mon, Nov 15, 2010 at 11:40 AM, nickschurch <[email protected]> wrote:

> I'd prefer to just find the column width and starting point and draw
> the charts accordingly. If thats not possible, fixing the column
> widths and then aligning the charts would do at a push...
>
> Nick
>
> On Nov 14, 9:20 am, ChartMan <[email protected]> wrote:
> > Do you wish to fix the column width or do you only want to know what it
> was
> > and then draw the charts accordingly?
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Nov 12, 2010 at 6:48 PM, nickschurch <[email protected]>
> wrote:
> > > Sure... there is a screenshot here....http://www.compbio.dundee.ac.uk/
> > > user/nschurch/screenshot.png
> >
> > > What I want, is to align the two histograms directly above the third
> > > and fourth columns regardless of how the table chooses to put them...
> > > so aligning the chart divs with the starts position of the relevant
> > > column and making the chart div width equal to the column width.
> >
> > > I don't know how to find the widths and starting positions though.
> >
> > > Nick
> >
> > > On Nov 11, 9:54 am, ChartMan <[email protected]> wrote:
> > > > Please send a screenshot or an example I can refer to.
> >
> > > > ChartMan
> >
> > > > On Tue, Nov 9, 2010 at 7:15 PM, nickschurch <[email protected]>
> > > wrote:
> > > > > Hi all,
> >
> > > > > Is there a way I can find out the positional information for a
> column
> > > > > in a google table; the star position or the center or something?
> >
> > > > > I want to align a google histogram chart, showing the distribution
> of
> > > > > values in that column, directly underneath selected columns of the
> > > > > google table.
> >
> > > > > Nick
> >
> > > > > --
> > > > > 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]<google-visualization-api%[email protected]>
> <google-visualization-api%[email protected]<google-visualization-api%[email protected]>
> >
> > > <google-visualization-api%[email protected]<google-visualization-api%[email protected]>
> <google-visualization-api%[email protected]<google-visualization-api%[email protected]>
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-visualization-api?hl=en.
> >
> > > --
> > > 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]<google-visualization-api%[email protected]>
> <google-visualization-api%[email protected]<google-visualization-api%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-visualization-api?hl=en.
>
> --
> 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]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
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.

Reply via email to