Skip to content

Commit

Permalink
update aspect ratio for line graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
hosie committed Jun 16, 2015
1 parent 2ecdff7 commit 7be7e67
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/public/directives/iib-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,6 @@ Author John Hosie
restrict: 'AC',
//TODO - can we derive these scope attributes from the widgetSpec factory?
scope:{
iibFlowName:'@',
iibMqttHost:'@',
iibMqttPort:'@',
iibSimulation:'@'
},
link: link
};
Expand Down Expand Up @@ -588,7 +584,7 @@ Author John Hosie
return {
iibSimulation : options.iibSimulation || false,
iibFlowName : options.iibFlowName || null,
aspectRatio : 1,
aspectRatio : 1/4,
map:function(integrationBus){
//return an array of arrays.
// the inner array is the array of snapshots, the outer array contains one of those for each instance of the flow
Expand Down

0 comments on commit 7be7e67

Please sign in to comment.