Skip to content

Commit 51a178c

Browse files
authored
sorting incoming data
1 parent 322c380 commit 51a178c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chart.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ const spec = {
6060
{
6161
"name": "papersYear",
6262
"format": {"type": "tsv", "parse": {"count":"number", "year": "date"}},
63-
"url": "https://raw.githubusercontent.com/repmax/launchpad/master/steam.tsv"
63+
"url": "https://raw.githubusercontent.com/repmax/launchpad/master/steam.tsv",
64+
"transform": [
65+
{ "type": "collect", "sort": {"field": ["tid", "year"]}
66+
}
67+
]
6468
},
6569
{
6670
"name": "refPapersYear",

0 commit comments

Comments
 (0)