producing chart in stock-details and rendering on model-adds