How come I have polycystic ovarian disease, but nobody else in the family has it?

Not genetic. Pcos is not a genetic disorder. It can occur in any woman, but is most often seen in overweight women. But, certainly not all overweight women develop pcos.
Not direct inherited. Although having a family member with pcos or type 2 diabetes increases the risk of getting pcos, it is not directly inherited.