Improved RSHistogramPlot. The main idea is to make the creation of histograms such as the example 10 of RSHistogramExample easier and shorter.
At declaration of a RSHistogramPlot, you can give it a collection and a bloc, so it will collect: using the bloc on the collection, create a Dictionary with the associations of elements from the collection and their value from the collect:. Then the model for the bars will be the elements of the collection corresponding to the values in the bar, rather than associations. Check example10Objects for an example.
Here is a screenshot of the example 10, displaying the subclasses of Collection according to the number of lines of code.
Improved
RSHistogramPlot
. The main idea is to make the creation of histograms such as the example 10 ofRSHistogramExample
easier and shorter. At declaration of aRSHistogramPlot
, you can give it a collection and a bloc, so it willcollect:
using the bloc on the collection, create aDictionary
with the associations of elements from the collection and their value from thecollect:
. Then the model for the bars will be the elements of the collection corresponding to the values in the bar, rather than associations. Checkexample10Objects
for an example. Here is a screenshot of the example 10, displaying the subclasses ofCollection
according to the number of lines of code.