Line chart data (includes multi-line charts)
Data formats accepted: JSON, CSV, TSV, Firebase
CSV/TSV
Line chart datasets require a column with timestamps and columns with linear data that related to those timestamps. At least one column with timestamp data and one column with linear data is required. Each linear column will be represented with a line.
JSON
JSON datasets are required to be an array of objects where the data in each object is represented with at least two key-value pairs. There must be at least one key-value pair with timestamp data and one key-value pair with linear data. Each linear key-value pair will be represented with a line.
Firebase
Firebase datasets follow the same formatting rules as JSON data (see above). You must pass in the url of your Firebase database into the uploadFirebase
method to use Firebase as your data source. See uploadFirebase.