# Single Value Examples

**Visualization Reference:** splunk.singlevalue

## Basic Single Value

- **Key:** Basic

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {},
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Basic - With Event Handlers

- **Key:** Event Handlers

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {},
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Background Color - Red

- **Key:** Background Color

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "backgroundColor": "#FF0000"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Background Color - Based on Major Value

- **Key:** Background Color From Major Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "backgroundColorThresholds": [
      {
        "from": 1321,
        "value": "#00FFFF"
      },
      {
        "to": 1321,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "majorValue": "> sparklineValues | lastPoint()",
    "backgroundColor": "> majorValue | rangeValue(backgroundColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Background Color - Based on Trend Value

- **Key:** Background Color From Trend Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "backgroundColorThresholds": [
      {
        "from": 391,
        "value": "#00FFFF"
      },
      {
        "to": 391,
        "value": "#0080FF"
      }
    ]
  },
  "options": {
    "trendValue": "> sparklineValues | delta(-2)",
    "backgroundColor": "> trendValue | rangeValue(backgroundColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Background Color - Based on Data Series Color

- **Key:** Colordataseries

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "backgroundColor": "> primary | seriesByName(\"bar\") | lastPoint()"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "#FF0000",
            "#00FFFF",
            "#0000FF",
            "#800080",
            "#FFFF00",
            "#FFA500",
            "#A52A2A",
            "#008000"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Color - Green

- **Key:** Major Color

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "majorColor": "#008000"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Color - Based on Last Major Value

- **Key:** Majorcolorusinglastmajorvalue

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "majorColorThresholds": [
      {
        "from": 3201,
        "value": "#00FFFF"
      },
      {
        "to": 3201,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
    "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
    "majorColor": "> majorValue | rangeValue(majorColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Color - Based on Trend Value

- **Key:** Major Color From Trend Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "majorColorThresholds": [
      {
        "from": 389,
        "value": "#00FFFF"
      },
      {
        "to": 389,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "sparklineValues": "> primary | seriesByIndex(0)",
    "majorValue": "> sparklineValues | lastPoint()",
    "trendValue": "> sparklineValues | delta(-2)",
    "majorColor": "> trendValue | rangeValue(majorColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Font Size - 40, Trend Font Size - 30

- **Key:** Custom Font Sizes

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "majorFontSize": 40,
    "trendFontSize": 30
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Value - Based on Foo Field

- **Key:** Majorvaluefoo

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Value and Trend Value - Based on majorValueDisplay

- **Key:** Majorvaluebasedonmajorvaluedisplay

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "byteFormatConfig": {
      "number": {
        "output": "byte",
        "base": "decimal",
        "mantissa": 2
      }
    }
  },
  "options": {
    "trendValue": "> primary | seriesByName(\"ingested_bytes\") | delta(-2)",
    "trendDisplay": "percent",
    "majorValue": "> primary | seriesByName(\"ingested_bytes\") | lastPoint()",
    "majorValueDisplay": "> majorValue | formatByType(byteFormatConfig)"
  },
  "dataSources": {
    "primary": {
      "requestParams": {
        "offset": 0,
        "count": 20
      },
      "data": {
        "columns": [
          [
            "154305299",
            "126949782"
          ]
        ],
        "fields": [
          {
            "name": "ingested_bytes"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Value - Using Sum of Data Series

- **Key:** Major Value Sum

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "majorValue": "> primary | seriesByName(\"count\") | sum()",
    "underLabel": "Total Events",
    "trendDisplay": "off"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "12",
            "115",
            "393",
            "260",
            "584"
          ],
          [
            "2018-05-02T18:10:46.000-07:00",
            "2018-05-02T18:11:47.000-07:00",
            "2018-05-02T18:12:48.000-07:00",
            "2018-05-02T18:13:49.000-07:00",
            "2018-05-02T18:15:50.000-07:00"
          ]
        ],
        "fields": [
          {
            "name": "count"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Major Value - Based on Bar Field

- **Key:** Major Value Bar

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "majorValue": "> primary | seriesByName(\"bar\") | lastPoint()"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "3200"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Number Precision - 2

- **Key:** Precision

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "numberPrecision": 2
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Should Abbreviate Trend Value - False, default

- **Key:** No Trend Unit

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {},
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "13200"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Should Abbreviate Trend Value - True

- **Key:** Trend Unit

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "shouldAbbreviateTrendValue": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "13200"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Should Sparkline Accept Null Data - True, default (Deprecated)

- **Key:** Sparkline Null

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {},
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "2",
            "3",
            "4",
            null,
            "6",
            "7",
            "32"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Should Sparkline Accept Null Data - False (Deprecated)

- **Key:** Sparkline No Null

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "shouldSparklineAcceptNullData": false
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "2",
            "3",
            "4",
            null,
            "6",
            "7",
            "32"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Null Value Display - Gaps (default)

- **Key:** Sparkline Null Value Display Gaps

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineNullValueDisplay": "gaps"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "2",
            "3",
            null,
            null,
            "6",
            "7",
            "8"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Null Value Display - Connect

- **Key:** Sparkline Null Value Display Connect

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineNullValueDisplay": "connect"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "2",
            "3",
            null,
            null,
            "6",
            "7",
            "8"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Null Value Display - Zero

- **Key:** Sparkline Null Value Display Zero

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineNullValueDisplay": "zero"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "2",
            "3",
            null,
            null,
            "6",
            "7",
            "8"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Should Use Thousand Separators - False

- **Key:** No Thousand Separators

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "shouldUseThousandSeparators": false
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True

- **Key:** Sparkline Area Graph

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "showSparklineAreaGraph": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True, Sparkline Area Color - Blue

- **Key:** Fill Color

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineAreaColor": "#0000FF",
    "showSparklineAreaGraph": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True, Sparkline Area Color - Red

- **Key:** Color Data Series Area Graph

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "showSparklineAreaGraph": true,
    "sparklineAreaColor": "#FF0000"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "#FF0000",
            "#00FFFF",
            "#0000FF",
            "#800080",
            "#FFFF00",
            "#FFA500",
            "#A52A2A",
            "#008000"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True, Sparkline Area Color - Based on Major Value

- **Key:** Fill Color Using Major Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "areaColors": [
      {
        "from": 1321,
        "value": "#00FF00"
      },
      {
        "to": 1321,
        "value": "#00FFFF"
      }
    ]
  },
  "options": {
    "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
    "sparklineAreaColor": "> majorValue | rangeValue(areaColors)",
    "showSparklineAreaGraph": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True, Sparkline Area Color - Based on Trend Value

- **Key:** Fill Color Using Trend Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "areaColors": [
      {
        "from": 391,
        "value": "#00FF00"
      },
      {
        "to": 391,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
    "sparklineAreaColor": "> trendValue | rangeValue(areaColors)",
    "showSparklineAreaGraph": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Show Sparkline Area Graph - True, Sparkline Highlight Dots -  4, Sparkline Highlight Segments - 3

- **Key:** Sparkline High Light

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineHighlightSegments": 3,
    "sparklineHighlightDots": 4,
    "showSparklineAreaGraph": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Display - Off

- **Key:** No Sparkline

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineDisplay": "off"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Display - Before

- **Key:** Sparkline Before

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineDisplay": "before"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Display - After, Show Sparkline Tooltip - True

- **Key:** Sparkline After

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineDisplay": "after",
    "showSparklineTooltip": true
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Stroke Color - Red

- **Key:** Stroke Color

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineStrokeColor": "#FF0000"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Stroke Color - Based on Major Value

- **Key:** Stroke Color Using Major Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "strokeColorThresholds": [
      {
        "from": 1321,
        "value": "#00FF00"
      },
      {
        "to": 1321,
        "value": "#00FFFF"
      }
    ]
  },
  "options": {
    "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
    "sparklineStrokeColor": "> majorValue | rangeValue(strokeColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Stroke Color - Based on Trend Value

- **Key:** Stroke Color Using Trend Value

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "strokeColorThresholds": [
      {
        "from": 391,
        "value": "#00FF00"
      },
      {
        "to": 391,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
    "sparklineStrokeColor": "> trendValue | rangeValue(strokeColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Values - Based on Foo Field

- **Key:** Field Foo

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineValues": ">  primary | seriesByName(\"foo\")"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "3200"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Sparkline Values - Based on Bar Field

- **Key:** Field Bar

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineValues": ">  primary | seriesByName(\"bar\")"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "3200"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Color - Red

- **Key:** Trend Color

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "trendColor": "#FF0000"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Color - Based on Custom Thresholds

- **Key:** Custom Trend Color Range

```json
{
  "type": "splunk.singlevalue",
  "context": {
    "trendColorThresholds": [
      {
        "from": 1321,
        "value": "#00FFFF"
      },
      {
        "to": 1321,
        "value": "#FF00FF"
      }
    ]
  },
  "options": {
    "trendValue": "> sparklineValues | delta(-2)",
    "trendColor": "> trendValue | rangeValue(trendColorThresholds)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Display - Off

- **Key:** No Trend Indicator

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "trendDisplay": "off"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Display - Percent

- **Key:** Trend Mode Percent

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "trendDisplay": "percent"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Value - Based on Foo Field

- **Key:** Trendvaluefoo

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Value - Based on Bar Field

- **Key:** Trend Value Bar

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineValues": "> primary | seriesByName(\"bar\")",
    "majorValue": "> sparklineValues | lastPoint()",
    "trendValue": "> sparklineValues | delta(-2)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "3200"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "bar"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trend Value - Based on difference between the first and last data points

- **Key:** Trendvaluecustomcomparator

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "sparklineValues": "> primary | seriesByName(\"foo\")",
    "majorValue": "> sparklineValues | lastPoint()",
    "trendValue": "> sparklineValues | delta(0)"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Under Label - Specified

- **Key:** Under Label

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "underLabel": "Under Label Test"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Under Label - Specified, Under Label Font Size - 30

- **Key:** Underlabelcustomfontsize

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "underLabel": "Under Label Test",
    "underLabelFontSize": 30
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Unit - Specified

- **Key:** Unit After

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "unit": " Total"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Unit - Specified, Unit Position - Before

- **Key:** Unit Before

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "unit": "$",
    "unitPosition": "before"
  },
  "dataSources": {
    "primary": {
      "data": {
        "columns": [
          [
            "1",
            "62",
            "103",
            "308",
            "587",
            "876",
            "930",
            "1320"
          ],
          [
            "2018-08-19T00:00:00.000+00:00",
            "2018-08-20T00:00:00.000+00:00",
            "2018-08-21T00:00:00.000+00:00",
            "2018-08-22T00:00:00.000+00:00",
            "2018-08-23T00:00:00.000+00:00",
            "2018-08-24T00:00:00.000+00:00",
            "2018-08-25T00:00:00.000+00:00",
            "2018-08-26T00:00:00.000+00:00"
          ]
        ],
        "fields": [
          {
            "name": "foo"
          },
          {
            "name": "_time"
          }
        ]
      },
      "meta": {}
    }
  }
}
```

## Trellis

- **Key:** Trellis

```json
{
  "type": "splunk.singlevalue",
  "context": {},
  "options": {
    "splitByLayout": "trellis",
    "trellisSplitBy": "component",
    "trellisColumns": 3,
    "trellis": {
      "minColumnWidth": 400
    }
  },
  "dataSources": {
    "primary": {
      "data": {
        "fields": [
          {
            "name": "component",
            "groupby_rank": "0"
          },
          {
            "name": "foo"
          }
        ],
        "columns": [
          [
            "Database",
            "API",
            "Cache",
            "Queue",
            "Frontend",
            "Backend"
          ],
          [
            "1523",
            "2847",
            "1956",
            "3124",
            "2135",
            "2689"
          ]
        ]
      },
      "meta": {}
    }
  }
}
```
