-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Related-Bug:#1664823 Added the following changes for charts 1)…
…On reducing the dimension of the charts container we are hiding the legend, x and y axis lables and ticks. 2)Added few axis related options in charts like showXMinMax: To show first and last values of the axis showXAxis: To show/hide the axis 3)Removed the unnecessary paddings in the charts"
- Loading branch information
Showing
13 changed files
with
345 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. | ||
*/ | ||
|
||
define([ | ||
'underscore' | ||
], function (_) { | ||
var ChartSettings = function() { | ||
var self = this; | ||
self.config = { | ||
'min-width': { | ||
350: { | ||
'showXAxis': true, | ||
'showXLabel': true | ||
}, | ||
200: { | ||
'showLegend': false, | ||
'showXAxis': false, | ||
'showXLabel': false | ||
}, | ||
0: { | ||
'showXAxis': false, | ||
'showXLabel': false, | ||
'showYAxis': false, | ||
'showYLabel': false | ||
} | ||
}, | ||
'min-height': { | ||
200: { | ||
'showYAxis': true, | ||
'showYLabel': true | ||
}, | ||
150: { | ||
'showLegend': false, | ||
'showYAxis': false, | ||
'showYLabel': false | ||
}, | ||
0: { | ||
'showXAxis': false, | ||
'showXLabel': false, | ||
'showYAxis': false, | ||
'showYLabel': false | ||
} | ||
} | ||
} | ||
} | ||
return ChartSettings; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.