All Products
Search
Document Center

DataV:FAQ

Last Updated:May 10, 2023

This topic provides answers to frequently asked questions when you configure a polyline widget.

How do I configure multiple series?

  • If the data contains s fields, different s field values are different series (multiple polylines). 多系列s字段样式

    Note

    Styles in configuration items are rendered in the order of the data by default. That is, if the data of the first appearance is series 2, the data of this series will be rendered in the style of the first series in the configuration items. If the series expects a specific ordering, it is recommended to use a filter to sort the data in advance to achieve the desired rendering effect.

    • You can use data series configuration items to set different style properties for multiple series. 配置系列属性系列二面板

    • When the number of data series is greater than the number of series in the configuration items, the series in the configuration items are looped to render the data.

      In the following figure, Series 3 uses the configuration style of Series 1. 系列3面板

      In the following figure, series 2 is the first data, so it is rendered in the style of the first series in the configuration items. 系列2渲染面板

  • If the data does not contain s fields, all data is a series by default, that is, the data series configuration items only needs to configure the style attribute of one series (the first one takes effect when there are multiple series configuration items). 当没有s字段面板当没有S字段配置

What is the relationship between series names and s fields in the data?

The configuration items Data Series is configured with a series style, and the Series Name determines the display text of the legend. You can customize the Series Name. When the Series Name is empty, the system searches for the value of the corresponding s field in the data. If the s exists, the value of the s field is used. Otherwise, the value is empty. 系列名与数据s字段关系1系列名与数据s字段关系2系列名与数据s字段关系3