Imran,
Both Brian and Dan gave you approaches that work well and are simple to implement.
For my part, I always like to complicate things a bit ?:
I have cut chamfers on my spindle using a single blade from my dado set, angled to the desired slope. I was already setup to cut corner splines on a small box so this was an easy task to perform. The piece was sitting on the slider. Proper safety guards in place and the fence on the shaper hood acted as the stop. It worked very well and saved me from having to switch functions on my B3.
Regards,
Jacques