Wiki源代码5.8.2.2 Line Chart
隐藏最后作者
| author | version | line-number | content |
|---|---|---|---|
| |
16.4 | 1 | ==== **[Usage Scenario]** ==== |
| |
1.1 | 2 | |
| |
16.4 | 3 | A line chart is a commonly used type of chart to display changes over time. It connects data points with lines to show the trend of variables, and is suitable for the following scenarios: |
| |
1.1 | 4 | |
| |
11.1 | 5 | * ((( |
| |
16.4 | 6 | **Time trend analysis:** Line charts are suitable for displaying time series data, such as daily, monthly, or quarterly sales, user visits, or inventory changes, to help users identify long-term trends. |
| |
11.1 | 7 | ))) |
| 8 | * ((( | ||
| |
16.5 | 9 | **Seasonal changes: ** By observing the fluctuations of the line, it is possible to analyze the periodic changes in the data. For example, seasonal fluctuations in sales revenue, changes in user activity during different time periods, etc. |
| |
11.1 | 10 | ))) |
| 11 | * ((( | ||
| |
16.5 | 12 | **Comparison trend: ** Multiple lines can be used to compare the changes in multiple variables. For example, comparing sales trends of different products, or comparing user growth trends in different markets. |
| |
11.1 | 13 | ))) |
| 14 | * ((( | ||
| |
16.5 | 15 | **Abnormal discovery: ** The prominent peaks or valleys in a line chart help identify abnormal situations in the data, such as an abnormal increase in sales or a sudden decrease in user churn in a certain month. |
| |
11.1 | 16 | ))) |
| |
1.1 | 17 | |
| |
13.1 | 18 | ==== ==== |
| |
2.1 | 19 | |
| |
16.6 | 20 | ==== **[Function Introduction]** ==== |
| |
11.1 | 21 | |
| |
16.6 | 22 | A line chart is used to display the changes in data over a continuous time interval or span, and its characteristic is to reflect the trend of things changing over time or ordered categories. |
| |
1.1 | 23 | |
| |
16.8 | 24 | [[image:1740626962720-557.png]] |
| |
3.1 | 25 | |
| |
16.9 | 26 | The composition of a line chart includes: |
| |
1.1 | 27 | |
| |
16.12 | 28 | 1. **Horizontal axis (X-axis): **The horizontal axis in a line graph is the horizontal axis, usually used to display continuous variables such as data classification or time. |
| |
17.2 | 29 | 1. **Vertical axis (Y-axis):** The vertical axis in a line chart is the axis in the vertical direction, usually used to display numerical values or quantities of data. |
| |
16.12 | 30 | 1. **Point: ** Each point represents the data value at a specific position on the horizontal and vertical axes. In a line chart, the line connecting all points can show the trend and change of the data. |
| 31 | 1. **Line:** The lines in a line chart are straight lines formed by connecting data points, representing the trend of data changes. The trend of the lines can intuitively show the growth, decrease, or fluctuation of the data. | ||
| |
1.1 | 32 | |
| |
16.11 | 33 | ((( |
| 34 | |||
| |
1.1 | 35 | |
| 36 | |||
| |
16.11 | 37 | |
| |
1.1 | 38 | ))) |
| 39 | |||
| |
16.13 | 40 | ==== 【Basic Attributes】 ==== |
| |
1.1 | 41 | |
| 42 | |||
| |
16.16 | 43 | |(% style="width:294px" %)**Horizontal axis**|(% style="width:236px" %)**Longitudinal axis**|(% style="width:472px" %)**Search Fields**|(% style="width:275px" %)**Refernce Line**|(% style="width:245px" %)**Filter conditions** |
| 44 | |(% style="width:294px" %)Multiple fields can be configured, but up to 30 fields are allowed|(% style="width:236px" %)Only one field can be configured|(% style="width:472px" %)After configuration, the client can draw a line chart by searching for data that meets the criteria based on different search field values|(% style="width:275px" %)Multiple fields can be configured, but up to 30 fields are allowed|(% style="width:245px" %)Configure the condition values for filtering data sources | ||
| |
1.1 | 45 | |
| |
3.1 | 46 | ====== ====== |
| |
1.1 | 47 | |
| |
16.17 | 48 | ==== **[Configuration steps]** ==== |
| |
3.1 | 49 | |
| |
16.17 | 50 | **Step-1 Select Bar Chart** |
| |
1.1 | 51 | |
| |
16.18 | 52 | [[image:1740640778297-295.png]] |
| |
1.1 | 53 | |
| 54 | |||
| |
16.20 | 55 | **Step-2 Select chart display fields** |
| |
1.1 | 56 | |
| |
16.20 | 57 | Drag and drop the fields from the data source list on the right onto the horizontal axis, vertical axis, search field, and reference line |
| |
1.1 | 58 | |
| |
16.21 | 59 | [[image:1740641005459-993.png]] |
| |
1.1 | 60 | |
| 61 | |||
| |
16.22 | 62 | **Step-3 Style settings** |
| |
1.1 | 63 | |
| |
16.23 | 64 | Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure: |
| |
1.1 | 65 | |
| |
16.23 | 66 | [[image:1740641136822-176.png]] |
| |
1.1 | 67 | |
| 68 | |||
| 69 | |||
| |
16.25 | 70 | ==== **[Style Configuration Description]** ==== |
| |
6.1 | 71 | |
| |
16.26 | 72 | |(% colspan="1" rowspan="1" style="width:76.9844px" %)Classification|(% colspan="1" rowspan="1" style="width:94px" %)Configuration Items|(% colspan="1" rowspan="1" style="width:1272px" %)Purpose |
| |
17.4 | 73 | |(% colspan="1" rowspan="11" style="width:76.9844px" %)((( |
| |
16.26 | 74 | Basic Style |
| |
6.1 | 75 | |
| 76 | |||
| |
16.27 | 77 | )))|(% colspan="1" rowspan="1" style="width:94px" %)Show heading |(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
8.1 | 78 | ((( |
| |
16.26 | 79 | Control whether the chart title in the upper left corner of the canvas is displayed. When closed, the chart title will not be displayed in the report, The words "柱状图1" are shown in the following figure; |
| |
7.1 | 80 | |
| |
16.27 | 81 | [[image:1740645772547-595.png]] |
| |
6.1 | 82 | ))) |
| |
8.1 | 83 | |
| 84 | ((( | ||
| 85 | |||
| 86 | ))) | ||
| 87 | ))) | ||
| |
16.27 | 88 | |(% colspan="1" rowspan="1" style="width:94px" %)Chart title|(% colspan="1" rowspan="1" style="width:1272px" %)You can name the chart yourself |
| |
9.1 | 89 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
16.27 | 90 | Help text |
| |
9.1 | 91 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
16.27 | 92 | Control whether the help copy is displayed in the chart. If enabled, client users can see a "?" icon after the chart title and the corresponding help copy when moving the mouse over the icon; |
| 93 | |||
| 94 | [[image:1740645921975-640.png]] | ||
| 95 | ))) | ||
| 96 | |(% colspan="1" rowspan="1" style="width:94px" %)Help text content|(% colspan="1" rowspan="1" style="width:1272px" %)Enter a description of the chart here to help client users understand the chart data; | ||
| 97 | |(% colspan="1" rowspan="1" style="width:94px" %)Line chart type|(% colspan="1" rowspan="1" style="width:1272px" %)((( | ||
| |
7.1 | 98 | ((( |
| |
19.2 | 99 | Provide 2 types: line and curve |
| |
6.1 | 100 | ))) |
| |
7.1 | 101 | |
| 102 | ((( | ||
| |
6.1 | 103 | |
| 104 | ))) | ||
| 105 | ))) | ||
| |
19.2 | 106 | |(% colspan="1" rowspan="1" style="width:94px" %)Color scheme|(% colspan="1" rowspan="1" style="width:1272px" %)Customize the color scheme of the Y-axis pillar; |
| |
9.1 | 107 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.1 | 108 | Display thumbnail axis |
| |
17.2 | 109 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)Set a thumbnail axis for the horizontal axis, that is, to view the data of a certain interval on the horizontal axis;[[image:1740732178186-806.png]] |
| |
17.3 | 110 | |(% colspan="1" rowspan="1" style="width:94px" %)Display point|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
9.1 | 111 | ((( |
| |
17.3 | 112 | By default, when turned off, each trace point of the line will not be displayed on the chart |
| |
6.1 | 113 | |
| 114 | |||
| |
17.3 | 115 | [[image:1740732311368-570.png]] |
| |
9.1 | 116 | ))) |
| 117 | |||
| 118 | ((( | ||
| |
6.1 | 119 | |
| 120 | ))) | ||
| |
9.1 | 121 | ))) |
| 122 | |(% colspan="1" rowspan="1" style="width:94px" %)((( | ||
| |
17.4 | 123 | Point size |
| |
9.1 | 124 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.4 | 125 | Control the size of the midpoint in the line chart |
| |
7.1 | 126 | |
| |
17.4 | 127 | |
| |
6.1 | 128 | ))) |
| |
9.1 | 129 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.4 | 130 | Display Line |
| |
9.1 | 131 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.4 | 132 | By default, when turned off, the line segments of the line chart disappear and only points are displayed (similar to a scatter plot) |
| |
6.1 | 133 | |
| |
17.4 | 134 | [[image:1740732470025-322.png]] |
| |
6.1 | 135 | ))) |
| |
9.1 | 136 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.4 | 137 | Line thickness |
| |
6.1 | 138 | |
| 139 | |||
| |
17.4 | 140 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)Support users to control the thickness of line segments in polylines |
| |
17.7 | 141 | |(% colspan="1" rowspan="4" style="width:76.9844px" %)((( |
| |
17.5 | 142 | Horizontal axis |
| |
6.1 | 143 | |
| 144 | |||
| |
9.1 | 145 | )))|(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.5 | 146 | Display axis title |
| |
9.1 | 147 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.5 | 148 | After activation, the title of the horizontal data source will be displayed below the horizontal axis in the chart |
| |
9.1 | 149 | |
| |
17.6 | 150 | [[image:1740732719678-598.png]] |
| |
6.1 | 151 | ))) |
| |
9.1 | 152 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.6 | 153 | Axis Title Name |
| 154 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)Support users to customize the desired axis title name and text | ||
| 155 | |(% colspan="1" rowspan="1" style="width:94px" %)Color font size|(% colspan="1" rowspan="1" style="width:1272px" %)Support user-defined color and font size for axis titles | ||
| 156 | |(% colspan="1" rowspan="1" style="width:94px" %)Axis label|(% colspan="1" rowspan="1" style="width:1272px" %)((( | ||
| 157 | Control whether to display axis labels in the chart, as shown in the following figure: | ||
| |
6.1 | 158 | |
| |
17.6 | 159 | [[image:1740732916511-206.png]] |
| |
6.1 | 160 | ))) |
| |
10.1 | 161 | |(% colspan="1" rowspan="4" style="width:76.9844px" %)((( |
| |
17.8 | 162 | Longitudinal axis |
| |
6.1 | 163 | |
| 164 | |||
| |
9.1 | 165 | )))|(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.8 | 166 | Display axis title |
| |
9.1 | 167 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.8 | 168 | After activation, to the left of the vertical axis in the chart, the title of the user configured vertical axis (the first data source) will be displayed |
| |
6.1 | 169 | |
| |
17.8 | 170 | [[image:1740733102756-962.png]] |
| |
10.1 | 171 | |
| |
17.8 | 172 | |
| |
6.1 | 173 | ))) |
| |
17.8 | 174 | |(% colspan="1" rowspan="1" style="width:94px" %)Axis title name|(% colspan="1" rowspan="1" style="width:1272px" %)Custom vertical axis title name copy |
| |
9.1 | 175 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.8 | 176 | Show axis lables |
| |
9.1 | 177 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.8 | 178 | Control whether the Y-axis label is displayed |
| |
10.1 | 179 | |
| |
17.8 | 180 | [[image:1740733325618-128.png]] |
| |
6.1 | 181 | ))) |
| |
17.8 | 182 | |(% colspan="1" rowspan="1" style="width:94px" %)Scale count|(% colspan="1" rowspan="1" style="width:1272px" %)Customize the scale number of the Y-axis (note: the scale number here is an estimated value, and the report engine may change the final rendering scale number according to the actual situation during rendering) |
| |
16.26 | 183 | |(% colspan="1" rowspan="3" style="width:76.9844px" %)((( |
| |
17.9 | 184 | Legend |
| |
9.1 | 185 | )))|(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.9 | 186 | Show legend |
| |
9.1 | 187 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)((( |
| |
17.9 | 188 | By default, it is turned on, and when turned off, the legend will not be displayed |
| |
10.1 | 189 | |
| |
17.11 | 190 | [[image:1740737403837-995.png]] |
| |
6.1 | 191 | ))) |
| |
16.26 | 192 | |(% colspan="1" rowspan="1" style="width:94px" %)((( |
| |
17.11 | 193 | Legend location |
| |
19.1 | 194 | )))|(% colspan="1" rowspan="1" style="width:1272px" %)The legend defaults to the top left corner of the chart and supports displaying the legend in other positions of the chart, such as the top center, bottom left corner, top right corner, bottom center, or bottom right corner |
| |
17.11 | 195 | |(% colspan="1" rowspan="1" style="width:94px" %)Color font size|(% colspan="1" rowspan="1" style="width:1272px" %)Adjust the text color and font size of the legend |