This is an automated email from the ASF dual-hosted git repository.

zhaoqingran pushed a commit to branch remove-stack
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit 2fd7d6cd4a1bd3f3c766002060453713c6e32cb9
Author: Logic <[email protected]>
AuthorDate: Thu Dec 19 20:35:04 2024 +0800

    refactor(web-app): remove stack property from line charts
    
    - Removed the 'stack: 'Total'' property from multiple line chart 
configurations
    - This change improves the visual representation of data by removing 
stacked areas
---
 .../routes/monitor/monitor-data-chart/monitor-data-chart.component.ts | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.ts
 
b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.ts
index 2c8fd5ee2..920c2bf55 100644
--- 
a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.ts
+++ 
b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.ts
@@ -273,7 +273,6 @@ export class MonitorDataChartComponent implements OnInit {
                 this.lineHistoryTheme.series.push({
                   name: key,
                   type: 'line',
-                  stack: 'Total',
                   smooth: true,
                   showSymbol: false,
                   areaStyle: {},
@@ -314,7 +313,6 @@ export class MonitorDataChartComponent implements OnInit {
                 type: 'line',
                 smooth: true,
                 showSymbol: false,
-                stack: 'Total',
                 areaStyle: {},
                 emphasis: {
                   focus: 'series'
@@ -326,7 +324,6 @@ export class MonitorDataChartComponent implements OnInit {
                 type: 'line',
                 smooth: true,
                 showSymbol: false,
-                stack: 'Total',
                 areaStyle: {},
                 emphasis: {
                   focus: 'series'
@@ -338,7 +335,6 @@ export class MonitorDataChartComponent implements OnInit {
                 type: 'line',
                 smooth: true,
                 showSymbol: false,
-                stack: 'Total',
                 areaStyle: {},
                 emphasis: {
                   focus: 'series'


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to