@Override
public void createPartControl(Composite parent) {
this.parent = parent;
chart = new TimeSeriesChart(parent, SWT.NONE);
chart.setSeriesRenderer(new OHLCSeriesRenderer(new CandlestickRenderer()));
getSite().getPage().addSelectionListener(this);
createActions();
createContextMenu();
if (getViewSite().getId().equals(MULTI_STOCK_DB_VIEW_ID)) {
setupFromSecondaryId(getViewSite().getSecondaryId());