Skip to content

Commit

Permalink
Merge pull request #230 from boblemaire/staged
Browse files Browse the repository at this point in the history
Staged
  • Loading branch information
boblemaire authored Oct 5, 2019
2 parents 5c7b176 + 5adaa95 commit 89b9fa2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SD/graph2.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,8 @@ function graph()
grid: {hoverable: true, clickable: true},
selection: { mode: "x" },
legend: { show: showLegend,
position: "nw"},
position: "nw",
sorted:"reverse"},
toggle: { scale: "visible" },
touch: { pan: "x", scale: "x" },
xaxis: {
Expand Down Expand Up @@ -886,7 +887,7 @@ function graph()

var plotdata = [];

for (var z in feedlist) {
for (var z=feedlist.length-1; z>=0; z--) {
if(feedlist[z].dataindex != undefined){
var dataindex = feedlist[z].dataindex;
var data = [];
Expand All @@ -912,6 +913,9 @@ function graph()
}
if (feedlist[z].plottype=='Bar'){
plot.bars = { show: true, barWidth: interval * 750};
if(feedlist[z].fill){
plot.bars.fillColor = {colors:[{opacity: 1},{ opacity: 1}]};
}
}
plotdata.push(plot);
}
Expand Down

0 comments on commit 89b9fa2

Please sign in to comment.