Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-18 Thread Zhenyu Hu
thanks a lot On Oct 18, 2014 10:37 AM, 'Jon Orwant' via Google Visualization API google-visualization-api@googlegroups.com wrote: Coefficients of determination now documented at https://developers.google.com/chart/interactive/docs/gallery/trendlines#r2 . This works for all Google Charts

Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-10 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Zhenya, what Andrew said wasn't entirely correct. You can show the R square in the legend, but you have to make sure that you have enough space. Here is an example: http://jsfiddle.net/g7hz9ydL/ The option showR2 is what you're looking for. On Thu Oct 09 2014 at 9:23:06 PM Zhenyu Hu

Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-10 Thread Zhenyu Hu
Hi Sergey, Thanks a lot, it works!!! There is a parameter showR2: true under trendlines options, but why this parameter doesn't show up on their documentation, how do yo find it? Thanks, Kevin On Fri, Oct 10, 2014 at 6:34 AM, 'Sergey Grabkovsky' via Google Visualization API

Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-10 Thread 'Jon Orwant' via Google Visualization API
Documentation for showR2 will go live next week. Jon On Fri, Oct 10, 2014 at 2:54 PM, Zhenyu Hu kevinzheny...@gmail.com wrote: Hi Sergey, Thanks a lot, it works!!! There is a parameter showR2: true under trendlines options, but why this parameter doesn't show up on their documentation, how

Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-10 Thread Zhenyu Hu
wow, that's great, thanks! On Fri, Oct 10, 2014 at 5:44 PM, 'Jon Orwant' via Google Visualization API google-visualization-api@googlegroups.com wrote: Documentation for showR2 will go live next week. Jon On Fri, Oct 10, 2014 at 2:54 PM, Zhenyu Hu kevinzheny...@gmail.com wrote: Hi

[visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-09 Thread Andrew Gallant
The R-squared value is not available from the visualization API, you will have to calculate it yourself. On Thursday, October 9, 2014 2:40:25 PM UTC-4, Zhenyu Hu wrote: Dear All, I am using google chart api to draw a scattered polynomial trend line. I can get the trend line equation

Re: [visualization-api] Re: Does anybody know how to show the R-squared for scattered polynomial trend line?

2014-10-09 Thread Zhenyu Hu
Hi Andrew, Thanks for the feedback, I appreciate it! Kevin On Thu, Oct 9, 2014 at 6:18 PM, Andrew Gallant agall...@google.com wrote: The R-squared value is not available from the visualization API, you will have to calculate it yourself. On Thursday, October 9, 2014 2:40:25 PM UTC-4,