Package org.krysalis.jcharts.properties

Examples of org.krysalis.jcharts.properties.AxisProperties


    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();

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

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


    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();

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

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

    ChartFont axisTitleFont = new ChartFont( new Font( "Arial Narrow", Font.PLAIN, 14 ), Color.black );
View Full Code Here

  {
    ChartProperties chartProperties= this.getChartProperties();
    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 );

View Full Code Here

    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();

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

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

    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();

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

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

    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();

    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 );

    ChartFont axisTitleFont = new ChartFont( new Font( "Arial Narrow", Font.PLAIN, 14 ), Color.black );
View Full Code Here

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
    LegendProperties legendProperties= new LegendProperties();

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

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

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
    LegendProperties legendProperties= new LegendProperties();

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

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

TOP

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

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.