Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Fix KPI Reps stacks order
Browse files Browse the repository at this point in the history
  • Loading branch information
comzeradd committed Apr 24, 2015
1 parent e723684 commit 10be870
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions remo/dashboard/static/dashboard/js/kpi.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ $(document).ready(function() {
.y0(height)
.y1(function(d) { return y(d.inactive); });

var area_casual = d3.svg.area()
.x(function(d) { return x(d.week); })
.y0(height)
.y1(function(d) { return y(d.casual_stack); });

var area_active = d3.svg.area()
.x(function(d) { return x(d.week); })
.y0(height)
.y1(function(d) { return y(d.active_stack); });

var area_casual = d3.svg.area()
.x(function(d) { return x(d.week); })
.y0(height)
.y1(function(d) { return y(d.casual_stack); });

var area_core = d3.svg.area()
.x(function(d) { return x(d.week); })
.y0(height)
Expand Down Expand Up @@ -129,13 +129,13 @@ $(document).ready(function() {

svg.append('path')
.datum(weeks)
.attr('class', 'area-people-casual')
.attr('d', area_casual);
.attr('class', 'area-people-active')
.attr('d', area_active);

svg.append('path')
.datum(weeks)
.attr('class', 'area-people-active')
.attr('d', area_active);
.attr('class', 'area-people-casual')
.attr('d', area_casual);

svg.append('path')
.datum(weeks)
Expand Down

0 comments on commit 10be870

Please sign in to comment.