Examples of LegendProperties


Examples of org.krysalis.jcharts.properties.LegendProperties

    String[] labels= { "BMW M5", "BMW M3", "Viper GTS-R", "Corvette Z06" };
    Paint[] paints= { Color.lightGray, Color.green, Color.blue, Color.red };

    PieChartDataSet pieChartDataSet= new PieChartDataSet( "Cars That Own", data, labels, paints, pieChart2DProperties );

    PieChart2D pieChart2D= new PieChart2D( pieChartDataSet, new LegendProperties(), new ChartProperties(), 400, 350 );
    super.exportImage( pieChart2D, name );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void basicLegend() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();

    super.exportImage( this.getChart( legendProperties ), "legendBasic" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void noLegend() throws Throwable
  {
    LegendProperties legendProperties= null;

    super.exportImage( this.getChart( legendProperties ), "noLegend" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void rightSide() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setPlacement( LegendAreaProperties.RIGHT );

    super.exportImage( this.getChart( legendProperties ), "legendOnRight" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void layout() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setPlacement( LegendAreaProperties.LEFT );
    legendProperties.setNumColumns( 1 );

    super.exportImage( this.getChart( legendProperties ), "oneColumn" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void fonts() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setChartFont( new ChartFont( new Font( "Georgia Negreta cursiva", Font.PLAIN, 13 ), Color.red ) );

    super.exportImage( this.getChart( legendProperties ), "legendFonts" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void backgroundPaint() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setBackgroundPaint( Color.lightGray );

    super.exportImage( this.getChart( legendProperties ), "legendBackgroundPaint" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties

    dataSeries.addIAxisPlotDataSet( AxisChartsGuide.createAxisChartDataSet( ChartType.BAR_CLUSTERED, clusteredBarChartProperties, 3, legendLabels, 200, 5000 ) );

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

    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setIconBorderPaint( Color.red );

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

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

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void borderColor() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();

    ChartStroke borderStroke= new ChartStroke( new BasicStroke( 2.0f ), Color.blue );
    legendProperties.setBorderStroke( borderStroke );

    super.exportImage( this.getChart( legendProperties ), "borderColor" );
  }
View Full Code Here

Examples of org.krysalis.jcharts.properties.LegendProperties


  /*************************************************************************************************/
  private void chartPadding() throws Throwable
  {
    LegendProperties legendProperties= new LegendProperties();
    legendProperties.setChartPadding( 30 );

    super.exportImage( this.getChart( legendProperties ), "chartPadding" );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.