encapsulate stock chart.