Technically speaking a two members stack (backplane/frontplane, it doesn't matter) can't be deployed with a ring interconnection topology...but you could "see" the chain interconnection topology as a sort of a ring (even if it isn't really a ring).
With three members, when you reconnect back the third member with the first one...you are going to create - de facto - a ring.
In both case (backplane/frontplane stacking) plan to use more than one physical member for the logical interconnection ports to enhance inter-switch resiliency and bandwidth (this translates into frontplane VSF port made with more than one physical member interface and with backplane stacking deployed using a pair of stacking cables between your two switches).