Package org.krysalis.jcharts.properties

Examples of org.krysalis.jcharts.properties.LegendProperties


  /**********************************************************************************************
   *
   **********************************************************************************************/
  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

                               250, 800, new Color( 0, 255, 255, 220 ) );
    chartProperties.setBackgroundPaint( paint );

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

    AxisChart axisChart= new AxisChart( this.dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );

    super.exportImage( axisChart, "backgroundPaint" );
  }
View Full Code Here

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

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

    AxisChart axisChart= new AxisChart( this.dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );

    super.exportImage( axisChart, "chartBorder" );
  }
View Full Code Here

    chartProperties.setEdgePadding( 50f );
      chartProperties.setBorderStroke( ChartStroke.DEFAULT_CHART_OUTLINE );

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

    AxisChart axisChart= new AxisChart( this.dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );


    super.exportImage( axisChart, "edgePadding" );
View Full Code Here

    ChartProperties chartProperties= this.getChartProperties();

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

    AxisChart axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );

    super.exportImage( axisChart, "chartTitle" );
  }
View Full Code Here

    ChartProperties chartProperties= this.getChartProperties();

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

    AxisChart axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );

    super.exportImage( axisChart, "chartNoTitle" );
  }
View Full Code Here

    ChartProperties chartProperties= this.getChartProperties();

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

    AxisChart axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, AxisChartsGuide.width, AxisChartsGuide.height );

    super.exportImage( axisChart, "chartTitleWrapping" );
  }
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

                String[] axisLabels = {"label1", "label2", "label3", "label4","label5","label16", "label7"};
                RadarChartDataSet dataSet = new RadarChartDataSet( "sample title", data, legendLabels, paints, axisLabels, radarChartProperties );

                ChartProperties chartProperties = new ChartProperties();

                LegendProperties legendProperties = new LegendProperties();
                legendProperties.setPlacement( LegendAreaProperties.RIGHT );
                legendProperties.setNumColumns( 1 );

                RadarChart chart = new RadarChart( dataSet, legendProperties, chartProperties , 500, 400 );

                ChartTestDriver.exportImage( chart, "RadarChartTest.png" );
        }
View Full Code Here

TOP

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

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.