API Reference
Namespaces
Classes
Events
Global
Externals

Class: DataLoader

CIQ. DataLoader


new DataLoader()

Loads static data from uploaded files into the chart for easier consumption.

Since:
  • 8.4.0

Methods


DataLoader#formatData(dataObj, dataOptions)

Formats data into OHLC format readable by the CIQ.ChartEngine

Parameters:
Name Type Description
dataObj CIQ.CSVReader

CIQ.CSVReader which contains the parsed data

dataOptions FormData

FormData options that get the name of the imported data


DataLoader#importData(dataObj)

Imports data from a CIQ.CSVReader and loads it into the chart based on FormData parameters.

Parameters:
Name Type Description
dataObj CIQ.CSVReader

CIQ.CSVReader that contains parsed data