Combine all beans with onion, bacon, brown sugar, and chili sauce.
Place mixture in greased casserole dish and bake at 350° F for 30 to 45 minutes.