3 Replies Latest reply on Aug 24, 2009 7:18 AM by Tommy Maurice

    Minor Chart Enhancement Label Direction Of Domain Axis

    Alexander Kunkel Newbie

      Hello,


      My enhancement allows to use the predefined CategoryLabelPositions of JFreeChart. Can i contribute the code or should i fork the chart implementation?




      Sample: http://www.kunkelgmbh.de/Seam-Charts-Sample1.png


      <p:linechart width="400" height="300" title="UP_45" domainLabelPosition="UP_45">
           <p:series key="partsrcvd">
                <p:data columnKey="0" key="abcdefg" value="0" />
                <p:data columnKey="1" key="hijklm" value="1" />
                <p:data columnKey="2" key="nopqrstuvwx" value="2" />
                <p:data columnKey="3" key="33" value="3" />
           </p:series>
      </p:linechart>
      <p:linechart width="400" title="STANDARD" height="300">
           <p:series key="partsrcvd">
                <p:data key="0" value="0" />
                <p:data key="1" value="1" />
                <p:data key="1" value="2" />
                <p:data key="3" value="3" />
           </p:series>
      </p:linechart>
      <p:barchart width="400" height="300" title="UP_90" domainLabelPosition="UP_90">
           <p:series key="partsrcvd">
                <p:data columnKey="0" key="abcdefg" value="0" />
                <p:data columnKey="1" key="hijklm" value="1" />
                <p:data columnKey="2" key="nopqrstuvwx" value="2" />
                <p:data columnKey="3" key="33" value="3" />
           </p:series>
      </p:barchart>
      <p:linechart width="400" height="300" title="UP_45, horizontal" orientation="horizontal" domainLabelPosition="UP_45">
           <p:series key="partsrcvd">
                <p:data columnKey="0" key="abcdefg" value="0" />
                <p:data columnKey="1" key="hijklm" value="1" />
                <p:data columnKey="2" key="nopqrstuvwx" value="2" />
                <p:data columnKey="3" key="33" value="3" />
           </p:series>
      </p:linechart>