Fixed #2900 causing legend not to resize following pie slice renaming.
Added git ignore