initialize history chart