Delen via


Card

Applies to: ✅Microsoft FabricAzure Data Explorer

In de kaartvisual wordt slechts één element weergegeven. Als de uitvoer meerdere kolommen en rijen bevat, wordt de eerste resultaatrecord behandeld als een set scalaire waarden en wordt deze weergegeven als een kaart.

Note

This visualization can only be used in the context of the render operator.

Syntax

T|rendercard [with(propertyName=propertyValue [, ...])]

Learn more about syntax conventions.

Parameters

Name Type Required Description
T string ✔️ Naam van invoertabel.
propertyName, propertyValue string Een door komma's gescheiden lijst met sleutel-waarde-eigenschapsparen. See supported properties.

Supported properties

Alle eigenschappen zijn optioneel.

PropertyName PropertyValue
title De titel van de visualisatie (van het type string).

Example

Deze query biedt een telling van overstromingsgebeurtenissen in Virginia en geeft het resultaat weer in een kaartindeling.

The examples in this article use publicly available tables in the help cluster, such as the StormEvents table in the Samples database.

The examples in this article use publicly available tables, such as the Weather table in the Weather analytics sample gallery. Mogelijk moet u de tabelnaam in de voorbeeldquery wijzigen zodat deze overeenkomt met de tabel in uw werkruimte.

StormEvents
| where State=="VIRGINIA" and EventType=="Flood"
| count
| render card with (title="Floods in Virginia")

schermopname van kaartvisual.