diff --git a/system/modules/generalDriver/DcGeneral/DataDefinition/Palette/Legend.php b/system/modules/generalDriver/DcGeneral/DataDefinition/Palette/Legend.php
index <HASH>..<HASH> 100644
--- a/system/modules/generalDriver/DcGeneral/DataDefinition/Palette/Legend.php
+++ b/system/modules/generalDriver/DcGeneral/DataDefinition/Palette/Legend.php
@@ -145,9 +145,9 @@ class Legend implements LegendInterface
 
 			foreach ($this->properties as $property)
 			{
-				$condition = $property->getCondition();
+				$condition = $property->getVisibleCondition();
 
-				if (!$condition || $condition->isVisible($model, $input))
+				if (!$condition || $condition->match($model, $input))
 				{
 					$selectedProperties[] = $property;
 				}
Fix visible check of properties in legend.