Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.9 KiB
Markdown
Raw Normal View History

---
2025-08-12 13:29:42 +05:30
title: lineChart
slug: /main-concepts/metadata-standard/schemas/datainsight/custom/linechart
---
# LineChart
*Line Chart*
## Properties
2025-08-12 13:29:42 +05:30
- **`type`** *(string)*: Type of the data insight chart. Must be one of: `['LineChart']`. Default: `LineChart`.
- **`metrics`** *(array)*: Metrics for the data insight chart.
2025-08-12 13:29:42 +05:30
- **Items**: Refer to *#/definitions/metrics*.
- **`groupBy`** *(string)*: Breakdown field for the data insight chart.
- **`includeGroups`** *(array)*: List of groups to be included in the data insight chart when groupBy is specified.
- **Items** *(string)*
- **`excludeGroups`** *(array)*: List of groups to be excluded in the data insight chart when groupBy is specified.
- **Items** *(string)*
- **`xAxisLabel`** *(string)*: X-axis label for the data insight chart.
- **`yAxisLabel`** *(string)*: Y-axis label for the data insight chart.
2025-08-12 13:29:42 +05:30
- **`kpiDetails`**: Refer to *dataInsightCustomChart.json#/definitions/kpiDetails*.
- **`xAxisField`** *(string)*: X-axis field for the data insight chart. Default: `@timestamp`.
- **`includeXAxisFiled`** *(string)*: Regex to include fields in the data insight chart when xAxisField is specified.
- **`excludeXAxisField`** *(string)*: Regex to exclude fields from the data insight chart when xAxisField is specified.
- **`searchIndex`** *(string)*: Search index for the data insight chart.
## Definitions
- **`metrics`** *(object)*
- **`name`** *(string)*: Name of the metric for the data insight chart.
2025-08-12 13:29:42 +05:30
- **`function`**: Refer to *dataInsightCustomChart.json#/definitions/function*.
- **`field`** *(string)*: Filter field for the data insight chart.
- **`filter`** *(string)*: Filter value for the data insight chart.
- **`treeFilter`** *(string)*: Tree filter value for the data insight chart. Needed for UI to recreate advance filter tree.
- **`formula`** *(string)*: Formula for the data insight chart calculation.
2025-08-12 13:29:42 +05:30
Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.