Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
8dc6efe8
Commit
8dc6efe8
authored
Feb 13, 2019
by
Emmanuel René Huchim Puc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chart data corrected
parent
afc6fac1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
views.py
reports/views.py
+1
-1
No files found.
reports/views.py
View file @
8dc6efe8
...
@@ -60,7 +60,7 @@ def report_L2ASCL(request, report,purchase_id):
...
@@ -60,7 +60,7 @@ def report_L2ASCL(request, report,purchase_id):
# item['fill'] = "false"
# item['fill'] = "false"
if
l
==
"0"
:
if
l
==
"0"
:
item
[
'hidden'
]
=
"true"
item
[
'hidden'
]
=
"true"
item
[
'data'
]
=
[
v
[
l
]
*
60
*
60
/
1000000.
for
k
,
v
in
sorted
(
json_data
.
items
())
if
l
in
v
]
item
[
'data'
]
=
[
v
[
l
]
*
60
*
60
/
1000000.
if
(
l
in
v
)
else
0
for
k
,
v
in
sorted
(
json_data
.
items
())
]
item
[
'backgroundColor'
]
=
colors
[
int
(
l
)]
item
[
'backgroundColor'
]
=
colors
[
int
(
l
)]
data
[
'datasets'
]
.
append
(
item
)
data
[
'datasets'
]
.
append
(
item
)
...
...
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