code: def fixed_legend_filter_field(self, fixed_legend_filter_field):
          
          allowed_values = ["CURRENT", "MEAN", "MEDIAN", "SUM", "MIN", "MAX", "COUNT"]  # noqa: E501
          if fixed_legend_filter_field not in allowed_values:
              raise ValueError(
                  "Invalid value for `fixed_legend_filter_field` ({0}), must be one of {1}"  # noqa: E501
                  .format(fixed_legend_filter_field, allowed_values)
              )
  
          self._fixed_legend_filter_field = fixed_legend_filter_field
docs: Sets the fixed_legend_filter_field of this ChartSettings.
  
          Statistic to use for determining whether a series is displayed on the fixed legend  # noqa: E501
  
          :param fixed_legend_filter_field: The fixed_legend_filter_field of this ChartSettings.  # noqa: E501
          :type: str