Add index to tooltip name format function
Make nameFormat arguments the same as valueFormat
Merge pull request #589 from chris-vaszauskas/master

More configurable tooltip name function