No primary series with a quote feed

Sample of how to render a chart with no primary series using a quote feed. Each series has it's own y axis

by ChartIQ Library

HTML

<link rel="stylesheet" type="text/css" href="https://jsfiddle.chartiq.com/chart/css/stx-chart.css" media="screen" />

<div class="chartContainer" style="width:600px;height:400px;position:relative;"></div>

JavaScript

import { CIQ } from "https://jsfiddle.chartiq.com/chart/js/advanced.js";
import quoteFeedSimulator from "https://jsfiddle.chartiq.com/chart/examples/feeds/quoteFeedSimulator.js";

// Activate the License Key
import getLicenseKey from "https://jsfiddle.chartiq.com/chart/key.js";
getLicenseKey(CIQ);

// start the chart engine
const stxx = new CIQ.ChartEngine({
  container: document.querySelector(".chartContainer")
});

// there will be no primary series so hide its axis
stxx.setYAxisPosition(stxx.chart.yAxis,"none"); 

// see spacial changes below required on update and pagination calls
// when there will be no primary series.
stxx.attachQuoteFeed(quoteFeedSimulator, {
  refreshInterval: 3
});

// render a chart with no primary series:
// 1- set an empty symbol
// 2- set an empty data array
stxx.loadChart(" ", [], function() {

  stxx.addSeries("^AEDAFN", {
    color: "green",
    yAxis:{position:"right"} // give the series its own y-axis
  });

  stxx.addSeries("^AEDAFR", {
    color: "red",
    yAxis:{position:"right"} // give the series its own y-axis
  });

  stxx.addSeries("^AEDAFQ", {
    color: "blue",
    yAxis:{position:"right"} // give the series its own y-axis
  });
});

/***************************************************************************/
/*********** Here is a modification of the quoteFeedSimulator  *************/
/*********** to allow for a chart with no primary series.  *****************/
/*********** Make sure updates or pagination requests for the **************/
/*********** empty symbol (" ") never return any data to guarantee *********/
/*********** nothing displays for the primary series ***********************/
/***************************************************************************/
quoteFeedSimulator.fetchUpdateData = function(symbol, startDate, params, cb) {
  if(symbol == " ") { // !!! force no data for primary series
    cb({
      quotes: [] // always return an empty array on the callback
    });
    return;
  }
  const...