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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Lok, S., Feiner, S.: A survey of automated layout techniques for information presentations. In: Proceedings of SmartGraphics, Hawethorne, USA (2001)
Marks, J., Shieber, S.: The computational complexity of cartographic label placement. Advanced Research in Computing Technology TR-05-91, Harvard University (1991)
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)
Iturriaga, C., Lubiw, A.: Np-hardness of some map labeling problems. Technical Report CS-97-18, University of Waterloo (1997)
Hirsch, S.: An algorithm for automatic name placement around point data. The American Cartographer 9(1), 5–17 (1982)
Doerschler, J.S., Freeman, H.: A rule-based system for dense-map name placement. Communications of the ACM 34(1), 68–79 (1992)
Cook, A.C., Jones, C.B.: A prolog rule-based system for cartographic name placement. Computer Graphics Forum 9(2), 109–126 (1990)
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)
Cromley, R.G.: An lp relaxation procedure for annotating point features using interactive graphics. In: Proceedings of Auto-Carto 7, pp. 127–132 (1985)
Zoraster, S.: The solution of large 0-1 integer programming problems encountered in automated cartography. Operations Research 38(5), 752–759 (1990)
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)
Wolff, A.: Automated Label Placement in Theory and Practice. PhD thesis, Freie Universität Berlin (1999)
Wagner, F., Wolff, A., Kapoor, V., Strijk, T.: Three rules suffice for good label placement. Algorithmica Special Issue on GIS (2000)
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)
van Kreveld, M., Strijk, T., Wolff, A.: Point labeling with sliding labels. Computational Geometry: Theory and Applications 13, 21–47 (1999)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)