File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -126,16 +126,22 @@ export function useFacetSelection(queryParam = 'facets') {
126126 label : t ( `compare.facets.items.github_stars.label` ) ,
127127 description : t ( `compare.facets.items.github_stars.description` ) ,
128128 chartable : true ,
129+ chartable_scatter : true ,
130+ formatter : v => compactNumberFormatter . value . format ( v ) ,
129131 } ,
130132 githubIssues : {
131133 label : t ( `compare.facets.items.github_issues.label` ) ,
132134 description : t ( `compare.facets.items.github_issues.description` ) ,
133135 chartable : true ,
136+ chartable_scatter : true ,
137+ formatter : v => compactNumberFormatter . value . format ( v ) ,
134138 } ,
135139 createdAt : {
136140 label : t ( `compare.facets.items.created_at.label` ) ,
137141 description : t ( `compare.facets.items.created_at.description` ) ,
138142 chartable : false ,
143+ chartable_scatter : false ,
144+ formatter : v => new Date ( v ) . toLocaleDateString ( ) ,
139145 } ,
140146 } ) ,
141147 )
You can’t perform that action at this time.
0 commit comments