Using a food processor or chopper, mince the cranberries, oranges, and pineapple. Note this can get liquidy if you’re using a hand grinder, so put something underneath it to catch the juices.
Transfer them to a mixing bowl.
Add the sugar, mixing thoroughly. You may find you want more sugar, so add it now.
Let the relish sit in the refrigerator overnight before using it.