GraphDefinition

GraphDefinition
GraphDefinition

Defines a graph

JSON Example
{
    "id": "string",
    "label": {
        "condition": "string",
        "hover": false,
        "icons": [
            {
                "color": "string",
                "placement": "string",
                "size": "number",
                "size_unit": "string",
                "tooltip": [
                    {
                        "condition": "string",
                        "heading": false,
                        "text": "string"
                    }
                ],
                "type": "string"
            }
        ],
        "navigation": "string",
        "text": "string"
    },
    "point_definition": {
        "drilldown_id": "string",
        "field": "string",
        "navigation": "string",
        "tooltip": [
            {
                "condition": "string",
                "heading": false,
                "text": "string"
            }
        ],
        "x_value": "string",
        "y_value": "string"
    },
    "render_configuration": [
        {
            "color": "string",
            "condition": "string",
            "display_value": "string",
            "icons": [
                {
                    "color": "string",
                    "placement": "string",
                    "size": "number",
                    "size_unit": "string",
                    "tooltip": [
                        {
                            "condition": "string",
                            "heading": false,
                            "text": "string"
                        }
                    ],
                    "type": "string"
                }
            ],
            "tooltip": [
                {
                    "condition": "string",
                    "heading": false,
                    "text": "string"
                }
            ]
        }
    ],
    "row_list_field": "string"
}
string
id
Optional

Identifier of graph. It can be used to differentiate multiple graph series present in GraphWidgetConfiguration.

label
Optional

Label that will be displayed for a UI element.

point_definition
Required

Defines the point of a graph.

render_configuration
Optional
Constraints: minItems: 0

Additional rendering or conditional evaluation of the field values to be performed, if any.

string
row_list_field
Optional

An expression that represents the series of the graph