You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/07/17 02:57:24 UTC
[GitHub] [incubator-echarts] CuongStf commented on issue #10860: How to show
all point in xAxis and data in chart?
CuongStf commented on issue #10860: How to show all point in xAxis and data in chart?
URL: https://github.com/apache/incubator-echarts/issues/10860#issuecomment-512081472
sorry but it's not work.
```
xAxis: {
interval: 0,
data: data.categoryData,
axisLabel: {
formatter: function (value, idx) {
var time = value.toString().split(':');
if (time[0] === '23' && time[1] === '59') { return value; }
if(idx === 0) { return value; }
switch (time[1]) {
case '00':
case '10':
case '20':
case '30':
case '40':
case '50':
return value;
}
}
// interval: 180
},
boundaryGap: false,
axisTick: {
inside: false,
// interval: 180,
alignWithLabel: true
},
silent: false,
splitLine: {
show: false
},
splitArea: {
show: false
}
}
```
`When i hover, it still lost point, 01:01 to 01:03
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org