{ "additionalProperties": false, "description": "Represents an entity or portion to be plotted on a donut or stats chart.", "id": "DonutPart", "module_id": "NsxDashboard", "nsx_feature": "NsxDashboardWidgetConfig", "properties": { "condition": { "description": "If the condition is met then the part will be displayed. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.", "title": "Expression for evaluating condition", "type": "string" }, "drilldown_id": { "description": "Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.", "title": "Id of drilldown widget", "type": "string" }, "field": { "description": "A numerical value that represents the portion or entity of the donut or stats chart.", "maxLength": 1024, "required": true, "title": "Value of the portion or entity of donut or stats chart", "type": "string" }, "hide_empty_legend": { "default": false, "description": "If true, legend will be shown only if the data for the part is available. This is applicable only if legends are specified in widget configuration.", "title": "Hide the legend if the data for the part is not available", "type": "boolean" }, "label": { "$ref": "Label, "description": "If a section 'template' holds this donut or stats part, then the label is auto-generated from the fetched field values after applying the template.", "title": "Label of the portion or entity of donut or stats chart" }, "navigation": { "description": "Hyperlink of the specified UI page that provides details. If drilldown_id is provided, then navigation cannot be used.", "title": "Navigation to a specified UI page", "type": "string" }, "render_configuration": { "description": "Additional rendering or conditional evaluation of the field values to be performed, if any.", "items": { "$ref": "RenderConfiguration }, "minItems": 0, "title": "Render Configuration", "type": "array" }, "tooltip": { "description": "Multi-line text to be shown on tooltip while hovering over the portion.", "items": { "$ref": "Tooltip }, "minItems": 0, "title": "Multi-line tooltip", "type": "array" } }, "title": "Portion of a donut or stats chart", "type": "object" }