sarath_varma Report post Posted August 23, 2010 Hi All, I am quite new to this fusion charts implementation. Can anybody help me to complete Bar2D graph for multiple scenarios. I am able to draw Bar2D graph for single scenario(values in y1[]). Attached screen shots with java code for details. Screen shot below with red and yellow bars was old JCChart graph for multiple scenarios. my java code... private void loadComparisionResultGraphColumnData(BarGraph graph, double[] y1, double[] y2) throws Exception {ArrayList<BarGraphValue> graphValueList = new ArrayList(); double[][] y = {y1, y2};String[] seriesLabels = { "Scenario 1", "Scenario 2"}; try {Iterator metricsIter = graphMetricList.iterator(); int n = y1.length;n = n-1; while (metricsIter.hasNext()) {String graphMetricName = (String) metricsIter.next(); graphValueList.add( new BarGraphValue(graphMetricName, new Double(y1[n--]), "56B9F9")); //graphValueList.add(new BarGraphValue(graphMetricName, new Double(y[2]), "C9198D"));} graph.setValues(graphValueList); } catch(Exception e) {Trace.write(Trace. error, "Error occured in loadComparisionResultGraphColumnData method :: TPComparisionResultGraph class."); throw new Exception(e);} } Other information: getCurrencyId : AUD getCurrencyId : AUD userId : SuperUser categoryName : Account F2M Profile categories : On-Net >60% categories : Off-Net >60% categories : Split Categories: Overall y1 -> 32.483161627329906 y1 -> 35.631429601779466 y1 -> -264.0777062315774 y1 -> -88.15067241161087 y2 -> 32.61565963064586 y2 -> 34.874386307842876 y2 -> -265.283388091254 y2 -> -89.75897980368637 priceType : Target Price comparisonMetric : 0 getCurrencyId : AUD currencyId : AUD yAxisTitle : Average % Discount off List headerText : Average % Discount off List at Target Price Appreciate your help Thanks, Sarath Share this post Link to post Share on other sites
Guest Rajroop Report post Posted November 29, 2010 Hi Sarath, You are trying to accomplish quite a easy implementation with FusionCharts here. Please take a look at the following links and see if it helps: - - FusionCharts Bar Chart XML Specifications - FusionCharts v3.2 LIVE Functional Demos I hope this helps. Share this post Link to post Share on other sites