Examples of ChartProperties


Examples of org.krysalis.jcharts.properties.ChartProperties


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

Examples of org.krysalis.jcharts.properties.ChartProperties


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

Examples of org.krysalis.jcharts.properties.ChartProperties


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

Examples of org.krysalis.jcharts.properties.ChartProperties

  {
    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

Examples of org.krysalis.jcharts.properties.ChartProperties

  {
    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

Examples of org.krysalis.jcharts.properties.ChartProperties

    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

Examples of org.krysalis.jcharts.properties.ChartProperties

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

Examples of org.krysalis.jcharts.properties.ChartProperties

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

Examples of org.krysalis.jcharts.properties.ChartProperties

                Paint[] paints = {Color.red , Color.blue};
                String[] legendLabels = {"Test Legend Label", "other data"};
                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 );
View Full Code Here

Examples of org.krysalis.jcharts.properties.ChartProperties

    this.legendProperties = new LegendProperties();
    this.legendProperties.setNumColumns( 2 );
    this.legendProperties.setPlacement( LegendProperties.RIGHT );

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