共用方式為


Card

Applies to: ✅Microsoft FabricAzure Data Explorer

卡片視覺效果只會顯示一個專案。 如果輸出中有多個數據行和數據列,則會將第一個結果記錄視為純量值集,並顯示為卡片。

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 類型 Required Description
T string ✔️ 輸入數據表名稱。
propertyName, propertyValue string 索引鍵/值屬性組的逗號分隔清單。 See supported properties.

Supported properties

所有屬性都是選擇性的。

PropertyName PropertyValue
title 視覺效果的標題(類型 string為 )。

Example

此查詢提供弗吉尼亞州的洪水事件計數,並以卡片格式顯示結果。

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. 您可能需要修改範例查詢中的資料表名稱,以符合工作區中的資料表。

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

卡片視覺效果的螢幕快照。