Package org.krysalis.jcharts.properties

Examples of org.krysalis.jcharts.properties.ChartProperties


   *
   **********************************************************************************************/
  public void init()
  {
    this.legendProperties = new LegendProperties();
    this.chartProperties = new ChartProperties();
    this.axisProperties = new AxisProperties( true );
    ChartFont axisScaleFont = new ChartFont( new Font( "Georgia Negreta cursiva", Font.PLAIN, 13 ), Color.black );
    axisProperties.getXAxisProperties().setScaleChartFont( axisScaleFont );
    axisProperties.getYAxisProperties().setScaleChartFont( axisScaleFont );

View Full Code Here


   *
   **********************************************************************************************/
  public void init()
  {
    this.legendProperties = new LegendProperties();
    this.chartProperties = new ChartProperties();
    this.axisProperties = new AxisProperties( false );
    ChartFont axisScaleFont = new ChartFont( new Font( "Georgia Negreta cursiva", Font.PLAIN, 13 ), Color.black );
    axisProperties.getXAxisProperties().setScaleChartFont( axisScaleFont );
    axisProperties.getYAxisProperties().setScaleChartFont( axisScaleFont );

View Full Code Here


  /********************************************************************************************/
  private void backgroundPaint() throws Throwable
  {
    ChartProperties chartProperties= this.getChartProperties();
    GradientPaint paint= new GradientPaint( 250, 0, Color.white,
                               250, 800, new Color( 0, 255, 255, 220 ) );
    chartProperties.setBackgroundPaint( paint );

    AxisProperties axisProperties= new AxisProperties();
    axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();

View Full Code Here


  /*******************************************************************************************/
  private void chartBorder() throws Throwable
  {
    ChartProperties chartProperties= this.getChartProperties();

    ChartStroke borderStroke= new ChartStroke( new BasicStroke( 2.0f ), Color.red );
    chartProperties.setBorderStroke( borderStroke );

    AxisProperties axisProperties= new AxisProperties();
    axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();

View Full Code Here


  /********************************************************************************************/
  private void edgePadding() throws Throwable
  {
    ChartProperties chartProperties= this.getChartProperties();
    chartProperties.setEdgePadding( 50f );
      chartProperties.setBorderStroke( ChartStroke.DEFAULT_CHART_OUTLINE );

    AxisProperties axisProperties= new AxisProperties();
      axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();

View Full Code Here

  {
    String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" };
    DataSeries dataSeries = new DataSeries( xAxisLabels, "Years", "Production", "Micro$oft Bug Production" );
    dataSeries.addIAxisPlotDataSet( AxisChartsGuide.createAxisChartDataSet( ChartType.AREA, new AreaChartProperties(), 200, 5000 ) );

    ChartProperties chartProperties= this.getChartProperties();

    AxisProperties axisProperties= new AxisProperties();
    axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

  {
    String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" };
    DataSeries dataSeries = new DataSeries( xAxisLabels, "Years", "Production", null );
    dataSeries.addIAxisPlotDataSet( AxisChartsGuide.createAxisChartDataSet( ChartType.AREA, new AreaChartProperties(), 200, 5000 ) );

    ChartProperties chartProperties= this.getChartProperties();

    AxisProperties axisProperties= new AxisProperties();
    axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

    String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" };
    DataSeries dataSeries = new DataSeries( xAxisLabels, "Years", "Production", "The Micro$ofties have been so very, very, very, busy adding Bugs, this title is going to wrap to the next line" );

    dataSeries.addIAxisPlotDataSet( AxisChartsGuide.createAxisChartDataSet( ChartType.AREA, new AreaChartProperties(), 200, 5000 ) );

    ChartProperties chartProperties= this.getChartProperties();

    AxisProperties axisProperties= new AxisProperties();
    axisProperties.setXAxisLabelsAreVertical( true );
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

   *
   * @return
   *****************************************************************************************/
  private ChartProperties getChartProperties()
  {
    ChartProperties chartProperties= new ChartProperties();
    //chartProperties.setBorderStroke( ChartStroke.DEFAULT_CHART_OUTLINE );
    chartProperties.setEdgePadding( 20 );
    return chartProperties;
  }
View Full Code Here

   *
   **********************************************************************************************/
  public void init()
  {
    this.legendProperties = new LegendProperties();
    this.chartProperties = new ChartProperties();
    this.axisProperties = new AxisProperties( false );
    ChartFont axisScaleFont = new ChartFont( new Font( "Georgia Negreta cursiva", Font.PLAIN, 13 ), Color.black );
    axisProperties.getXAxisProperties().setScaleChartFont( axisScaleFont );
    axisProperties.getYAxisProperties().setScaleChartFont( axisScaleFont );

View Full Code Here

TOP

Related Classes of org.krysalis.jcharts.properties.ChartProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.