Hi Tanya,

Unfortunately, the TreeMap does not support the ChartLayoutInterface. With
some cleverness, you could probably write your own, but I hesitate to
suggest that as a real solution, since the treemap DOM might change in the
future. However, if you'd like more detail on this temporary hacky
solution, I could provide an example.

On Fri, Jul 24, 2015 at 3:51 AM <tanya.kimi.shv...@gmail.com> wrote:

> Is there any way to access to Chart layout interface in TreeMap chart?
> I need to know positions (left, top, width and height) of every tile on
> the chart.
> For example Bar chart has API to do that:
>
> var cli = dataTable.getChartLayoutInterface();
>
> var selector = "bar#0#3" // the 4th column on the chart
>
>        var top =  cli.getBoundingBox(selector).top;
> var left =  cli.getBoundingBox(selector).left;
> var width = cli.getBoundingBox(selector).width;
> var height = cli.getBoundingBox(selector).height;
>
>
>
> Thank you
>
> Tanya
>
> --
> 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.

Reply via email to