~registry/dhis2-academy/map_generation_service-group_10

Viewing all changes in revision 5058.

  • Committer: Kjetil Andresen
  • Date: 2011-12-02 01:20:39 UTC
  • Revision ID: kjetand@ifi.uio.no-20111202012039-2s97xoe722rdr4jw
The LegendSet now works as a charm :) Here are the advantages of the new implementation of Legend:

+ Variable size of the interval sets, not static 5 as before.
+ Sets the image size automatically by investigating the legend sizes and calculate the image size based on that information.
+ A better abstraction that can be modified easier.

The code is not commented yet, and it needs testing.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: