Would someone be able to provide feedback on my script? The data appears on this page: http://www.aacsb.edu/knowledge/data/frequently-requested/enrollment/percentages-by-region.aspx
I would like for the years on the x-axis to read 2010-11, 2012-13, 2013-14, 2014-15. I wasn't able to get that to work, so I changed it to 2011, 2012, 2013, 2014. But, they all show as 2K. How can I correct? Also, how can I add indicators on each data point on the line? Right now, it's a smooth line. I'd like the knotches to appear bolder. Thank you! Here is the script: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('visualization', '1.1', {packages: ['line']}); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('number', 'Year'); data.addColumn('number', 'Asia**'); data.addColumn('number', 'Europe-Near East'); data.addColumn('number', 'Latin America & Caribbean'); data.addColumn('number', 'Middle East'); data.addColumn('number', 'North America'); data.addColumn('number', 'Oceania'); data.addRows([ [2010, 30492, 98860, 21738, 7505, 741297, 52885], [2011, 30687, 101808, 17568, 8627, 752531, 52973], [2012, 34078, 103438, 17224, 9304, 764207, 51523], [2013, 34708, 104910, 17584, 10008, 784247, 52630], [2014, 34678, 92284, 21138, 11247, 818834, 57586] ]); var options = { chart: { title: 'Undergraduate Enrollment by Region from 2010-11 through 2014-15', subtitle: 'in millions of dollars (USD)' }, width: 900, height: 500 }; var chart = new google.charts.Line(document.getElementById('linechart_material')); chart.draw(data, options); } </script> -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/d2de1a0c-6528-4fa1-806e-3c75e78cc9d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
