Skip to main content

A Smart Algorithm for Column Chart Labeling

  • Conference paper
Book cover Smart Graphics (SG 2005)

Part of the book series: Lecture Notes in Computer Science ((LNIP,volume 3638))

Included in the following conference series:

Abstract

This paper presents a smart algorithm for labeling column charts and their derivatives. To efficiently solve the problem, we separate it into two sub-problems. We first present a geometric algorithm to solve the problem of finding a good labeling for the labels of a single column, given that some other columns have already been labeled. We then present a strategy for finding a good order in which columns should be labeled, which repeatedly uses the first algorithm for some limited look-ahead. The presented algorithm is being used in a commercial product to label charts, and has shown in practice to produce satisfactory results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Lok, S., Feiner, S.: A survey of automated layout techniques for information presentations. In: Proceedings of SmartGraphics, Hawethorne, USA (2001)

    Google Scholar 

  2. Marks, J., Shieber, S.: The computational complexity of cartographic label placement. Advanced Research in Computing Technology TR-05-91, Harvard University (1991)

    Google Scholar 

  3. Formann, M., Wagner, F.: A packing problem with applications to lettering of maps. In: Proceedings of the 7th Annual ACM Symposium on Computational Geometry, pp. 281–288 (1991)

    Google Scholar 

  4. Iturriaga, C., Lubiw, A.: Np-hardness of some map labeling problems. Technical Report CS-97-18, University of Waterloo (1997)

    Google Scholar 

  5. Hirsch, S.: An algorithm for automatic name placement around point data. The American Cartographer 9(1), 5–17 (1982)

    Article  Google Scholar 

  6. Doerschler, J.S., Freeman, H.: A rule-based system for dense-map name placement. Communications of the ACM 34(1), 68–79 (1992)

    Article  Google Scholar 

  7. Cook, A.C., Jones, C.B.: A prolog rule-based system for cartographic name placement. Computer Graphics Forum 9(2), 109–126 (1990)

    Article  Google Scholar 

  8. Christensen, J., Marks, J., Shieber, S.: An empirical study of algorithms for point-feature label placement. ACM Transactions on Graphics 14(3), 203–232 (1995)

    Article  Google Scholar 

  9. Cromley, R.G.: An lp relaxation procedure for annotating point features using interactive graphics. In: Proceedings of Auto-Carto 7, pp. 127–132 (1985)

    Google Scholar 

  10. Zoraster, S.: The solution of large 0-1 integer programming problems encountered in automated cartography. Operations Research 38(5), 752–759 (1990)

    Article  Google Scholar 

  11. Bekos, M.A., Kaufmann, M., Symvonis, A., Wolff, A.: Boundary labeling: Models and efficient algorithms for rectangular maps. In: Pach, J. (ed.) GD 2004. LNCS, vol. 3383, pp. 49–59. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  12. Wolff, A.: Automated Label Placement in Theory and Practice. PhD thesis, Freie Universität Berlin (1999)

    Google Scholar 

  13. Wagner, F., Wolff, A., Kapoor, V., Strijk, T.: Three rules suffice for good label placement. Algorithmica Special Issue on GIS (2000)

    Google Scholar 

  14. Agarwal, P.K., van Kreveld, M., Suri, S.: Label placement by maximum independent set in rectangles. In: Proceedings of the 9th Canadian Conference on Computational Geometry, pp. 233–238 (1997)

    Google Scholar 

  15. van Kreveld, M., Strijk, T., Wolff, A.: Point labeling with sliding labels. Computational Geometry: Theory and Applications 13, 21–47 (1999)

    MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Müller, S., Schödl, A. (2005). A Smart Algorithm for Column Chart Labeling. In: Butz, A., Fisher, B., Krüger, A., Olivier, P. (eds) Smart Graphics. SG 2005. Lecture Notes in Computer Science, vol 3638. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11536482_11

Download citation

  • DOI: https://doi.org/10.1007/11536482_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28179-5

  • Online ISBN: 978-3-540-31905-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics