g.raphael icon indicating copy to clipboard operation
g.raphael copied to clipboard

Copy values array before using it.

Open jwykeham opened this issue 14 years ago • 2 comments

added values = values.slice(0) to copy the values array locally in order to prevent an issue reusing an array after using it to create a pie chart.

jwykeham avatar Aug 30 '11 15:08 jwykeham

+1

Aymkdn avatar Aug 29 '12 16:08 Aymkdn

+1 - just cost me 2 hours debugging.

jamestomasino avatar May 25 '13 03:05 jamestomasino