Here is the straight view. Moment arm is 7" long torque avaliable at 1500 psi = 1675 ft-lbs in retract direction and 2800 ft-lbs in extend.

Full 45 degree retracted. Moment arm is 4.35". Torque is 1041 in-lbs.

Full 45 degree Extended. Monent arm is 5.42". Torque is 2128 ft-fbs.

Look at the dimensions on the first pic. This is a 10" cylinder from surplus center with ball joints. It has a retracted length of 17.5". Item# 9-7259-10.
The connection points are 7" off of center line and 22-5/8 apart. If you use a longer cylinder it will need to be moved further from the center line. If it's going to pivot, I don't know how you would do it without a ball joint cylinder. Obvioulsy if the cylinder you get has a different collapsed length you will need to adjust the straight line distance accordingly.
Sometimes it is better to go ahead and get what you need at more cost than to compromise and have to fight it for the life of the machine.