Robust Faber–Schauder approximation based on discrete observations of an antiderivative