If false, does not add presets with icons defined to the legend. See fixPreset for adding icons.
bool iconsInLegend = true;