Package org.pentaho.plugin.jfreereport.reportcharts

Examples of org.pentaho.plugin.jfreereport.reportcharts.PieChartExpression


      assertEquals("legacy-chart", element.getElementTypeName());
      final Expression attributeExpression =
          element.getAttributeExpression(AttributeNames.Core.NAMESPACE, AttributeNames.Core.VALUE);
      assertNotNull(attributeExpression);
      assertTrue(attributeExpression instanceof PieChartExpression);
      final PieChartExpression pe = (PieChartExpression) attributeExpression;
      final String dataSource = pe.getDataSource();

      final Expression[] expressions =
          event.getState().getFlowController().getMasterRow().getExpressionDataRow().getExpressions();
      assertEquals(expressions.length, 2);
      // 2 expressions: One is the validate function, the other is the chart-dataset collector.
View Full Code Here

TOP

Related Classes of org.pentaho.plugin.jfreereport.reportcharts.PieChartExpression

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.