文本可视化效果Text visualizations

工作簿允许作者在其工作簿中包含文本块。Workbooks allow authors to include text blocks in their workbooks. 文本可以是遥测数据的人工分析、用于帮助用户解释数据的信息、部分标题,等等。The text can be human analysis of telemetry, information to help users interpret your data, section headings, etc.

Apdex 文本表的屏幕截图Screenshot of Apdex table of text

文本是通过 Markdown 控件添加的,该控件提供全面的格式控制。Text is added through a Markdown control, which provides full formatting control. 其中包括不同的标题和字体样式、超链接、表等。These include different heading and font styles, hyperlinks, tables, etc.

编辑模式:Edit Mode:

处于编辑模式的文本步骤的屏幕截图。

预览模式:Preview Mode:

“预览”选项卡上处于编辑模式的文本步骤的屏幕截图。

添加文本控件Add a text control

  1. 单击“编辑”工具栏项,将工作簿切换到编辑模式。Switch the workbook to edit mode by clicking on the Edit toolbar item.
  2. 使用“添加文本”链接将一个文本控件添加到工作簿。Use the Add text link to add a text control to the workbook.
  3. 在编辑器字段中添加 Markdown。Add Markdown in the editor field.
  4. 使用“文本样式”选项可在纯 markdown 与使用 Azure 门户的标准 info/warning/success/error 样式包装的 markdown 之间切换。Use the Text Style option to switch between plain markdown and markdown wrapped with the Azure portal's standard info/warning/success/error styling.
  5. 使用“预览”选项卡可查看内容的外观。Use the Preview tab to see how your content will look. 编辑时,预览将在滚动条区域内显示内容以限制其大小;但在运行时,markdown 内容将扩展以填充所需的任何空间,无滚动条。While editing, the preview will show the content inside a scrollbar area to limit its size; however, at runtime the markdown content will expand to fill whatever space it needs, with no scrollbars.
  6. 选择“完成编辑”按钮,完成编辑步骤。Select the Done Editing button to complete editing the step.

提示

使用此 Markdown 速查表了解不同的格式设置选项。Use this Markdown cheat sheet to learn about different formatting options.

文本样式Text styles

以下文本样式可用于文本步骤:The following text styles are available for text step:

StyleStyle 说明Explanation
plain 不应用额外的格式设置。No additional formatting is applied.
info 门户的“info”样式,具有 或类似图标,一般为蓝色背景。The portal's "info" style, with a or similar icon and generally blue background.
error 门户的“error”样式,具有 或类似图标,一般为红色背景。The portal's "error" style, with a or similar icon and generally red background.
success 门户的“success”样式,具有 或类似图标,一般为绿色背景。The portal's "success" style, with a or similar icon and generally green background.
upsell 门户的“upsell”样式,具有 🚀 或类似图标,一般为紫色背景。The portal's "upsell" style, with a 🚀 or similar icon and generally purple background.
warning 门户的“warning”样式,具有 或类似图标,一般为蓝色背景。The portal's "warning" style, with a or similar icon and generally blue background.

除了选择特定样式,你还可选择文本参数作为样式源。Instead of picking a specific style, you may also choose a text parameter as the source of the style. 参数值必须是上述文本值之一。The parameter value must be one of the above text values. 缺少值的情况或任何无法识别的值都将被视为 plain 样式。The absence of a value or any unrecognized value will be treated as plain style.

info 样式示例:Info style example:

info 样式外观的屏幕截图。

warning 样式示例:Warning style example:

warning 样式外观的屏幕截图。

后续步骤Next steps