1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_chart_ChartAxisLabelPosition_idl__ 24#define __com_sun_star_chart_ChartAxisLabelPosition_idl__ 25 26 27//============================================================================= 28 29 module com { module sun { module star { module chart { 30 31//============================================================================= 32 33/** Specifies the position of the axis labels with respect to the axis on the scale of the crossing axis. 34*/ 35 36published enum ChartAxisLabelPosition 37{ 38 //------------------------------------------------------------------------- 39 40 /** The labels are placed adjacent to the axis. When the axis itself is placed at the minimum or maximum of the scale ( that is when the property CrossoverPosition equals ChartAxisPosition_MINIMUM or ChartAxisPosition_MAXIMUM) 41 the labels are placed outside the coordinate system. Otherwise the labels are placed adjacent to the axis on that side that belongs to the lower values on the crossing axis. 42 E.g. when the ChartAxisLabelPosition is set to NEAR_AXIS for an y axis the labels are placed adjacent to the y axis on that side that belongs to the lower x values. 43 */ 44 NEAR_AXIS, 45 46 //------------------------------------------------------------------------- 47 48 /** The labels are placed adjacent to the axis on the opposite side as for NEAR_AXIS. 49 */ 50 NEAR_AXIS_OTHER_SIDE, 51 52 //------------------------------------------------------------------------- 53 54 /** The labels are placed outside the coordinate region on that side where the crossing axis has its minimum value. 55 E.g. when this is set for an y axis the labels are placed outside the diagram on that side where to the x axis has its minimum value. 56 */ 57 OUTSIDE_START, 58 59 //------------------------------------------------------------------------- 60 61 /** The labels are placed outside the coordinate region on that side where the crossing axis has its maximum value. 62 E.g. when this is set for an y axis the labels are placed outside the diagram on that side where to the x axis has its maximum value. 63 */ 64 OUTSIDE_END 65}; 66 67//============================================================================= 68 69}; }; }; }; 70 71#endif 72