From 1dec7081e43c75a3e9d730ed838eedc2be7783a5 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Thu, 9 Jun 2022 16:02:35 -0500 Subject: [PATCH] Modifying quotes report data. --- .../NitterUser.class/instance/quotesReportData.st | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st b/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st index e5b7b78..c72c69d 100644 --- a/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st +++ b/Socialmetrica.package/NitterUser.class/instance/quotesReportData.st @@ -3,6 +3,10 @@ quotesReportData | tempDict labels xAxis | tempDict := self quotesSortedByOccurrences. + + tempDict size > 50 ifTrue: [ + tempDict := (tempDict associations copyFrom: 1 to: 50) asOrderedDictionary ]. + labels := tempDict keys. labels := labels collect: [ :profile | ($' asString), '@', profile, ($' asString) ]. xAxis := tempDict values.