json数据集问题
{
    "msg": null,
    "data": {
        "qualityHNPVORYs": [
            {
                "avgH": "0.95",
                "avgN": "2.17",
                "avgP": "1.44",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "100.00",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.94",
                "avgN": "2.17",
                "avgP": "1.50",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "100.00",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.96",
                "avgN": "2.25",
                "avgP": "1.44",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "100.00",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.96",
                "avgN": "2.24",
                "avgP": "1.50",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "100.00",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.96",
                "avgN": "2.20",
                "avgP": "1.48",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "91.67",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.95",
                "avgN": "2.26",
                "avgP": "1.55",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "91.67",
                "qualifiedRateP": "100.00"
            },
            {
                "avgH": "0.97",
                "avgN": "2.17",
                "avgP": "1.42",
                "qualifiedRateH": "100.00",
                "qualifiedRateN": "100.00",
                "qualifiedRateP": "100.00"
            }
        ],
        "datas": [
            "01-02",
            "01-03",
            "01-04",
            "01-05",
            "01-06",
            "01-07",
            "01-08"
        ]
    },
    "status": "0"
}

这是我调用接口的部分代码,上面分别是2号到8号的数据,下面是日期,我写代码$.data.qualityHNPVORYs.${checkDate}[*]    提取到的数据如图。由于数据不包含日期,所以在做柱状图的时候无法把日期作为分类(横坐标),导致实际效果如图。

请问$.data.qualityHNPVORYs.${checkDate}[*]    这句怎么改,才能把日期列也提取出来image.pngimage.png

FineReport 故事的小黄瓜 发布于 2019-1-15 11:05 (编辑于 2019-1-15 12:03)
1min目标场景问卷 立即参与
回答问题
悬赏:4 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
5
漩涡Lv5中级互助
发布于2019-1-15 12:42

写两个数据集

最佳回答
1
snrtuemcLv8专家互助
发布于2020-7-10 17:18
  • 3关注人数
  • 841浏览人数
  • 最后回答于:2020-7-10 17:18
    请选择关闭问题的原因
    确定 取消
    返回顶部