You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried using an object with v.1.3.1 and it doesn't render anything when passed as data to the CalendarHeatmap function.
// Provide dates as an object.// The key is the date, the value is event count. Make sure the date has this format: `YYYY-MM-DD`vardata={"2017-09-23": 2, ...}
In order to render a graph, the only thing that works is to use an array of objects.
// Provide dates as an array of objects.// Provide the keys `count` and date. Make sure, each date provided is unique for that day.vardata=[{count: 2,date: "2017-09-23"}, ...]
The text was updated successfully, but these errors were encountered:
I've tried using an object with v.1.3.1 and it doesn't render anything when passed as data to the CalendarHeatmap function.
In order to render a graph, the only thing that works is to use an array of objects.
The text was updated successfully, but these errors were encountered: