Package org.krysalis.jcharts.properties

Examples of org.krysalis.jcharts.properties.PropertyException


    if( axisProperties.isPlotHorizontal() )
    {
      //---if there is only one data set, there is no need to do any validations.
      if( this.iAxisDataSeries.size() > 1 )
      {
        throw new PropertyException( "You can not have a combo chart on a horizontal plot." );
      }

      if( !this.allowHorizontalPlot() )
      {
        throw new PropertyException( "Horizontal plots are only supported in the Bar, Stacked Bar, and Clustered Bar Chart Types." );
      }
    }
  }
View Full Code Here


    if( axisProperties.isPlotHorizontal() )
    {
      //---if there is only one data set, there is no need to do any validations.
      if( this.iAxisDataSeries.size() > 1 )
      {
        throw new PropertyException( "You can not have a combo chart on a horizontal plot." );
      }

      if( !this.allowHorizontalPlot() )
      {
        throw new PropertyException( "Horizontal plots are only supported in the Bar, Stacked Bar, and Clustered Bar Chart Types." );
      }
    }
  }
View Full Code Here

TOP

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

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.