Edit in JSFiddle

var stxx = new CIQ.ChartEngine({
  container: $$$(".chartContainer")
});

stxx.chart.legend = {
  x: 400,
  y: 20
};

stxx.loadChart("SPY", sampleData, function() {
  // use the loadChart callback to ensure the chart is loaded before trying to load the series.
  // add a series using data already in the master Data array
  stxx.addSeries("High", {
    color: "blue",
    loadData: false,
    shareYAxis: true
  });
});

stxx.draw();
<div class="chartContainer" style="width:600px;height:400px;position:relative;"></div>

<script src="https://jsfiddle.chartiq.com/chart/js/chartiq.js"></script>
<script src="https://jsfiddle.chartiq.com/chart/examples/data/STX_SAMPLE_DAILY.js"></script>