Fixed a bug in charts

- filtering had a bug for altitude as X-Axis