diff --git a/php/classes/AmdaAction.php b/php/classes/AmdaAction.php
index e064f15..8f40bf4 100644
--- a/php/classes/AmdaAction.php
+++ b/php/classes/AmdaAction.php
@@ -272,7 +272,7 @@ class AmdaAction {
                                     $isSpectra = true; 
                                     $isScatter = false;
                                }
-                               else if ($child->getAttribute('display_type') == 'stack') {                                    
+                               else if ($child->getAttribute('display_type') == 'stackplot') {                                    
                                      $isStack = true;
                                      $isScatter = false;
                                }
--
libgit2 0.21.2