Chi2/ndf higher than 1

Hi! It seems there is a inconsistency between the fit a see in my histogram and the parameters I get from the fitting.

Using ->GetChisquare() and ->GetNDF() I get values of chi2/ndf that are very high, but graphically the fits are good so the value should be closer to 1, why can this be?

Attached you can find two examples of this problem.


Thank you very much

Attach a ROOT file with your histogram for inspection.

I’ve edited the post with the histograms now,

Thank you.