Usually in the textbook in colleger, the formula is PB=1/Gain.
However, in the real world, many vendors are using their own equation and their own standard. So be careful when you are change this value, refer to vendor documentation and key in the proper value either in percentage or any other...
Some of DCS have the built-in capability to show its logic on operation screen. Rather than creating the new graphic solely for logic display purposes, it is maybe simpler to just provide the link from the main graphic to this built-in display.