<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sparkline_value_color_map_apply_to(self, sparkline_value_color_map_apply_to):
 """Sets the sparkline_value_color_map_apply_to of this ChartSettings. For the single stat view, whether to apply dynamic color settings to the displayed TEXT or BACKGROUND # noqa: E501 :param sparkline_value_color_map_apply_to: The sparkline_value_color_map_apply_to of this ChartSettings. # noqa: E501 :type: str """

        allowed_values = ["TEXT", "BACKGROUND"]  # noqa: E501
        if sparkline_value_color_map_apply_to not in allowed_values:
            raise ValueError(
                "Invalid value for `sparkline_value_color_map_apply_to` ({0}), must be one of {1}"  # noqa: E501
                .format(sparkline_value_color_map_apply_to, allowed_values)
            )

        self._sparkline_value_color_map_apply_to = sparkline_value_color_map_apply_to