Modifying bars, quotes and replies histograms.
This commit is contained in:
parent
21b4f432c4
commit
ae652fdf3a
@ -4,8 +4,8 @@ exportOverviewReportLatex
|
||||
self
|
||||
exportDefaultReport;
|
||||
externalWordCloud;
|
||||
exportTweetsHistogramWithBars: 5;
|
||||
exportRetweetsHistogramWithBars: 5;
|
||||
exportRepliesHistogramWithBars: 5;
|
||||
exportQuotesHistogramWithBars: 5.
|
||||
exportTweetsHistogramWithBars: 7;
|
||||
exportRetweetsHistogramWithBars: 7;
|
||||
exportRepliesHistogramWithBars: 7;
|
||||
exportQuotesHistogramWithBars: 7.
|
||||
^ self folder
|
@ -20,7 +20,6 @@ exportQuotesHistogram
|
||||
quotesHistogram := RSChart new.
|
||||
quotesHistogram extent: 800@200.
|
||||
diagram := RSBarPlot new
|
||||
x: (1 to: quotesOccurrences size)
|
||||
y: quotesOccurrences values.
|
||||
diagram color: (Color r:(89/255) g:(217/255) b:(95/255)).
|
||||
quotesHistogram addPlot: diagram.
|
||||
@ -30,7 +29,7 @@ exportQuotesHistogram
|
||||
fontSize: 72 /quotesOccurrences size;
|
||||
yourself).
|
||||
quotesHistogram addDecoration: (RSVerticalTick new
|
||||
integer;
|
||||
asFloat: 2;
|
||||
fontSize: 72 /quotesOccurrences size).
|
||||
quotesHistogram build.
|
||||
|
||||
|
@ -14,7 +14,6 @@ exportQuotesHistogramWithBars: aNumberOfBars
|
||||
quotesHistogram := RSChart new.
|
||||
quotesHistogram extent: 800@200.
|
||||
diagram := RSBarPlot new
|
||||
x: (1 to: quotes size)
|
||||
y: quotes values.
|
||||
diagram color: (Color r:(89/255) g:(217/255) b:(95/255)).
|
||||
quotesHistogram addPlot: diagram.
|
||||
@ -24,7 +23,7 @@ exportQuotesHistogramWithBars: aNumberOfBars
|
||||
fontSize: 72 /quotes size;
|
||||
yourself).
|
||||
quotesHistogram addDecoration: (RSVerticalTick new
|
||||
integer;
|
||||
asFloat: 2;
|
||||
fontSize: 72 /quotes size).
|
||||
quotesHistogram build.
|
||||
|
||||
|
@ -19,7 +19,6 @@ exportRepliesHistogramWithBars: aNumberOfBars
|
||||
tweetsHistogram := RSChart new.
|
||||
tweetsHistogram extent: 800@200.
|
||||
diagram := RSBarPlot new
|
||||
x: (1 to: subtotals size)
|
||||
y:subtotals.
|
||||
diagram color: (Color r:(246/255) g:(185/255) b:(46/255)).
|
||||
tweetsHistogram addPlot: diagram.
|
||||
@ -29,7 +28,7 @@ exportRepliesHistogramWithBars: aNumberOfBars
|
||||
fontSize: 72 /aNumberOfBars;
|
||||
yourself).
|
||||
tweetsHistogram addDecoration: (RSVerticalTick new
|
||||
integer;
|
||||
asFloat: 2;
|
||||
fontSize: 72 /aNumberOfBars).
|
||||
tweetsHistogram build.
|
||||
tweetsHistogram canvas pngExporter
|
||||
|
Loading…
Reference in New Issue
Block a user