Fixed rendering of stock charts with jpgraph