Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fordecyt_2019
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rodrigo Tapia-McClung
fordecyt_2019
Commits
454f13d3
Commit
454f13d3
authored
Nov 24, 2020
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix id names on urbanization and chart formatting
parent
743e090f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
34 deletions
+46
-34
index.html
public/centropais/index.html
+3
-0
evolucion_urbana.js
public/js/evolucion_urbana.js
+4
-1
evolucion_urbana_charts.js
public/js/evolucion_urbana_charts.js
+39
-33
No files found.
public/centropais/index.html
View file @
454f13d3
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
<div
class=
"col"
>
<div
class=
"col"
>
<div
class=
"row h-100"
>
<div
class=
"row h-100"
>
<div
id=
"odChart"
></div>
<div
id=
"odChart"
></div>
<div
id=
"barChart"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -83,10 +84,12 @@
...
@@ -83,10 +84,12 @@
<div
class=
"col-6 border-right"
>
<div
class=
"col-6 border-right"
>
<div
class=
"row h-100"
>
<div
class=
"row h-100"
>
<div
id=
"chordChart"
></div>
<div
id=
"chordChart"
></div>
<div
id=
"pieChart"
></div>
</div>
</div>
</div>
</div>
<div
class=
"col-6 align-self-center"
id=
"odTableRow"
>
<div
class=
"col-6 align-self-center"
id=
"odTableRow"
>
<div
class=
"row h-100 justify-content-center"
>
<div
class=
"row h-100 justify-content-center"
>
<div
id=
"radarChart"
></div>
<div
class=
"card text-center"
id=
"odCard"
>
<div
class=
"card text-center"
id=
"odCard"
>
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
Haz clic en un nodo del mapa para mostrar sus datos
</p>
<p
class=
"card-text"
>
Haz clic en un nodo del mapa para mostrar sus datos
</p>
...
...
public/js/evolucion_urbana.js
View file @
454f13d3
...
@@ -368,9 +368,12 @@ L.timeDimension.layer.Tile = (layer, options) => {
...
@@ -368,9 +368,12 @@ L.timeDimension.layer.Tile = (layer, options) => {
$
(
"#startHeader"
).
remove
();
$
(
"#startHeader"
).
remove
();
$
(
".picker"
).
remove
();
$
(
".picker"
).
remove
();
$
(
"#initial-backdrop"
).
remove
();
$
(
"#initial-backdrop"
).
remove
();
$
(
"#mainContainer"
)[
0
].
style
.
setProperty
(
"display"
,
"flex"
,
"important"
)
$
(
"#mainContainer"
)[
0
].
style
.
setProperty
(
"display"
,
"flex"
,
"important"
)
;
$
(
"#mexmap"
).
show
();
$
(
"#mexmap"
).
show
();
$
(
"#odTableRow"
).
removeClass
(
"align-self-center"
);
$
(
"#odCard"
).
hide
();
setupTimeDimensionControl
();
setupTimeDimensionControl
();
getMinMax
(
"urbanization_year"
)
// get minmax year.Q values to popoulate timeDimension
getMinMax
(
"urbanization_year"
)
// get minmax year.Q values to popoulate timeDimension
.
then
(
dates
=>
setupMap
(
dates
))
.
then
(
dates
=>
setupMap
(
dates
))
...
...
public/js/evolucion_urbana_charts.js
View file @
454f13d3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment