docs: public static GridLabelFormat fromConfig(final GridParam param) {
          if (param.labelFormat != null) {
              return new GridLabelFormat.Simple(param.labelFormat);
          } else if (param.valueFormat != null) {
              return new GridLabelFormat.Detailed(
                      param.valueFormat, param.unitFormat,
                      param.formatDecimalSeparator, param.formatGroupingSeparator);
          }
          return null;
      }