You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/09/16 20:33:57 UTC
[GitHub] [echarts] Sakkyoku-Sha edited a comment on issue #15742: ECharts "Stacked Area Chart" does not work for not-synced time series data.
Sakkyoku-Sha edited a comment on issue #15742:
URL: https://github.com/apache/echarts/issues/15742#issuecomment-921225152
Interestingly switching to "Category" and providing a "day" is a potential solution to this issue.
`
const days = new Array<string>(36525);
let currDate = new Date(2020,1,1,)
for(let i = 0; i < 36525; i++){
days[i] = [currDate.getFullYear(), currDate.getMonth() + 1, currDate.getDate()].join('/');
currDate.setDate(currDate.getDate() + 1);
}
`
`
xAxis: {
type: 'category',
data : days,
silent: false,
},
`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org