set the num categories field for the series record .
144. SCLRecord rec = new SCLRecord(); 146. rec.field_1_numerator = field_1_numerator; 147. rec.field_2_denominator = field_2_denominator;