fix axis setting in web UI charts

Change-Id: Id9c3f974960d0d37035537186fee41061fa139e3
This commit is contained in:
Xin 2016-03-23 16:16:01 -07:00 committed by Yichen Wang
parent f82e6b2cbe
commit 927a5bee97
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -395,7 +395,7 @@
}
],
axes: {
x: {key: "x", type: "linear",ticksFormatter: function(x) {
x: {key: "x", type: "linear", ticks: $scope.xaxisList, ticksFormatter: function(x) {
if($.inArray(x, $scope.xaxisList)!=-1) {
if (x == 0) return "1";
else return x;