Package org.pentaho.platform.uifoundation.chart

Examples of org.pentaho.platform.uifoundation.chart.DialWidgetDefinition


        dataDefinition = new TimeSeriesCollectionChartDefinition( data, byRow, chartAttributes, getSession() );
      }
    } else if ( ChartDefinition.PIE_CHART_STR.equalsIgnoreCase( chartType ) ) {
      dataDefinition = new PieDatasetChartDefinition( data, byRow, chartAttributes, getSession() );
    } else if ( ChartDefinition.DIAL_CHART_STR.equalsIgnoreCase( chartType ) ) {
      dataDefinition = new DialWidgetDefinition( data, byRow, chartAttributes, width, height, getSession() );
    } else if ( ChartDefinition.BAR_LINE_CHART_STR.equalsIgnoreCase( chartType ) ) {
      dataDefinition = new BarLineChartDefinition( data, byRow, chartAttributes, getSession() );
    } else if ( ChartDefinition.BUBBLE_CHART_STR.equalsIgnoreCase( chartType ) ) {
      dataDefinition = new XYZSeriesCollectionChartDefinition( data, byRow, chartAttributes, getSession() );
    } else {
View Full Code Here


      // XML document can't be read. We'll just return a null document.
    }

    // create a dial definition from the XML definition
    WidgetDefinition widgetDefinition =
        new DialWidgetDefinition( dialDefinition, 0, widgetWidth, widgetHeight, getSession() );

    return createDials( resultSet, widgetDefinition );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.uifoundation.chart.DialWidgetDefinition

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.