<xal xmlns="http://openxal.org/ui/java">
  <xu:modifications xmlns:xu="http://openxal.org/core/xmodify">
    <xu:append select="/xal">
      <rootPane xmlns="http://openxal.org/ui/java">
        <dialog id="mydialog" centered="true" focused="true" minimizable="false" resizable="false" title="Chart Dialog" width="555" height="442" maximizable="true">
          <borderPane width="500px" height="500px">
           <chart xmlns="" borderPosition="north" height="300" orientation="horizontal" width="300">
              <labelAxis type="time" format="MMM" min="Jan" interval="1 month"/>
              <valueAxis format="$##.##"/>
              <content borderColor="black" borderWidth="1" borderStyle="outset">
                <series points="50,100,200,300,500,450,350" id="series_jim" text="Jane Doe" type="bar"/>
              </content>
              <legend/>
              <label width="100" height="20" borderPosition="north" justifyh="center" text="Chart Title - Sales Revenue" fontname="Dialog" fontsize="14" fontstyle="bold"/>
              <label width="100" height="20" x="0" y="0" borderPosition="south" justifyh="center" text="Months"/>
            </chart>
            <horizontalFlowPane borderPosition="south" alignment="end">
              <button height="25" x="90" y="40" text="OK" width="70"/>
              <button height="25" text="Cancel" width="70" onCommand="#closedialog"/>
            </horizontalFlowPane>
          </borderPane>
        </dialog>        
      </rootPane>
    </xu:append>
  </xu:modifications>
</xal>