fix bug of not showing some constline labels when data comes from direct json and constline contains multiple items

refine the way constline/constband is plotted