001/* =========================================================== 002 * JFreeChart : a free chart library for the Java(tm) platform 003 * =========================================================== 004 * 005 * (C) Copyright 2000-2022, by David Gilbert and Contributors. 006 * 007 * Project Info: http://www.jfree.org/jfreechart/index.html 008 * 009 * This library is free software; you can redistribute it and/or modify it 010 * under the terms of the GNU Lesser General Public License as published by 011 * the Free Software Foundation; either version 2.1 of the License, or 012 * (at your option) any later version. 013 * 014 * This library is distributed in the hope that it will be useful, but 015 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 016 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 017 * License for more details. 018 * 019 * You should have received a copy of the GNU Lesser General Public 020 * License along with this library; if not, write to the Free Software 021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 022 * USA. 023 * 024 * [Oracle and Java are registered trademarks of Oracle and/or its affiliates. 025 * Other names may be trademarks of their respective owners.] 026 * 027 * -------------------- 028 * ItemLabelAnchor.java 029 * -------------------- 030 * (C) Copyright 2003-2022, by David Gilbert. 031 * 032 * Original Author: David Gilbert; 033 * Contributor(s): -; 034 * 035 */ 036 037package org.jfree.chart.labels; 038 039/** 040 * An enumeration of the positions that a value label can take, relative to an 041 * item in a {@link org.jfree.chart.plot.CategoryPlot}. 042 */ 043public enum ItemLabelAnchor { 044 045 /** Center anchor point. */ 046 CENTER, 047 048 /** 1 o'clock anchor point. */ 049 INSIDE1, 050 051 /** 2 o'clock anchor point. */ 052 INSIDE2, 053 054 /** 3 o'clock anchor point. */ 055 INSIDE3, 056 057 /** 4 o'clock anchor point. */ 058 INSIDE4, 059 060 /** 5 o'clock anchor point. */ 061 INSIDE5, 062 063 /** 6 o'clock anchor point. */ 064 INSIDE6, 065 066 /** 7 o'clock anchor point. */ 067 INSIDE7, 068 069 /** 8 o'clock anchor point. */ 070 INSIDE8, 071 072 /** 9 o'clock anchor point. */ 073 INSIDE9, 074 075 /** 10 o'clock anchor point. */ 076 INSIDE10, 077 078 /** 11 o'clock anchor point. */ 079 INSIDE11, 080 081 /** 12 o'clock anchor point. */ 082 INSIDE12, 083 084 /** 1 o'clock anchor point. */ 085 OUTSIDE1, 086 087 /** 2 o'clock anchor point. */ 088 OUTSIDE2, 089 090 /** 3 o'clock anchor point. */ 091 OUTSIDE3, 092 093 /** 4 o'clock anchor point. */ 094 OUTSIDE4, 095 096 /** 5 o'clock anchor point. */ 097 OUTSIDE5, 098 099 /** 6 o'clock anchor point. */ 100 OUTSIDE6, 101 102 /** 7 o'clock anchor point. */ 103 OUTSIDE7, 104 105 /** 8 o'clock anchor point. */ 106 OUTSIDE8, 107 108 /** 9 o'clock anchor point. */ 109 OUTSIDE9, 110 111 /** 10 o'clock anchor point. */ 112 OUTSIDE10, 113 114 /** 11 o'clock anchor point. */ 115 OUTSIDE11, 116 117 /** 12 o'clock anchor point. */ 118 OUTSIDE12 119 120}