how I can project a trendline to week 52 if I have data only up to week 34?
<html> <head> <script type='text/javascript' src='http://www.google.com/jsapi'></script> <script type='text/javascript'> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Diameter', 'Age'], [12,28119], [13,28289], [14,28445], [15,28647], [16,28293], [17,28763], [18,29455], [19,30539], [20,31790], [21,32177], [22,33001], [23,33437], [24,33667], [25,33983], [26,33372], [27,35224], [28,35184], [29,35524], [30,36597], [31,38509], [32,39665], [33,40995], [34,42674] ]); var options = { title: 'Usage/Week', hAxis: {title: 'Week'}, vAxis: {title: 'Usage'}, legend: 'none', trendlines: { 0: { } } // Draw a trendline for data series 0. }; var chart = new google.visualization.ScatterChart(document.getElementById('chart_div')); chart.draw(data, options); } </script> </head> <body> <div id='chart_div' style='width: 1000px; height: 250px; border: 1px solid blue'></div> </body> </html> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
