add the factoty_pattern_chart