Skip to content

Commit

Permalink
Merge pull request #1444 from Alex-NRCan/feat-geoview-geochart
Browse files Browse the repository at this point in the history
GeoView-GeoChart Plugin (#1444)
  • Loading branch information
jolevesq authored Nov 14, 2023
2 parents 4853d73 + 088fd72 commit ed051e4
Show file tree
Hide file tree
Showing 32 changed files with 13,221 additions and 20 deletions.
117 changes: 112 additions & 5 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"suportedLanguages": ["en", "fr"],
"charts": [{
"layers": [{
"layerId": "geojsonLYR5/polygons.json"
}],
"chart": "line",
"geochart": {
"xAxis": {
"property": "label"
},
"yAxis": {
"property": "data"
}
},
"datasources": [{
"display": "Feature",
"items": [{
"data": 92,
"label": "Hockey",
"location": "Victoria"
},{
"data": 43.54,
"label": "Baseball",
"location": "Victoria"
},{
"data": 12.3,
"label": "Basketball",
"location": "Victoria"
},{
"data": 66,
"label": "Football",
"location": "Victoria"
},{
"data": 75,
"label": "Soccer",
"location": "Victoria"
},{
"data": 553,
"label": "Hockey",
"location": "Toronto"
},{
"data": 54,
"label": "Baseball",
"location": "Toronto"
},{
"data": 32.553,
"label": "Basketball",
"location": "Toronto"
},{
"data": 5.43,
"label": "Football",
"location": "Toronto"
},{
"data": 55,
"label": "Soccer",
"location": "Toronto"
},{
"data": 155,
"label": "Hockey",
"location": "Montreal"
},{
"data": 55,
"label": "Baseball",
"location": "Montreal"
},{
"data": 255,
"label": "Basketball",
"location": "Montreal"
}]
}]
},
{
"layers": [{
"layerId": "geojsonLYR5/point-feature-group/points.json"
}, {
"layerId": "geojsonLYR5/lines.json"
}],
"chart": "bar",
"geochart": {
"xAxis": {
"property": "label"
},
"yAxis": {
"property": "data"
}
},
"datasources": [{
"display": "Feature",
"items": [{
"data": 92,
"label": "Hockey",
"location": "Victoria"
},{
"data": 43.54,
"label": "Baseball",
"location": "Victoria"
},{
"data": 12.3,
"label": "Basketball",
"location": "Victoria"
},{
"data": 66,
"label": "Football",
"location": "Victoria"
},{
"data": 75,
"label": "Soccer",
"location": "Victoria"
},{
"data": 553,
"label": "Hockey",
"location": "Toronto"
},{
"data": 54,
"label": "Baseball",
"location": "Toronto"
},{
"data": 32.553,
"label": "Basketball",
"location": "Toronto"
},{
"data": 5.43,
"label": "Football",
"location": "Toronto"
},{
"data": 55,
"label": "Soccer",
"location": "Toronto"
},{
"data": 155,
"label": "Hockey",
"location": "Montreal"
},{
"data": 55,
"label": "Baseball",
"location": "Montreal"
},{
"data": 255,
"label": "Basketball",
"location": "Montreal"
}]
}]
}]
}
Loading

0 comments on commit ed051e4

Please sign in to comment.