-
In evidenza
Be yourself; Everyone else is already taken. — Oscar Wilde. This is the first post on my new blog. I’m just getting this new blog going, so stay tuned for more. Subscribe below to get notified when I post new updates.
-
This is an example post, originally published as part of Blogging University. Enroll in one of our ten programs, and start your blog right. You’re going to publish a post today. Don’t worry about how your blog looks. Don’t worry if you haven’t given it a name yet, or you’re feeling overwhelmed. Just click the… Continua a leggere
Visualizza tutti gli articoli
Follow My Blog
Get new content delivered directly to your inbox.
// jsData
function gvisDataAlbertoS () {
var data = new google.visualization.DataTable();
var datajson =
[
[
“SK_UNICA”,
new Date(2019,5,24),
3555.714286,
14.42857143,
58.0260717,
1.362950994,
18.22818614,
0.4336458377
],
[
“SK_UNICA”,
new Date(2019,5,25),
3495.857143,
15.85714286,
54.54815199,
1.752576225,
18.86956465,
0.4768147851
],
[
“SK_UNICA”,
new Date(2019,5,26),
3506.714286,
15.28571429,
57.12577394,
2.173409731,
18.23440318,
0.4394899493
],
[
“SK_UNICA”,
new Date(2019,5,27),
3535,
16,
53.12788541,
2.617525201,
19.17067029,
0.4832815358
],
[
“SK_UNICA”,
new Date(2019,5,28),
3522,
17,
49.98533068,
2.677459715,
19.82351207,
0.5078575492
],
[
“SK_UNICA”,
new Date(2019,5,29),
3463,
18.14285714,
43.6914773,
2.907381108,
19.98148705,
0.5374720337
],
[
“SK_UNICA”,
new Date(2019,5,30),
3458.714286,
18.85714286,
42.6440785,
2.993975676,
20.06430279,
0.5534832882
],
[
“SK_UNICA”,
new Date(2019,6,1),
3456.857143,
18.42857143,
45.174119,
3.054459825,
19.42925026,
0.5431767872
],
[
“SK_UNICA”,
new Date(2019,6,2),
3411.714286,
16.85714286,
50.26647911,
2.98127958,
18.89243631,
0.506613611
],
[
“SK_UNICA”,
new Date(2019,6,3),
3373.142857,
17,
50.16322346,
2.967619252,
20.57907226,
0.5271894792
],
[
“SK_UNICA”,
new Date(2019,6,4),
3361.142857,
16.57142857,
53.95950406,
3.515723875,
18.19811988,
0.5003742989
]
];
data.addColumn(‘string’,’idVar’);
data.addColumn(‘date’,’Data’);
data.addColumn(‘number’,’PagineViste’);
data.addColumn(‘number’,’OrdiniWeb’);
data.addColumn(‘number’,’CostoUnitario’);
data.addColumn(‘number’,’clicksPagineViste’);
data.addColumn(‘number’,’OrdiniClicks’);
data.addColumn(‘number’,’OrdiniPagineViste’);
data.addRows(datajson);
return(data);
}
// jsDrawChart
function drawChartAlbertoS() {
var data = gvisDataAlbertoS();
var options = {};
options[“width”] = 1800;
options[“height”] = 800;
options[“state”] = “\n{\”xAxisOption\”:\”2\”,\”yAxisOption\”:\”3\”,\”colorOption\”:\”4\”,\”sizeOption\”:\”2\”,\”dimensions\”:{\”iconDimensions\”:[\”dim0\”]}}\n”;
var chart = new google.visualization.MotionChart(
document.getElementById(‘AlbertoS’)
);
chart.draw(data,options);
}
// jsDisplayChart
(function() {
var pkgs = window.__gvisPackages = window.__gvisPackages || [];
var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];
var chartid = “motionchart”;
// Manually see if chartid is in pkgs (not all browsers support Array.indexOf)
var i, newPackage = true;
for (i = 0; newPackage && i 0)
callbacks.shift()();
} });
}, 100);
}
// jsFooter
https://www.google.com/jsapi?callback=displayChartAlbertoS