/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: BarDiagram.idl,v $
 *
 *  $Revision: 1.11 $
 *
 *  last change: $Author: rt $ $Date: 2005-09-07 22:02:18 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/
#ifndef __com_sun_star_chart_BarDiagram_idl__
#define __com_sun_star_chart_BarDiagram_idl__

#ifndef __com_sun_star_chart_Diagram_idl__
#include <com/sun/star/chart/Diagram.idl>
#endif

#ifndef __com_sun_star_chart_ChartStatistics_idl__
#include <com/sun/star/chart/ChartStatistics.idl>
#endif

#ifndef __com_sun_star_chart_ChartAxisXSupplier_idl__
#include <com/sun/star/chart/ChartAxisXSupplier.idl>
#endif

#ifndef __com_sun_star_chart_ChartTwoAxisYSupplier_idl__
#include <com/sun/star/chart/ChartTwoAxisYSupplier.idl>
#endif

#ifndef __com_sun_star_chart_ChartAxisZSupplier_idl__
#include <com/sun/star/chart/ChartAxisZSupplier.idl>
#endif

#ifndef __com_sun_star_chart_Dim3DDiagram_idl__
#include <com/sun/star/chart/Dim3DDiagram.idl>
#endif

#ifndef __com_sun_star_chart_StackableDiagram_idl__
#include <com/sun/star/chart/StackableDiagram.idl>
#endif


//=============================================================================

 module com {  module sun {  module star {  module chart {

//=============================================================================

/**This is a service for bar and column diagrams.
 */
published service BarDiagram
{
    service com::sun::star::chart::Diagram;
    service com::sun::star::chart::ChartStatistics;
    service com::sun::star::chart::ChartAxisXSupplier;
    service com::sun::star::chart::ChartTwoAxisYSupplier;
    service com::sun::star::chart::ChartAxisZSupplier;
    service com::sun::star::chart::Dim3DDiagram;
    service com::sun::star::chart::StackableDiagram;

    //-------------------------------------------------------------------------

    /** Determines if the bars of a chart are drawn vertically or
        horizontally.  Default is vertical.

        <p>If Vertical is <FALSE/> you get a column chart rather than
        a bar chart.</p>
     */
    [property] boolean Vertical;

    //-------------------------------------------------------------------------

    /** If <TRUE/>, determines that in a three-dimensional bar chart
        the bars of each series are arranged behind each other in the
        z-direction.  If <FALSE/> the arrangement of bars is like in
        two-dimensional bar charts.
     */
    [optional, property] boolean Deep;

    //-------------------------------------------------------------------------

    /** determines if, in a stacked chart, there are connecting lines
        between corresponding bars. Currently, bar charts with
        horizontal bars do not support this property.
     */
    [optional, property] boolean StackedBarsConnected;

    //-------------------------------------------------------------------------

    /** Determines how many data rows are displayed as lines rather than
        bars.

        <p>If this property differs from zero the last
        <member>BarDiagram::NumberOfLines</member> data rows are shown as lines. It is
        currently supported by two dimensional vertical bar charts only. </p>

        @deprecated
     */
    [property] long NumberOfLines;
};

//=============================================================================

}; }; }; };

#endif
