override of getHashCode in PlotElement

Apr 15, 2014 at 7:42 AM
Hi,

what is the reason for overriding GetHashCode in PlotElement?
In my opinion this is really risky cause it is now no more possible to compare, i.e. axes or hold dictionarys of axes.

Best regards

Benjamin
Coordinator
Apr 16, 2014 at 7:51 AM
PlotElement.GetHashCode is used by the HeatMapSeries to check whether the ColorAxis has changed.
Since this is a reference type I guess you have a point, we can change the implementation of HeatMapSeries and revert to the default GetHashCode in PlotElement.
Coordinator
Apr 16, 2014 at 8:13 AM
change committed