The charts do not expose any methods to get the R-squared value from a 
trendline; you will have to calculate it yourself if you want to use it 
elsewhere.  They also do not expose any means of modifying the trendline 
tooltips.

On Monday, October 20, 2014 2:25:18 PM UTC-4, Stephen Huey wrote:
>
> I'm using a trendline on a line chart and I see how I can display the R 
> squared coefficient in the legend.  I would rather display that value 
> elsewhere, though.  Is there any way for me to get that computed value from 
> the chart so I can do something with it?  
>
> Also, I see that when I hover over the trendline it displays the equation 
> in the tooltip but not the R squared coefficient.  I've changed other 
> tooltips but I'm not sure how to modify the trendline one.  Is there any 
> way to change the trendline tooltip?  
>
> Thanks, 
> Stephen
>
>

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