diff --git a/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st b/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st index c72c69d..f44c3c6 100644 --- a/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st +++ b/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st @@ -4,8 +4,8 @@ quotesReportData | tempDict labels xAxis | tempDict := self quotesSortedByOccurrences. - tempDict size > 50 ifTrue: [ - tempDict := (tempDict associations copyFrom: 1 to: 50) asOrderedDictionary ]. + tempDict size > 10 ifTrue: [ + tempDict := (tempDict associations copyFrom: 1 to: 10) asOrderedDictionary ]. labels := tempDict keys. labels := labels collect: [ :profile | ($' asString), '@', profile, ($' asString) ]. diff --git a/Socialmetrica.package/NitterUser.class/instance/retweetsReportData.st b/Socialmetrica.package/NitterUser.class/instance/retweetsReportData.st index 79b47a4..8e7ad75 100644 --- a/Socialmetrica.package/NitterUser.class/instance/retweetsReportData.st +++ b/Socialmetrica.package/NitterUser.class/instance/retweetsReportData.st @@ -3,6 +3,10 @@ retweetsReportData | tempDict labels xAxis | tempDict := self retweetsSortedByOccurrences. + + tempDict size > 10 ifTrue: [ + tempDict := (tempDict associations copyFrom: 1 to: 10) asOrderedDictionary ]. + labels := tempDict keys. labels := labels collect: [ :profile | ($' asString), '@', profile, ($' asString) ]. xAxis := tempDict values.