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
17e6b405
Commit
17e6b405
authored
Feb 03, 2021
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable radar cursor tooltip for the time being
parent
0d5fefe6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
cuerpos_charts.js
public/js/cuerpos_charts.js
+5
-2
No files found.
public/js/cuerpos_charts.js
View file @
17e6b405
...
@@ -49,8 +49,6 @@ const makeRadarSeries = (chart, value, category, name, color) => {
...
@@ -49,8 +49,6 @@ const makeRadarSeries = (chart, value, category, name, color) => {
radarSeries
.
dataFields
.
valueY
=
value
;
radarSeries
.
dataFields
.
valueY
=
value
;
radarSeries
.
dataFields
.
categoryX
=
category
;
radarSeries
.
dataFields
.
categoryX
=
category
;
radarSeries
.
strokeWidth
=
1.5
;
radarSeries
.
strokeWidth
=
1.5
;
radarSeries
.
tooltipText
=
"{valueY}"
;
//FIXME: some months are not showing the appropriate name on tooltip on hover
radarSeries
.
name
=
String
(
name
);
radarSeries
.
name
=
String
(
name
);
//radarSeries.connect = false;
//radarSeries.connect = false;
//radarSeries.connectEnds = false;
//radarSeries.connectEnds = false;
...
@@ -196,6 +194,11 @@ const makeRadarChart = (data, months, years) => {
...
@@ -196,6 +194,11 @@ const makeRadarChart = (data, months, years) => {
makeRadarRange
(
radarCategoryAxis
,
"diciembre"
,
"diciembre"
,
radarRangeColors
[
0
],
1
);
makeRadarRange
(
radarCategoryAxis
,
"diciembre"
,
"diciembre"
,
radarRangeColors
[
0
],
1
);
radarChart
.
cursor
=
new
am4charts
.
RadarCursor
();
radarChart
.
cursor
=
new
am4charts
.
RadarCursor
();
radarCategoryAxis
.
cursorTooltipEnabled
=
false
;
//radarCategoryAxis.startLocation = -0.0000001;
//radarCategoryAxis.endLocation = 1;
//FIXME: some months are not showing the appropriate name on tooltip on hover
// in the meantime, cursor tooltip is disabled
// add line legend
// add line legend
radarChart
.
legend
=
new
am4charts
.
Legend
();
radarChart
.
legend
=
new
am4charts
.
Legend
();
...
...
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