You find below the HTML code of the visualisation. You can copy and paste the code into an existing HTML page. For more information see also ?print.gvis
<!-- Calendar generated in R 3.0.3 by googleVis 0.5.0-4 package --> <!-- Wed Apr 2 19:00:45 2014 --> <!-- jsHeader --> <script type="text/javascript"> // jsData function gvisDataCalendar () { var data = new google.visualization.DataTable(); var datajson = [ [ new Date(2014,3,1), 41.42 ], [ new Date(2014,2,31), 40.99 ], [ new Date(2014,2,28), 40.3 ], [ new Date(2014,2,27), 39.36 ], [ new Date(2014,2,26), 39.79 ], [ new Date(2014,2,25), 40.34 ], [ new Date(2014,2,24), 40.5 ], [ new Date(2014,2,21), 40.16 ], [ new Date(2014,2,20), 40.33 ], [ new Date(2014,2,19), 39.27 ], [ new Date(2014,2,18), 39.55 ], [ new Date(2014,2,17), 38.05 ], [ new Date(2014,2,14), 37.7 ], [ new Date(2014,2,13), 37.89 ], [ new Date(2014,2,12), 38.27 ], [ new Date(2014,2,11), 38.02 ], [ new Date(2014,2,10), 37.82 ], [ new Date(2014,2,7), 37.9 ], [ new Date(2014,2,6), 38.15 ], [ new Date(2014,2,5), 38.11 ], [ new Date(2014,2,4), 38.41 ], [ new Date(2014,2,3), 37.78 ], [ new Date(2014,1,28), 38.31 ], [ new Date(2014,1,27), 37.86 ], [ new Date(2014,1,26), 37.47 ], [ new Date(2014,1,25), 37.54 ], [ new Date(2014,1,24), 37.69 ], [ new Date(2014,1,21), 37.98 ], [ new Date(2014,1,20), 37.75 ], [ new Date(2014,1,19), 37.51 ], [ new Date(2014,1,18), 37.42 ], [ new Date(2014,1,14), 37.34 ], [ new Date(2014,1,13), 37.33 ], [ new Date(2014,1,12), 37.19 ], [ new Date(2014,1,11), 36.89 ], [ new Date(2014,1,10), 36.53 ], [ new Date(2014,1,7), 36.29 ], [ new Date(2014,1,6), 35.91 ], [ new Date(2014,1,5), 35.55 ], [ new Date(2014,1,4), 36.08 ], [ new Date(2014,1,3), 36.21 ], [ new Date(2014,0,31), 37.56 ], [ new Date(2014,0,30), 36.59 ], [ new Date(2014,0,29), 36.39 ], [ new Date(2014,0,28), 36 ], [ new Date(2014,0,27), 35.76 ], [ new Date(2014,0,24), 36.54 ], [ new Date(2014,0,23), 35.79 ], [ new Date(2014,0,22), 35.66 ], [ new Date(2014,0,21), 35.9 ], [ new Date(2014,0,17), 36.11 ], [ new Date(2014,0,16), 36.62 ], [ new Date(2014,0,15), 36.49 ], [ new Date(2014,0,14), 35.51 ], [ new Date(2014,0,13), 34.72 ], [ new Date(2014,0,10), 35.77 ], [ new Date(2014,0,9), 35.27 ], [ new Date(2014,0,8), 35.49 ], [ new Date(2014,0,7), 36.14 ], [ new Date(2014,0,6), 35.86 ], [ new Date(2014,0,3), 36.64 ], [ new Date(2014,0,2), 36.88 ], [ new Date(2013,11,31), 37.13 ], [ new Date(2013,11,30), 37.01 ], [ new Date(2013,11,27), 37.01 ], [ new Date(2013,11,26), 37.16 ], [ new Date(2013,11,24), 36.8 ], [ new Date(2013,11,23), 36.35 ], [ new Date(2013,11,20), 36.53 ], [ new Date(2013,11,19), 35.98 ], [ new Date(2013,11,18), 36.31 ], [ new Date(2013,11,17), 36.25 ], [ new Date(2013,11,16), 36.62 ], [ new Date(2013,11,13), 36.42 ], [ new Date(2013,11,12), 36.94 ], [ new Date(2013,11,11), 37.33 ], [ new Date(2013,11,10), 37.83 ], [ new Date(2013,11,9), 38.42 ], [ new Date(2013,11,6), 38.07 ], [ new Date(2013,11,5), 37.72 ], [ new Date(2013,11,4), 38.65 ], [ new Date(2013,11,3), 38.02 ], [ new Date(2013,11,2), 38.16 ], [ new Date(2013,10,29), 37.85 ], [ new Date(2013,10,27), 37.32 ], [ new Date(2013,10,26), 37.07 ], [ new Date(2013,10,25), 37.36 ], [ new Date(2013,10,22), 37.29 ], [ new Date(2013,10,21), 37.12 ], [ new Date(2013,10,20), 36.8 ], [ new Date(2013,10,19), 36.47 ], [ new Date(2013,10,18), 36.65 ], [ new Date(2013,10,15), 37.28 ], [ new Date(2013,10,14), 37.45 ], [ new Date(2013,10,13), 37.59 ], [ new Date(2013,10,12), 36.8 ], [ new Date(2013,10,11), 37.03 ], [ new Date(2013,10,8), 37.22 ], [ new Date(2013,10,7), 36.94 ], [ new Date(2013,10,6), 37.61 ], [ new Date(2013,10,5), 36.09 ], [ new Date(2013,10,4), 35.4 ], [ new Date(2013,10,1), 35 ], [ new Date(2013,9,31), 34.88 ], [ new Date(2013,9,30), 35.01 ], [ new Date(2013,9,29), 34.99 ], [ new Date(2013,9,28), 35.04 ], [ new Date(2013,9,25), 35.2 ], [ new Date(2013,9,24), 33.22 ], [ new Date(2013,9,23), 33.26 ], [ new Date(2013,9,22), 34.06 ], [ new Date(2013,9,21), 34.47 ], [ new Date(2013,9,18), 34.44 ], [ new Date(2013,9,17), 34.4 ], [ new Date(2013,9,16), 34.12 ], [ new Date(2013,9,15), 33.98 ], [ new Date(2013,9,14), 33.94 ], [ new Date(2013,9,11), 33.62 ], [ new Date(2013,9,10), 33.26 ], [ new Date(2013,9,9), 32.58 ], [ new Date(2013,9,8), 32.52 ], [ new Date(2013,9,7), 32.8 ], [ new Date(2013,9,4), 33.37 ], [ new Date(2013,9,3), 33.36 ], [ new Date(2013,9,2), 33.41 ], [ new Date(2013,9,1), 33.08 ], [ new Date(2013,8,30), 32.78 ], [ new Date(2013,8,27), 32.77 ], [ new Date(2013,8,26), 32.28 ], [ new Date(2013,8,25), 32.03 ], [ new Date(2013,8,24), 31.97 ], [ new Date(2013,8,23), 32.25 ], [ new Date(2013,8,20), 32.3 ], [ new Date(2013,8,19), 33.14 ], [ new Date(2013,8,18), 32.82 ], [ new Date(2013,8,17), 32.44 ], [ new Date(2013,8,16), 32.31 ], [ new Date(2013,8,13), 32.54 ], [ new Date(2013,8,12), 32.2 ], [ new Date(2013,8,11), 32.25 ], [ new Date(2013,8,10), 31.91 ], [ new Date(2013,8,9), 31.19 ], [ new Date(2013,8,6), 30.69 ], [ new Date(2013,8,5), 30.76 ], [ new Date(2013,8,4), 30.73 ], [ new Date(2013,8,3), 31.4 ], [ new Date(2013,7,30), 32.9 ], [ new Date(2013,7,29), 33.05 ], [ new Date(2013,7,28), 32.53 ], [ new Date(2013,7,27), 32.76 ], [ new Date(2013,7,26), 33.64 ], [ new Date(2013,7,23), 34.23 ], [ new Date(2013,7,22), 31.91 ], [ new Date(2013,7,21), 31.14 ], [ new Date(2013,7,20), 31.15 ], [ new Date(2013,7,19), 30.92 ], [ new Date(2013,7,16), 31.33 ], [ new Date(2013,7,15), 31.32 ], [ new Date(2013,7,14), 31.87 ], [ new Date(2013,7,13), 31.75 ], [ new Date(2013,7,12), 32.15 ], [ new Date(2013,7,9), 31.99 ], [ new Date(2013,7,8), 32.17 ], [ new Date(2013,7,7), 31.36 ], [ new Date(2013,7,6), 30.89 ], [ new Date(2013,7,5), 31.01 ], [ new Date(2013,7,2), 31.19 ], [ new Date(2013,7,1), 30.98 ], [ new Date(2013,6,31), 31.15 ], [ new Date(2013,6,30), 31.16 ], [ new Date(2013,6,29), 30.85 ], [ new Date(2013,6,26), 30.93 ], [ new Date(2013,6,25), 30.71 ], [ new Date(2013,6,24), 31.26 ], [ new Date(2013,6,23), 31.13 ], [ new Date(2013,6,22), 31.31 ], [ new Date(2013,6,19), 30.72 ], [ new Date(2013,6,18), 34.67 ], [ new Date(2013,6,17), 34.96 ], [ new Date(2013,6,16), 35.48 ], [ new Date(2013,6,15), 35.38 ], [ new Date(2013,6,12), 34.89 ], [ new Date(2013,6,11), 34.91 ], [ new Date(2013,6,10), 33.94 ], [ new Date(2013,6,9), 33.6 ], [ new Date(2013,6,8), 33.58 ], [ new Date(2013,6,5), 33.46 ], [ new Date(2013,6,3), 33.27 ], [ new Date(2013,6,2), 33.2 ], [ new Date(2013,6,1), 33.61 ], [ new Date(2013,5,28), 33.79 ], [ new Date(2013,5,27), 33.87 ], [ new Date(2013,5,26), 33.6 ], [ new Date(2013,5,25), 32.94 ], [ new Date(2013,5,24), 32.98 ], [ new Date(2013,5,21), 32.54 ], [ new Date(2013,5,20), 32.76 ], [ new Date(2013,5,19), 33.84 ], [ new Date(2013,5,18), 34.22 ], [ new Date(2013,5,17), 34.24 ], [ new Date(2013,5,14), 33.65 ], [ new Date(2013,5,13), 33.96 ], [ new Date(2013,5,12), 34.24 ], [ new Date(2013,5,11), 34.08 ], [ new Date(2013,5,10), 34.7 ], [ new Date(2013,5,7), 34.89 ], [ new Date(2013,5,6), 34.2 ], [ new Date(2013,5,5), 34.02 ], [ new Date(2013,5,4), 34.23 ], [ new Date(2013,5,3), 34.81 ], [ new Date(2013,4,31), 34.14 ], [ new Date(2013,4,30), 34.27 ], [ new Date(2013,4,29), 34.12 ], [ new Date(2013,4,28), 34.26 ], [ new Date(2013,4,24), 33.52 ], [ new Date(2013,4,23), 33.41 ], [ new Date(2013,4,22), 33.86 ], [ new Date(2013,4,21), 34.09 ], [ new Date(2013,4,20), 34.32 ], [ new Date(2013,4,17), 34.11 ], [ new Date(2013,4,16), 33.34 ], [ new Date(2013,4,15), 33.11 ], [ new Date(2013,4,14), 32.8 ], [ new Date(2013,4,13), 32.08 ], [ new Date(2013,4,10), 31.75 ], [ new Date(2013,4,9), 31.73 ], [ new Date(2013,4,8), 32.05 ], [ new Date(2013,4,7), 32.36 ], [ new Date(2013,4,6), 32.78 ], [ new Date(2013,4,3), 32.53 ], [ new Date(2013,4,2), 32.21 ], [ new Date(2013,4,1), 31.78 ], [ new Date(2013,3,30), 32.15 ], [ new Date(2013,3,29), 31.68 ], [ new Date(2013,3,26), 30.88 ], [ new Date(2013,3,25), 31.03 ], [ new Date(2013,3,24), 30.85 ], [ new Date(2013,3,23), 29.72 ], [ new Date(2013,3,22), 29.95 ], [ new Date(2013,3,19), 28.92 ], [ new Date(2013,3,18), 27.97 ], [ new Date(2013,3,17), 28 ], [ new Date(2013,3,16), 28.14 ], [ new Date(2013,3,15), 27.87 ], [ new Date(2013,3,12), 27.97 ], [ new Date(2013,3,11), 28.11 ], [ new Date(2013,3,10), 29.41 ], [ new Date(2013,3,9), 28.76 ], [ new Date(2013,3,8), 27.77 ], [ new Date(2013,3,5), 27.88 ], [ new Date(2013,3,4), 27.78 ], [ new Date(2013,3,3), 27.74 ], [ new Date(2013,3,2), 27.98 ], [ new Date(2013,3,1), 27.79 ], [ new Date(2013,2,28), 27.79 ], [ new Date(2013,2,27), 27.56 ], [ new Date(2013,2,26), 27.35 ], [ new Date(2013,2,25), 27.35 ], [ new Date(2013,2,22), 27.44 ], [ new Date(2013,2,21), 27.31 ], [ new Date(2013,2,20), 27.51 ], [ new Date(2013,2,19), 27.37 ], [ new Date(2013,2,18), 27.3 ], [ new Date(2013,2,15), 27.24 ], [ new Date(2013,2,14), 27.33 ], [ new Date(2013,2,13), 27.12 ], [ new Date(2013,2,12), 27.11 ], [ new Date(2013,2,11), 27.07 ], [ new Date(2013,2,8), 27.2 ], [ new Date(2013,2,7), 27.33 ], [ new Date(2013,2,6), 27.29 ], [ new Date(2013,2,5), 27.54 ], [ new Date(2013,2,4), 27.34 ], [ new Date(2013,2,1), 27.15 ], [ new Date(2013,1,28), 27 ], [ new Date(2013,1,27), 27.01 ], [ new Date(2013,1,26), 26.59 ], [ new Date(2013,1,25), 26.59 ], [ new Date(2013,1,22), 26.97 ], [ new Date(2013,1,21), 26.7 ], [ new Date(2013,1,20), 27.07 ], [ new Date(2013,1,19), 27.25 ], [ new Date(2013,1,15), 26.98 ], [ new Date(2013,1,14), 27.01 ], [ new Date(2013,1,13), 27 ], [ new Date(2013,1,12), 26.86 ], [ new Date(2013,1,11), 26.84 ], [ new Date(2013,1,8), 26.54 ], [ new Date(2013,1,7), 26.28 ], [ new Date(2013,1,6), 26.34 ], [ new Date(2013,1,5), 26.49 ], [ new Date(2013,1,4), 26.44 ], [ new Date(2013,1,1), 26.91 ], [ new Date(2013,0,31), 26.45 ], [ new Date(2013,0,30), 26.83 ], [ new Date(2013,0,29), 26.98 ], [ new Date(2013,0,28), 26.89 ], [ new Date(2013,0,25), 26.86 ], [ new Date(2013,0,24), 26.62 ], [ new Date(2013,0,23), 26.6 ], [ new Date(2013,0,22), 26.16 ], [ new Date(2013,0,18), 26.25 ], [ new Date(2013,0,17), 26.25 ], [ new Date(2013,0,16), 26.05 ], [ new Date(2013,0,15), 26.21 ], [ new Date(2013,0,14), 25.91 ], [ new Date(2013,0,11), 25.85 ], [ new Date(2013,0,10), 25.49 ], [ new Date(2013,0,9), 25.72 ], [ new Date(2013,0,8), 25.58 ], [ new Date(2013,0,7), 25.71 ], [ new Date(2013,0,4), 25.76 ], [ new Date(2013,0,3), 26.25 ], [ new Date(2013,0,2), 26.61 ], [ new Date(2012,11,31), 25.73 ], [ new Date(2012,11,28), 25.58 ], [ new Date(2012,11,27), 25.97 ], [ new Date(2012,11,26), 25.88 ], [ new Date(2012,11,24), 26.07 ], [ new Date(2012,11,21), 26.45 ], [ new Date(2012,11,20), 26.67 ], [ new Date(2012,11,19), 26.31 ], [ new Date(2012,11,18), 26.55 ], [ new Date(2012,11,17), 26.11 ], [ new Date(2012,11,14), 25.83 ], [ new Date(2012,11,13), 26.12 ], [ new Date(2012,11,12), 26.24 ], [ new Date(2012,11,11), 26.32 ], [ new Date(2012,11,10), 25.95 ], [ new Date(2012,11,7), 25.49 ], [ new Date(2012,11,6), 25.75 ], [ new Date(2012,11,5), 25.69 ], [ new Date(2012,11,4), 25.41 ], [ new Date(2012,11,3), 25.46 ], [ new Date(2012,10,30), 25.65 ], [ new Date(2012,10,29), 25.96 ], [ new Date(2012,10,28), 26.36 ], [ new Date(2012,10,27), 26.09 ], [ new Date(2012,10,26), 26.39 ], [ new Date(2012,10,23), 26.69 ], [ new Date(2012,10,21), 25.96 ], [ new Date(2012,10,20), 25.73 ], [ new Date(2012,10,19), 25.75 ], [ new Date(2012,10,16), 25.55 ], [ new Date(2012,10,15), 25.68 ], [ new Date(2012,10,14), 25.86 ], [ new Date(2012,10,13), 26.1 ], [ new Date(2012,10,12), 26.97 ], [ new Date(2012,10,9), 27.55 ], [ new Date(2012,10,8), 27.53 ], [ new Date(2012,10,7), 27.79 ], [ new Date(2012,10,6), 28.53 ], [ new Date(2012,10,5), 28.31 ], [ new Date(2012,10,2), 28.19 ], [ new Date(2012,10,1), 28.21 ], [ new Date(2012,9,31), 27.27 ], [ new Date(2012,9,26), 26.96 ], [ new Date(2012,9,25), 26.64 ], [ new Date(2012,9,24), 26.66 ], [ new Date(2012,9,23), 26.8 ], [ new Date(2012,9,22), 26.76 ], [ new Date(2012,9,19), 27.37 ], [ new Date(2012,9,18), 28.19 ], [ new Date(2012,9,17), 28.27 ], [ new Date(2012,9,16), 28.18 ], [ new Date(2012,9,15), 28.2 ], [ new Date(2012,9,12), 27.9 ], [ new Date(2012,9,11), 27.66 ], [ new Date(2012,9,10), 27.69 ], [ new Date(2012,9,9), 27.98 ], [ new Date(2012,9,8), 28.46 ], [ new Date(2012,9,5), 28.52 ], [ new Date(2012,9,4), 28.7 ], [ new Date(2012,9,3), 28.53 ], [ new Date(2012,9,2), 28.34 ], [ new Date(2012,9,1), 28.18 ], [ new Date(2012,8,28), 28.44 ], [ new Date(2012,8,27), 28.82 ], [ new Date(2012,8,26), 28.83 ], [ new Date(2012,8,25), 29.04 ], [ new Date(2012,8,24), 29.41 ], [ new Date(2012,8,21), 29.8 ], [ new Date(2012,8,20), 30.05 ], [ new Date(2012,8,19), 29.67 ], [ new Date(2012,8,18), 29.79 ], [ new Date(2012,8,17), 29.82 ], [ new Date(2012,8,14), 29.82 ], [ new Date(2012,8,13), 29.56 ], [ new Date(2012,8,12), 29.41 ], [ new Date(2012,8,11), 29.42 ], [ new Date(2012,8,10), 29.35 ], [ new Date(2012,8,7), 29.57 ], [ new Date(2012,8,6), 29.96 ], [ new Date(2012,8,5), 29.04 ], [ new Date(2012,8,4), 29.04 ], [ new Date(2012,7,31), 29.45 ], [ new Date(2012,7,30), 28.97 ], [ new Date(2012,7,29), 29.29 ], [ new Date(2012,7,28), 29.27 ], [ new Date(2012,7,27), 29.33 ], [ new Date(2012,7,24), 29.2 ], [ new Date(2012,7,23), 28.92 ], [ new Date(2012,7,22), 29.18 ], [ new Date(2012,7,21), 29.43 ], [ new Date(2012,7,20), 29.37 ], [ new Date(2012,7,17), 29.53 ], [ new Date(2012,7,16), 29.41 ], [ new Date(2012,7,15), 28.86 ], [ new Date(2012,7,14), 28.79 ], [ new Date(2012,7,13), 28.85 ], [ new Date(2012,7,10), 28.88 ], [ new Date(2012,7,9), 28.95 ], [ new Date(2012,7,8), 28.79 ], [ new Date(2012,7,7), 28.72 ], [ new Date(2012,7,6), 28.43 ], [ new Date(2012,7,3), 28.24 ], [ new Date(2012,7,2), 27.71 ], [ new Date(2012,7,1), 27.92 ], [ new Date(2012,6,31), 27.97 ], [ new Date(2012,6,30), 28.14 ], [ new Date(2012,6,27), 28.25 ], [ new Date(2012,6,26), 27.68 ], [ new Date(2012,6,25), 27.37 ], [ new Date(2012,6,24), 27.67 ], [ new Date(2012,6,23), 27.79 ], [ new Date(2012,6,20), 28.59 ], [ new Date(2012,6,19), 29.11 ], [ new Date(2012,6,18), 28.91 ], [ new Date(2012,6,17), 28.16 ], [ new Date(2012,6,16), 27.95 ], [ new Date(2012,6,13), 27.9 ], [ new Date(2012,6,12), 27.18 ], [ new Date(2012,6,11), 27.81 ], [ new Date(2012,6,10), 28.23 ], [ new Date(2012,6,9), 28.48 ], [ new Date(2012,6,6), 28.66 ], [ new Date(2012,6,5), 29.14 ], [ new Date(2012,6,3), 29.2 ], [ new Date(2012,6,2), 29.01 ], [ new Date(2012,5,29), 29.04 ], [ new Date(2012,5,28), 28.39 ], [ new Date(2012,5,27), 28.64 ], [ new Date(2012,5,26), 28.5 ], [ new Date(2012,5,25), 28.35 ], [ new Date(2012,5,22), 29.14 ], [ new Date(2012,5,21), 28.61 ], [ new Date(2012,5,20), 29.36 ], [ new Date(2012,5,19), 29.14 ], [ new Date(2012,5,18), 28.33 ], [ new Date(2012,5,15), 28.5 ], [ new Date(2012,5,14), 27.85 ], [ new Date(2012,5,13), 27.65 ], [ new Date(2012,5,12), 27.8 ], [ new Date(2012,5,11), 27.43 ], [ new Date(2012,5,8), 28.15 ], [ new Date(2012,5,7), 27.75 ], [ new Date(2012,5,6), 27.86 ], [ new Date(2012,5,5), 27.06 ], [ new Date(2012,5,4), 27.1 ], [ new Date(2012,5,1), 27.01 ], [ new Date(2012,4,31), 27.71 ], [ new Date(2012,4,30), 27.85 ], [ new Date(2012,4,29), 28.06 ], [ new Date(2012,4,25), 27.59 ], [ new Date(2012,4,24), 27.6 ], [ new Date(2012,4,23), 27.63 ], [ new Date(2012,4,22), 28.25 ], [ new Date(2012,4,21), 28.24 ], [ new Date(2012,4,18), 27.78 ], [ new Date(2012,4,17), 28.21 ], [ new Date(2012,4,16), 28.38 ], [ new Date(2012,4,15), 28.68 ], [ new Date(2012,4,14), 28.93 ], [ new Date(2012,4,11), 29.39 ], [ new Date(2012,4,10), 28.99 ], [ new Date(2012,4,9), 29.01 ], [ new Date(2012,4,8), 28.76 ], [ new Date(2012,4,7), 28.91 ], [ new Date(2012,4,4), 29.22 ], [ new Date(2012,4,3), 29.95 ], [ new Date(2012,4,2), 29.99 ], [ new Date(2012,4,1), 30.19 ], [ new Date(2012,3,30), 30.2 ], [ new Date(2012,3,27), 30.16 ], [ new Date(2012,3,26), 30.28 ], [ new Date(2012,3,25), 30.37 ], [ new Date(2012,3,24), 30.1 ], [ new Date(2012,3,23), 30.29 ], [ new Date(2012,3,20), 30.57 ], [ new Date(2012,3,19), 29.24 ], [ new Date(2012,3,18), 29.37 ], [ new Date(2012,3,17), 29.65 ], [ new Date(2012,3,16), 29.31 ], [ new Date(2012,3,13), 29.06 ], [ new Date(2012,3,12), 29.22 ], [ new Date(2012,3,11), 28.62 ], [ new Date(2012,3,10), 28.74 ], [ new Date(2012,3,9), 29.33 ], [ new Date(2012,3,5), 29.73 ], [ new Date(2012,3,4), 29.43 ], [ new Date(2012,3,3), 30.12 ], [ new Date(2012,3,2), 30.45 ], [ new Date(2012,2,30), 30.42 ], [ new Date(2012,2,29), 30.29 ], [ new Date(2012,2,28), 30.36 ], [ new Date(2012,2,27), 30.67 ], [ new Date(2012,2,26), 30.73 ], [ new Date(2012,2,23), 30.19 ], [ new Date(2012,2,22), 30.18 ], [ new Date(2012,2,21), 30.09 ], [ new Date(2012,2,20), 30.17 ], [ new Date(2012,2,19), 30.37 ], [ new Date(2012,2,16), 30.74 ], [ new Date(2012,2,15), 30.98 ], [ new Date(2012,2,14), 30.9 ], [ new Date(2012,2,13), 30.81 ], [ new Date(2012,2,12), 30.22 ], [ new Date(2012,2,9), 30.17 ], [ new Date(2012,2,8), 30.19 ], [ new Date(2012,2,7), 30.03 ], [ new Date(2012,2,6), 29.76 ], [ new Date(2012,2,5), 29.99 ], [ new Date(2012,2,2), 30.25 ], [ new Date(2012,2,1), 30.45 ], [ new Date(2012,1,29), 29.93 ], [ new Date(2012,1,28), 30.06 ], [ new Date(2012,1,27), 29.57 ], [ new Date(2012,1,24), 29.69 ], [ new Date(2012,1,23), 29.58 ], [ new Date(2012,1,22), 29.49 ], [ new Date(2012,1,21), 29.65 ], [ new Date(2012,1,17), 29.47 ], [ new Date(2012,1,16), 29.51 ], [ new Date(2012,1,15), 28.34 ], [ new Date(2012,1,14), 28.53 ], [ new Date(2012,1,13), 28.65 ], [ new Date(2012,1,10), 28.58 ], [ new Date(2012,1,9), 28.83 ], [ new Date(2012,1,8), 28.73 ], [ new Date(2012,1,7), 28.44 ], [ new Date(2012,1,6), 28.29 ], [ new Date(2012,1,3), 28.33 ], [ new Date(2012,1,2), 28.06 ], [ new Date(2012,1,1), 28 ] ]; data.addColumn('date','Date'); data.addColumn('number','Adj.Close'); data.addRows(datajson); return(data); } // jsDrawChart function drawChartCalendar() { var data = gvisDataCalendar(); var options = {}; options["width"] = 590; options["height"] = 320; options["title"] = "Calendar heat map of MSFT adjsuted close"; options["calendar"] = {cellSize:10, yearLabel:{fontSize:20, color:'#444444'}, focusedCellColor:{stroke:'red'}}; var chart = new google.visualization.Calendar( document.getElementById('Calendar') ); chart.draw(data,options); } // jsDisplayChart (function() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; var chartid = "calendar"; // Manually see if chartid is in pkgs (not all browsers support Array.indexOf) var i, newPackage = true; for (i = 0; newPackage && i < pkgs.length; i++) { if (pkgs[i] === chartid) newPackage = false; } if (newPackage) pkgs.push(chartid); // Add the drawChart function to the global list of callbacks callbacks.push(drawChartCalendar); })(); function displayChartCalendar() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; window.clearTimeout(window.__gvisLoad); // The timeout is set to 100 because otherwise the container div we are // targeting might not be part of the document yet window.__gvisLoad = setTimeout(function() { var pkgCount = pkgs.length; google.load("visualization", "1", { packages:pkgs, callback: function() { if (pkgCount != pkgs.length) { // Race condition where another setTimeout call snuck in after us; if // that call added a package, we must not shift its callback return; } while (callbacks.length > 0) callbacks.shift()(); } }); }, 100); } // jsFooter </script> <!-- jsChart --> <script type="text/javascript" src="https://www.google.com/jsapi?callback=displayChartCalendar"></script> <!-- divChart --> <div id="Calendar" style="width: 590px; height: 320px;"> </div>