NSX-T Data Center REST API

DonutPart (schema)

Portion of a donut or stats chart

Represents an entity or portion to be plotted on a donut or stats chart.

Name Description Type Notes
condition Expression for evaluating condition

If the condition is met then the part will be displayed. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.
string
drilldown_id Id of drilldown widget

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.
string
field Value of the portion or entity of donut or stats chart

A numerical value that represents the portion or entity of the donut or stats chart.
string Required
Maximum length: 1024
hide_empty_legend Hide the legend if the data for the part is not available

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.
boolean Default: "False"
label Label of the portion or entity of donut or stats chart

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.
Label
navigation Navigation to a specified UI page

Hyperlink of the specified UI page that provides details. If drilldown_id is provided, then navigation cannot be used.
string
render_configuration Render Configuration

Additional rendering or conditional evaluation of the field values to be performed, if any.
array of RenderConfiguration Minimum items: 0
tooltip Multi-line tooltip

Multi-line text to be shown on tooltip while hovering over the portion.
array of Tooltip Minimum items: 0