Graph axis settings and data decoding moved to separate class