<?xml version="1.0"?>
<!--
   ====================================================================
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   ====================================================================
-->
<record id="0x1017" name="Bar" excel-record-id="BAR"
    package="org.apache.poi.hssf.record">
    <suffix>Record</suffix>
    <extends>Record</extends>
    <description>The bar record is used to define a bar chart.</description>
    <author>Glen Stampoultzis (glens at apache.org)</author>
    <fields>
        <field type="int" size="2" name="bar space" description="space between bars"/>
        <field type="int" size="2" name="category space" description="space between categories"/>
        <field type="int" size="2" name="format flags">
            <bit number="0" name="horizontal" description="true to display horizontal bar charts, false for vertical"/>
            <bit number="1" name="stacked" description="stack displayed values"/>
            <bit number="2" name="display as percentage" description="display chart values as a percentage"/>
            <bit number="3" name="shadow" description="display a shadow for the chart"/>
        </field>
    </fields>
</record>
