class CountryAxisGenerator implements AxisGenerator {

    @Override
    public String[] getValuePoints(Functionality functionality) {
        if (StringUtils.isEmpty(functionality.getCountryCodes())) {
            return null;
        }
        return functionality.getCountryCodes().split(Functionality.COUNTRY_CODES_SEPARATOR);
    }

}