private function convertAttribute(array $property, $condition, array &$legend)
    {
        if (!isset($property['col_name'])) {
            return;
        }
        $legend['properties'][] = [
            'name'       => $property['col_name'],
            'condition' => $condition($property)
        ];
    }