Interface: WideData
A single data row in wide format.
In wide format, the date field is the row key and all other keys are bar name / value pairs.
Note: wide data does not allow the use of optional fields (group, icon).
Example
const data: WideData[] = [
{ date: '2017-01-01', Canada: 36.54, Egypt: 96.44, Greece: 10.75 },
{ date: '2018-01-01', Canada: 37.06, Egypt: 98.42, Greece: 10.73 },
];
See
https://racing-bars.hatemhosny.dev/documentation/data
Indexable
[key: string]: any
Properties
date
date:
string
A string representation of a valid date (preferably 'YYYY-MM-DD' format).