Skip to content

Documentation friday #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 31, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
223 changes: 165 additions & 58 deletions hard-coded/json/chart-types/line-and-scatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,66 +92,173 @@
{
"examplename": "line-style",
"figure": {
"data": [
{
"x": [
1,
2,
3
],
"y": [
4,
5,
6
],
"type": "scatter",
"name": "Experiment",
"line": {
"color": "rgb(3,78,123)",
"width": 6,
"dash": "dot"
},
"marker": {
"opacity": 1.0,
"symbol": "square",
"size": 12,
"color": "rgb(54,144,192)",
"line": {
"width": 3,
"color": "darkblue"
"data": [
{
"x": [
52698,
43117
],
"y": [
53,
31
],
"text": [
"United States",
"Canada"
],
"name": "North America",
"mode": "markers",
"marker": {
"line": {
"color": "white",
"width": 0.5
},
"size": 12,
"color": "rgb(164, 194, 244)"
},
"type": "scatter"
},
{
"x": [
39317,
37236,
35650,
30066,
29570,
27159,
23557,
21046,
18007
],
"y": [
33,
20,
13,
19,
27,
19,
49,
44,
38
],
"text": [
"Germany",
"Britain",
"France",
"Spain",
"Italy",
"Czech Rep.",
"Greece",
"Poland"
],
"name": "Europe",
"mode": "markers",
"marker": {
"line": {
"color": "white",
"width": 0.5
},
"size": 12,
"color": "rgb(255, 217, 102)"
},
"type": "scatter"
},
{
"x": [
42952,
37037,
33106,
17478,
9813,
5253,
4692,
3899
],
"y": [
23,
42,
54,
89,
14,
99,
93,
70
],
"text": [
"Australia",
"Japan",
"South Korea",
"Malaysia",
"China",
"Indonesia",
"Philippines",
"India"
],
"name": "Asia/Pacific",
"mode": "markers",
"marker": {
"line": {
"color": "white",
"width": 0.5
},
"size": 12,
"color": "rgb(234, 153, 153)"
},
"type": "scatter"
},
{
"x": [
19097,
18601,
15595,
13546,
12026,
7434,
5419
],
"y": [
43,
47,
56,
80,
86,
93,
80
],
"text": [
"Chile",
"Argentina",
"Mexico",
"Venezuela",
"Venezuela",
"El Salvador",
"Bolivia"
],
"name": "Latin America",
"mode": "markers",
"marker": {
"line": {
"color": "white",
"width": 0.5
},
"size": 12,
"color": "rgb(142, 124, 195)"
},
"type": "scatter"
}
}
},
{
"x": [
1,
2,
3
],
"y": [
2,
10,
12
],
"type": "scatter",
"name": "Control",
"line": {
"color": "purple",
"width": 4,
"dash": "dashdot"
},
"marker": {
"opacity": 0.9,
"symbol": "cross",
"size": 16,
"color": "fuchsia",
"line": {
"color": "",
"width": 0
],
"layout": {
"title": "Quarter 1 Growth",
"xaxis": {
"title": "GDP per Capita",
"showgrid": false,
"zeroline": false
},
"yaxis": {
"title": "Percent",
"showline": false
}
}
}
]
}
},
{
Expand Down Expand Up @@ -191,4 +298,4 @@
]
}
}
]
]
Loading