我的数据库中有如下提到的一些日期,
['2017-09-18'、'2017-09-19'、'2017-09-22'、'2017-09-23'、'2017-09-24'、'2017-09-26']
需要将此添加到jqchart中
axes: [
{
type: 'dateTime',
location: 'bottom',
labels: {stringFormat: 'dd-mm-yyyy'},
minimum: new Date(<?php echo str_replace("-",",",substr(min($dtarray),0,-8)); ?>),
maximum: new Date(<?php echo str_replace("-",",",substr(max($dtarray),0,-8)); ?>),
title: { text: 'Days in month' }
},
我的代码是这样的,但我需要添加日期而不是最小值和最大值,因为检查时缺少一些日期。
这里有两个 X 轴,我只需要一个有日期。请帮忙