Step Line
A step line chart can show the change of irregular and stepped jump values, and the change is not linear and coherent. This topic describes the configuration items of the step line component.
![Click to enlarge](https://support.huaweicloud.com/intl/en-us/usermanual-dlv/en-us_image_0000001088557671.png)
Pattern
- Size/Position
- Size: width and height of the component. Unit: pixel.
- Position: position where the component is located in the canvas. Unit: pixel.
- Global Style
- Font: font of the text.
- Step Type: position of a data point on the step line.
- Margin
- Top: spacing between the top sides of the chart and the component layer. You can enter a value or click
to adjust the spacing.
- Bottom: spacing between the bottom sides of the chart and the component. You can enter a value or click
to adjust the spacing.
- Left: spacing between the left sides of the chart and the component. You can enter a value or click
to adjust the spacing.
- Right: spacing between the right sides of the chart and the component. You can enter a value or click
to adjust the spacing.
- Top: spacing between the top sides of the chart and the component layer. You can enter a value or click
- X Axis: to show or hide the X axis. When this option is selected, you can set the X axis style.
- Font Size: font size of the axis label text.
- Color: font color of the axis label text.
- Font Width: font width of the axis label text.
- Angle: tilt angle of the axis label text.
- Coordinate Axis: to show or hide the axis.
- Color: color of the axis.
- Grid Line: to show or hide the grid lines.
- Color: color of the axis.
Figure 2 X axis - Y Axis: to show or hide the Y axis. When this option is selected, you can set the Y axis style.
The configuration items of the Y axis are similar to those of the X axis. For details, see X Axis.
- Legend: to show or hide the legend. When this option is selected, you can set the legend style.
- Text: text style of the legend, including Font Size, Color, and Font Width.
- Layout: position where the legend is located in the component.
Figure 3 Legend - Message: to show or hide the prompt information. After this function is enabled, a message is displayed when you mouse over or click on the screen during the screen preview.
- Triggering Type: type of the prompt message.
- Color: font color of the message.
- Font Size: font size of the message.
- Font Width: font width of the message.
Figure 4 Message - Animation
- Click
or
next to Animation to hide or show animation, respectively.
- Duration: duration of the first rendering of the component, in ms.
- Animation Effect: The system provides multiple common animation slow-moving effects.
- Animate in Order: If this option is selected, the series are animated in sequence. If this option is deselected, all series are animated at the same time.
- Duration After Change: animation duration when the component data is updated, in ms.
- Start from Previous Position: If this option is selected, the animation is played from the position of the previous data when the component data is updated. If this option is deselected, the animation is played from the initial position when the component data is updated.
Figure 5 Animation (line chart) - Click
Data
- Data Source Type: to select the data source of the chart. Multiple data sources are provided for you to select. You need to add data sources first. For details, see Data Connection Overview.
- Converter: Select a converter to convert data into the data that meets the display requirements. For details, see Using a Converter.
- Data Mapping: The data format of the line step consists of the following fields:
- x: category, corresponding to the X axis.
- y: data, corresponding to the Y axis.
- s: series. You can set a value of the s field to a series. You can add multiple series. The value of each series can be mapped to different Y coordinates.
Click
on the right of s to add a series. To delete an added series, click
on the right of the series.
Add a series as follows:
- Series Value: Enter a value of the s field. If the series value is empty, the value of the corresponding s field is used by default.
- Series Name: self-definable. If the series name is empty, the series value is used as the series name by default.
- Shape: shape of the points on the line.
- Color: color of the axis.
- Width: line width of the line.
- Opaque: opacity of the area covered by the broken line. A larger value indicates lower transparency.
- Value Tag: to show or hide the value tag. After selecting this option, you can set the font size, color, font width, and position of the value tag.
- Automatic Update: If you select Automatic Update and set Update Interval, the data is automatically updated based on the interval.
- Preview Result: Click Preview Result to view the information about the selected data source. You can click Update Query to manually update the component data when the data source changes.
![Click to enlarge](https://support.huaweicloud.com/intl/en-us/usermanual-dlv/en-us_image_0000001088871521.png)
Interaction
For details about whether the component supports the interaction function and how to use the interaction function, see Configuring Component Interaction.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot