Skip to content

Commit

Permalink
Merge pull request #20 from JCCDex/cjzhang
Browse files Browse the repository at this point in the history
手机端深度图修改
  • Loading branch information
zcZhang123 authored Jan 24, 2019
2 parents f9416af + 1feb58f commit 1bc150b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/js/DepthMapMobileSetChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class DepthMapMobileSetChartController {
legend: [
{
show: true,
top: 60,
top: 40,
itemGap: 20,
itemWidth: 14,
itemHeight: 14,
Expand Down Expand Up @@ -155,8 +155,10 @@ class DepthMapMobileSetChartController {
color: '#e6e6e6',
fontSize: 22,
formatter: function (value) {
if (value > 1000) {
if (value >= 1000) {
return (value / 1000) + 'K';
} else {
return value;
}
}
},
Expand Down

0 comments on commit 1bc150b

Please sign in to comment.