项目中遇到问题,需要根据用户的选择提取出一个时间的区间段,然后对后台进行请求。 基本思路,先根据new Date()对象求出start_time和end_time时间戳,然后把时间戳转化成new Date()对象,然后求出对应的年月日。 这边提供一个demo函数:求几天前的日期,思路是先求对应的时间 Read More
posted @ 2019-09-17 20:02 护花使者 Views(1014) Comments(0) Diggs(0) Edit
需要在xAxis 中添加 axisLabel , demo案例如下: 设置成每行两个文字竖向排放。 Read More
posted @ 2019-09-17 18:43 护花使者 Views(3576) Comments(0) Diggs(0) Edit