This paper describes the method of template-based automatic column drawing of drill holes. First, style information of drill hole column is stored in template table that is predesigned. The drill hole column framework is drawn using the style information then the drill hole column is drawn automatically by calling the MAPGIS SDK graphics interface and reading the corresponding attributes of the drill hole from the drill hole database according to the record values in the template table. This method is conven- ient for the users to define the style of drill hole column and the necessary information that must be drawn freely, and can meet the needs that various histograms are required with the same data in actual work.