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
a0d9a3df
Commit
a0d9a3df
authored
Oct 17, 2020
by
Tania Gómez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change colors on combined graph
parent
0060eec9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
evolucion_urbana_charts.js
public/js/evolucion_urbana_charts.js
+7
-7
No files found.
public/js/evolucion_urbana_charts.js
View file @
a0d9a3df
...
@@ -212,21 +212,21 @@ am4core.ready(function() {
...
@@ -212,21 +212,21 @@ am4core.ready(function() {
var
series3
=
chart
.
series
.
push
(
new
am4charts
.
LineSeries
());
var
series3
=
chart
.
series
.
push
(
new
am4charts
.
LineSeries
());
series3
.
dataFields
.
valueY
=
"delta"
;
//"market1";
series3
.
dataFields
.
valueY
=
"delta"
;
//"market1";
series3
.
dataFields
.
dateX
=
"date"
;
series3
.
dataFields
.
dateX
=
"date"
;
series3
.
name
=
"Relativa"
;
//"Market Days";
series3
.
name
=
"Relativa
al periodo
"
;
//"Market Days";
series3
.
strokeWidth
=
2
;
series3
.
strokeWidth
=
2
;
series3
.
tensionX
=
0.7
;
series3
.
tensionX
=
0.7
;
series3
.
stroke
=
am4core
.
color
(
"#
844685
"
);
series3
.
stroke
=
am4core
.
color
(
"#
A1045A
"
);
series3
.
strokeDasharray
=
"3,3"
;
series3
.
strokeDasharray
=
"3,3"
;
series3
.
yAxis
=
valueAxis2
;
series3
.
yAxis
=
valueAxis2
;
series3
.
tooltipText
=
"{name}
\n
[bold font-size: 20]{valueY}
\
%[/]"
;
series3
.
tooltipText
=
"{name}
\n
[bold font-size: 20]{valueY}
\
%[/]"
;
series3
.
tooltip
.
getFillFromObject
=
false
;
series3
.
tooltip
.
getFillFromObject
=
false
;
series3
.
tooltip
.
background
.
fill
=
am4core
.
color
(
"#
844685
"
);
series3
.
tooltip
.
background
.
fill
=
am4core
.
color
(
"#
A1045A
"
);
var
bullet3
=
series3
.
bullets
.
push
(
new
am4charts
.
CircleBullet
());
var
bullet3
=
series3
.
bullets
.
push
(
new
am4charts
.
CircleBullet
());
bullet3
.
circle
.
radius
=
3
;
bullet3
.
circle
.
radius
=
3
;
bullet3
.
circle
.
strokeWidth
=
2
;
bullet3
.
circle
.
strokeWidth
=
2
;
bullet3
.
circle
.
fill
=
am4core
.
color
(
"#fff"
);
bullet3
.
circle
.
fill
=
am4core
.
color
(
"#fff"
);
bullet3
.
circle
.
stroke
=
am4core
.
color
(
"#
844685
"
);
bullet3
.
circle
.
stroke
=
am4core
.
color
(
"#
A1045A
"
);
var
series4
=
chart
.
series
.
push
(
new
am4charts
.
LineSeries
());
var
series4
=
chart
.
series
.
push
(
new
am4charts
.
LineSeries
());
series4
.
dataFields
.
valueY
=
"inc"
;
series4
.
dataFields
.
valueY
=
"inc"
;
...
@@ -234,19 +234,19 @@ am4core.ready(function() {
...
@@ -234,19 +234,19 @@ am4core.ready(function() {
series4
.
name
=
"Incremento trimestral"
;
series4
.
name
=
"Incremento trimestral"
;
series4
.
strokeWidth
=
2
;
series4
.
strokeWidth
=
2
;
series4
.
tensionX
=
0.7
;
series4
.
tensionX
=
0.7
;
series4
.
stroke
=
am4core
.
color
(
"#
FAFA0F
"
);
series4
.
stroke
=
am4core
.
color
(
"#
BBD915
"
);
series4
.
yAxis
=
valueAxis2
;
series4
.
yAxis
=
valueAxis2
;
series4
.
tooltipText
=
"{name}
\n
[bold font-size: 20]{valueY}
\
%[/]"
;
series4
.
tooltipText
=
"{name}
\n
[bold font-size: 20]{valueY}
\
%[/]"
;
//series4.stroke = chart.colors.getIndex(0).lighten(0.5);
//series4.stroke = chart.colors.getIndex(0).lighten(0.5);
series4
.
strokeDasharray
=
"3,3"
series4
.
strokeDasharray
=
"3,3"
series4
.
tooltip
.
getFillFromObject
=
false
;
series4
.
tooltip
.
getFillFromObject
=
false
;
series4
.
tooltip
.
background
.
fill
=
am4core
.
color
(
"#
FACA0F
"
);;
series4
.
tooltip
.
background
.
fill
=
am4core
.
color
(
"#
BBD915
"
);;
var
bullet4
=
series4
.
bullets
.
push
(
new
am4charts
.
CircleBullet
());
var
bullet4
=
series4
.
bullets
.
push
(
new
am4charts
.
CircleBullet
());
bullet4
.
circle
.
radius
=
3
;
bullet4
.
circle
.
radius
=
3
;
bullet4
.
circle
.
strokeWidth
=
2
;
bullet4
.
circle
.
strokeWidth
=
2
;
bullet4
.
circle
.
fill
=
am4core
.
color
(
"#fff"
);
bullet4
.
circle
.
fill
=
am4core
.
color
(
"#fff"
);
bullet4
.
circle
.
stroke
=
am4core
.
color
(
"#
FACA0F
"
);
bullet4
.
circle
.
stroke
=
am4core
.
color
(
"#
BBD915
"
);
// Add cursor
// Add cursor
chart
.
cursor
=
new
am4charts
.
XYCursor
();
chart
.
cursor
=
new
am4charts
.
XYCursor
();
...
...
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