Unable to display "%" as the last character in tooltip using "SetTooltipLabelFormat"
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
e.g.:
plot->SetTooltipLabelFormat("%l: %x, %y%")
In the above case, the % character at the end of the format string is not displayed as when it is readed, it is considered escape char. On the other hand, since this is the last char, it didn't get a chance to be added back to the output string.
Proposed fix:
Add
if (escapeNext) tooltipLabel += "%"
before
return tooltipLabel;
inside vtkPlot::GetTooltipLabel(...)