Remove debbug code that came from merging the new chart.
Making the new chart work with the elevation Dialog