fix axis setting in web UI charts
Change-Id: Id9c3f974960d0d37035537186fee41061fa139e3
This commit is contained in:
parent
f82e6b2cbe
commit
927a5bee97
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user