Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_data
Commits
2eb9ae6c
Commit
2eb9ae6c
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Adding missing testing files for GoogleChart
parent
cf974ef2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gc_out7_test.html
+68
-0
68 additions, 0 deletions
gc_out7_test.html
gc_plot2_out_test.html
+43
-0
43 additions, 0 deletions
gc_plot2_out_test.html
gc_plot_out_test.html
+44
-0
44 additions, 0 deletions
gc_plot_out_test.html
with
155 additions
and
0 deletions
gc_out7_test.html
0 → 100644
+
68
−
0
View file @
2eb9ae6c
<html>
<head>
<script
type=
"text/javascript"
src=
"https://www.gstatic.com/charts/loader.js"
></script>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
google
.
charts
.
setOnLoadCallback
(
drawVisualization
);
function
drawVisualization
()
{
var
data0
=
google
.
visualization
.
arrayToDataTable
([
[
'
X Axis
'
,
'
dataset1
'
,
'
dataset2
'
,
'
dataset3
'
,
'
dataset4
'
],
[
'
colum1
'
,
2
,
3
,
5
,
6
],
[
'
colum2
'
,
5
,
6
,
1
,
6
],
[
'
colum3
'
,
2
,
1
,
6
,
9
],
[
'
colum4
'
,
1
,
6
,
3
,
2
],
[
'
colum5
'
,
3
,
3
,
0
,
6
],
[
'
colum6
'
,
2
,
1
,
4
,
6
],
]);
var
data1
=
google
.
visualization
.
arrayToDataTable
([
[
'
X Axis
'
,
'
dataset1
'
,
'
dataset2
'
,
'
dataset3
'
,
'
dataset4
'
],
[
'
colum1
'
,
2
,
3
,
5
,
6
],
[
'
colum2
'
,
5
,
6
,
1
,
6
],
[
'
colum3
'
,
2
,
1
,
6
,
9
],
[
'
colum4
'
,
1
,
6
,
3
,
2
],
[
'
colum5
'
,
3
,
3
,
0
,
6
],
[
'
colum6
'
,
2
,
1
,
4
,
6
],
]);
var
data2
=
google
.
visualization
.
arrayToDataTable
([
[
'
X Axis
'
,
'
dataset1
'
,
'
dataset2
'
,
'
dataset3
'
,
'
dataset4
'
],
[
'
colum1
'
,
2
,
3
,
5
,
6
],
[
'
colum2
'
,
5
,
6
,
1
,
6
],
[
'
colum3
'
,
2
,
1
,
6
,
9
],
[
'
colum4
'
,
1
,
6
,
3
,
2
],
[
'
colum5
'
,
3
,
3
,
0
,
6
],
[
'
colum6
'
,
2
,
1
,
4
,
6
],
]);
var
options0
=
{
title
:
'
Example
'
,
vAxis
:
{
title
:
'
Y Axis
'
},
hAxis
:
{
title
:
'
X Axis
'
},
seriesType
:
'
bars
'
,
series
:
{
3
:
{
type
:
'
line
'
}}
};
var
options1
=
{
title
:
'
Example
'
,
vAxis
:
{
title
:
'
Y Axis
'
},
hAxis
:
{
title
:
'
X Axis
'
},
seriesType
:
'
bars
'
,
series
:
{
3
:
{
type
:
'
line
'
}}
};
var
options2
=
{
title
:
'
Example
'
,
vAxis
:
{
title
:
'
Y Axis
'
},
hAxis
:
{
title
:
'
X Axis
'
},
seriesType
:
'
bars
'
,
series
:
{
3
:
{
type
:
'
line
'
}}
};
var
chart
=
new
google
.
visualization
.
ComboChart
(
document
.
getElementById
(
'
chart_div0
'
));
chart
.
draw
(
data0
,
options0
);
var
chart
=
new
google
.
visualization
.
ComboChart
(
document
.
getElementById
(
'
chart_div1
'
));
chart
.
draw
(
data1
,
options1
);
var
chart
=
new
google
.
visualization
.
ComboChart
(
document
.
getElementById
(
'
chart_div2
'
));
chart
.
draw
(
data2
,
options2
);
}
</script>
</head>
<body>
<h2>
Before first graph
</h2><div
id=
"chart_div0"
style=
"width: 900px; height: 500px;"
></div>
<h2>
Before second graph
</h2><div
id=
"chart_div1"
style=
"width: 900px; height: 500px;"
></div>
<h2>
Before third graph
</h2><div
id=
"chart_div2"
style=
"width: 900px; height: 500px;"
></div>
<h2>
At the end
</h2></body>
</html>
This diff is collapsed.
Click to expand it.
gc_plot2_out_test.html
0 → 100644
+
43
−
0
View file @
2eb9ae6c
<html>
<head>
<script
type=
"text/javascript"
src=
"https://www.gstatic.com/charts/loader.js"
></script>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
google
.
charts
.
setOnLoadCallback
(
drawVisualization
);
function
drawVisualization
()
{
var
data0
=
new
google
.
visualization
.
DataTable
();
data0
.
addColumn
(
'
string
'
,
'
X Axis
'
);
data0
.
addColumn
(
'
number
'
,
'
line0
'
);
data0
.
addColumn
(
'
number
'
,
'
line1
'
);
data0
.
addColumn
(
'
number
'
,
'
line2
'
);
data0
.
addColumn
(
'
number
'
,
'
line3
'
);
data0
.
addColumn
(
'
number
'
,
'
line4
'
);
data0
.
addColumn
(
'
number
'
,
'
line5
'
);
data0
.
addColumn
(
'
number
'
,
'
line6
'
);
data0
.
addColumn
(
'
number
'
,
'
line7
'
);
data0
.
addColumn
(
'
number
'
,
'
line8
'
);
data0
.
addRows
([
[
'
colum1
'
,
0.1
,
0.2
,
0.19
,
0.22
,
0.195
,
0.215
,
0.35
,
0.34
,
0.36
],
[
'
colum2
'
,
0.11
,
0.21
,
0.18
,
0.22
,
0.19
,
0.215
,
0.36
,
0.35
,
0.37
],
[
'
colum3
'
,
0.12
,
0.22
,
0.21
,
0.23
,
0.215
,
0.225
,
0.35
,
0.34
,
0.36
],
[
'
colum4
'
,
0.15
,
0.25
,
0.2
,
0.26
,
0.22
,
0.255
,
0.36
,
0.35
,
0.37
],
[
'
colum5
'
,
0.09
,
0.29
,
0.25
,
0.3
,
0.26
,
0.295
,
0.35
,
0.34
,
0.36
],
[
'
colum6
'
,
0.08
,
0.28
,
0.27
,
0.29
,
0.275
,
0.285
,
0.36
,
0.35
,
0.37
],
]);
var
options0
=
{
title
:
'
Example
'
,
vAxis
:
{
title
:
'
Y Axis
'
},
hAxis
:
{
title
:
'
X Axis
'
},
curveType
:
'
function
'
,
lineWidth
:
1
,
intervals
:
{
'
style
'
:
'
area
'
},
};
var
chart
=
new
google
.
visualization
.
ComboChart
(
document
.
getElementById
(
'
chart_div0
'
));
chart
.
draw
(
data0
,
options0
);
}
</script>
</head>
<body>
<div
id=
"chart_div0"
style=
"width: 900px; height: 500px;"
></div>
</body>
</html>
This diff is collapsed.
Click to expand it.
gc_plot_out_test.html
0 → 100644
+
44
−
0
View file @
2eb9ae6c
<html>
<head>
<script
type=
"text/javascript"
src=
"https://www.gstatic.com/charts/loader.js"
></script>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
google
.
charts
.
setOnLoadCallback
(
drawVisualization
);
function
drawVisualization
()
{
var
data0
=
new
google
.
visualization
.
DataTable
();
data0
.
addColumn
(
'
string
'
,
'
X Axis
'
);
data0
.
addColumn
(
'
number
'
,
'
line1
'
);
data0
.
addColumn
(
'
number
'
,
'
line2
'
);
data0
.
addColumn
({
id
:
'
i0
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addColumn
({
id
:
'
i0
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addColumn
({
id
:
'
i1
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addColumn
({
id
:
'
i1
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addColumn
(
'
number
'
,
'
line3
'
);
data0
.
addColumn
({
id
:
'
i2
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addColumn
({
id
:
'
i2
'
,
type
:
'
number
'
,
role
:
'
interval
'
});
data0
.
addRows
([
[
'
colum1
'
,
0.1
,
0.2
,
0.19
,
0.22
,
0.195
,
0.215
,
0.35
,
0.34
,
0.36
],
[
'
colum2
'
,
0.11
,
0.21
,
0.18
,
0.22
,
0.19
,
0.215
,
0.36
,
0.35
,
0.37
],
[
'
colum3
'
,
0.12
,
0.22
,
0.21
,
0.23
,
0.215
,
0.225
,
0.35
,
0.34
,
0.36
],
[
'
colum4
'
,
0.15
,
0.25
,
0.2
,
0.26
,
0.22
,
0.255
,
0.36
,
0.35
,
0.37
],
[
'
colum5
'
,
0.09
,
0.29
,
0.25
,
0.3
,
0.26
,
0.295
,
0.35
,
0.34
,
0.36
],
[
'
colum6
'
,
0.08
,
0.28
,
0.27
,
0.29
,
0.275
,
0.285
,
0.36
,
0.35
,
0.37
],
]);
var
options0
=
{
title
:
'
Example
'
,
vAxis
:
{
title
:
'
Y Axis
'
},
hAxis
:
{
title
:
'
X Axis
'
},
curveType
:
'
function
'
,
lineWidth
:
1
,
intervals
:
{
'
style
'
:
'
area
'
},
interval
:
{
'
i2
'
:
{
'
color
'
:
'
#4374E0
'
,
'
style
'
:
'
bars
'
,
'
lineWidth
'
:
4
,
'
fillOpacity
'
:
1
}
}
};
var
chart
=
new
google
.
visualization
.
ComboChart
(
document
.
getElementById
(
'
chart_div0
'
));
chart
.
draw
(
data0
,
options0
);
}
</script>
</head>
<body>
<div
id=
"chart_div0"
style=
"width: 900px; height: 500px;"
></div>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment