API - Card Data
POST /api/carddata
Fields
Key | Value |
---|---|
x or x__label | Array of numbers, or array of strings. |
yN or yN__label | Array of numbers. |
title (optional) | String: Title of the card. |
type (optional) | category or datatime |
Example 1
{
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"y1": [13, 4, 9, 13, 6, 9, 7, 15, 9, 10, 11]
}
Example 2 - Key with labels
{
"x__index": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"y1__min": [13, 4, 9, 13, 6, 9, 7, 15, 9, 10, 11],
"y2__max": [19, 8, 21, 17, 16, 19, 17, 25, 19, 20, 21]
}
Example 3 - Title
{
"title": "Test Title",
"x__index": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"y1__min": [13, 4, 9, 13, 6, 9, 7, 15, 9, 10, 11],
"y2__max": [19, 8, 21, 17, 16, 19, 17, 25, 19, 20, 21]
}
Example 4 - Funnel Data
{
"title": "Conversion",
"x__Phase": [
"Click", "View", "Register", "Sign-In", "Checkout", "Complete"
],
"y1__Total": [
120, 50, 40, 35, 15, 10
]
}