code: function convert(item, model) {
    const result = { color: item.colors };
    result.shape = model.legendShapes[item.shapes];
    return result;
  }
docs: ---------------------------------------------------------------------------- Global ----------------------------------------------------------------------------