private function applyField(array &$config, array $action, $skipLegends = false)
{
if (self::POSITION_PREPEND === $action['position'] || self::POSITION_APPEND === $action['position']) {
$this->applyFieldToLegend($config, $action, $skipLegends);
} else {
$this->applyFieldToField($config, $action, $skipLegends);
}
}