I have been attempting to use the line graphs for a bot. When I render the line graphs, they do not render properly on the iPhone teams client. They render fine on the Desktop teams client.
The Adaptive Card JSON is here: I placed both the line graph I wanted and the line graph example in the adaptive card. Both display on the Teams Web client and in the Teams Desktop client. But only the sample Line graph displays on the iPhone.
Thank you in advance.
JSON and Screenshots enclosed.
linegraphbad.png
linegraphgood.png
desktopteamsclient.png
webteamsclient.png
JSON:
{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"title": "New Chart.Line",
"xAxisTitle": "Days",
"yAxisTitle": "Sales",
"colorSet": "categorical",
"data": [
{
"legend": "Outlook",
"values": [
{
"x": "2023-05-01",
"y": 99
},
{
"x": "2023-05-02",
"y": 6
},
{
"x": "2023-05-03",
"y": 63
},
{
"x": "2023-05-04",
"y": 64
},
{
"x": "2023-05-05",
"y": 63
},
{
"x": "2023-05-06",
"y": 78
}
]
},
{
"legend": "Teams",
"values": [
{
"x": "2023-05-01",
"y": 12
},
{
"x": "2023-05-02",
"y": 82
},
{
"x": "2023-05-03",
"y": 12
},
{
"x": "2023-05-04",
"y": 33
},
{
"x": "2023-05-05",
"y": 1
},
{
"x": "2023-05-06",
"y": 80
}
]
},
{
"legend": "Office",
"values": [
{
"x": "2023-05-01",
"y": 66
},
{
"x": "2023-05-02",
"y": 93
},
{
"x": "2023-05-03",
"y": 65
},
{
"x": "2023-05-04",
"y": 13
},
{
"x": "2023-05-05",
"y": 90
},
{
"x": "2023-05-06",
"y": 48
}
]
},
{
"legend": "Windows",
"values": [
{
"x": "2023-05-01",
"y": 9
},
{
"x": "2023-05-02",
"y": 19
},
{
"x": "2023-05-03"
},
{
"x": "2023-05-04",
"y": 61
},
{
"x": "2023-05-05",
"y": 21
},
{
"x": "2023-05-06",
"y": 72
}
]
},
{
"legend": "Exchange",
"values": [
{
"x": "2023-05-01",
"y": 35
},
{
"x": "2023-05-02",
"y": 11
},
{
"x": "2023-05-03",
"y": 91
},
{
"x": "2023-05-04",
"y": 97
},
{
"x": "2023-05-05",
"y": 97
},
{
"x": "2023-05-06",
"y": 45
}
]
},
{
"legend": "SharePoint",
"values": [
{
"x": "2023-05-01",
"y": 26
},
{
"x": "2023-05-02",
"y": 99
},
{
"x": "2023-05-03",
"y": 16
},
{
"x": "2023-05-04",
"y": 26
},
{
"x": "2023-05-05",
"y": 91
},
{
"x": "2023-05-06",
"y": 22
}
]
},
{
"legend": "Copilot",
"values": [
{
"x": "2023-05-01",
"y": 96
},
{
"x": "2023-05-02",
"y": 37
},
{
"x": "2023-05-03",
"y": 27
},
{
"x": "2023-05-04",
"y": 5
},
{
"x": "2023-05-05",
"y": 45
},
{
"x": "2023-05-06",
"y": 59
}
]
}
],
"type": "Chart.Line"
},
{
"title": "Response Times",
"xAxisTitle": "Hour of Day (ET)",
"yAxisTitle": "Seconds",
"colorSet": "categorical",
"data": [
{
"legend": "Median",
"color": "categoricalLightBlue",
"values": [
{
"x": "00",
"y": 0.3236166666666667
},
{
"x": "01",
"y": 0.3152
},
{
"x": "02",
"y": 0.3239833333333334
},
{
"x": "03",
"y": 0.3100000000000001
},
{
"x": "04",
"y": 0.30210000000000004
},
{
"x": "05",
"y": 0.31328333333333336
},
{
"x": "06",
"y": 0.35621666666666674
},
{
"x": "07",
"y": 0.3150666666666666
},
{
"x": "08",
"y": 0.34275000000000017
},
{
"x": "09",
"y": 0.4383166666666666
},
{
"x": "10",
"y": 0.29415217391304355
}
]
},
{
"legend": "P90",
"color": "divergingYellow",
"values": [
{
"x": "00",
"y": 0.6051
},
{
"x": "01",
"y": 0.6449166666666666
},
{
"x": "02",
"y": 0.6435666666666668
},
{
"x": "03",
"y": 0.6386833333333334
},
{
"x": "04",
"y": 0.6243333333333336
},
{
"x": "05",
"y": 0.6795833333333335
},
{
"x": "06",
"y": 0.7160499999999999
},
{
"x": "07",
"y": 0.6548999999999999
},
{
"x": "08",
"y": 0.5568833333333334
},
{
"x": "09",
"y": 0.7060000000000001
},
{
"x": "10",
"y": 0.43643478260869567
}
]
},
{
"legend": "P99",
"color": "categoricalMarigold",
"values": [
{
"x": "00",
"y": 1.3782833333333333
},
{
"x": "01",
"y": 1.5408000000000002
},
{
"x": "02",
"y": 1.3430166666666672
},
{
"x": "03",
"y": 1.3709666666666664
},
{
"x": "04",
"y": 1.4505166666666665
},
{
"x": "05",
"y": 1.3814666666666673
},
{
"x": "06",
"y": 1.3808000000000002
},
{
"x": "07",
"y": 1.180033333333333
},
{
"x": "08",
"y": 0.8722833333333334
},
{
"x": "09",
"y": 1.0614999999999999
},
{
"x": "10",
"y": 0.5845434782608696
}
]
}
],
"type": "Chart.Line"
}
]
}