Returns the bounding box of a chart element.
For bar/column charts, use IDs like:
'bar#seriesIndex#dataIndex' — e.g., 'bar#0#2' for series 0, bar 2'chartarea' — the entire chart area'hAxis', 'vAxis' — axis elementsThe element ID string
Bounding box with left, top, width, height, or null if not found
Returns the pixel x-coordinate of a data value relative to the chart container's left edge.
The data value on the horizontal axis
OptionalaxisIndex: numberOptional axis index for charts with multiple axes (default: 0)
The pixel x-coordinate
Returns the pixel y-coordinate of a data value relative to the chart container's top edge.
The data value on the vertical axis
OptionalaxisIndex: numberOptional axis index for charts with multiple axes (default: 0)
The pixel y-coordinate
Chart layout interface for accessing element positions.
See
https://developers.google.com/chart/interactive/docs/gallery/columnchart#methods