NikhithaTarala / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Allow stacked bar chart to be placed in a Combined Chart #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch do that:

BarChart.java (new constructor): 

  BarChart(Type type) { 
      mType = type; 
  } 

RangeBarChart.java (new constructor): 

  RangeBarChart(Type type) { 
      super(type); 
  } 

CombinedXYChart.java (add new class): 

  private Class[] xyChartTypes = new Class[] { TimeChart.class, 
LineChart.class, 
      CubicLineChart.class, BarChart.class, BubbleChart.class, 
ScatterChart.class, 
      RangeBarChart.class, 
      // TV - Start 
      RangeStackedBarChart.class 
      // TV - End 

New class RangeStackedBarChart.java 

public class RangeStackedBarChart extends RangeBarChart { 
  /** The chart type. */ 
  public static final String TYPE = "RangeStackedBar"; 

  RangeStackedBarChart() { 
      super(Type.STACKED); 
  } 

  public String getChartType() { 
      return TYPE; 
    } 
} 

Original issue reported on code.google.com by zvasv...@gmail.com on 4 Feb 2012 at 1:49

GoogleCodeExporter commented 9 years ago
Issue 210 has been merged into this issue.

Original comment by dandrome...@gmail.com on 10 May 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Fixed in SVN rev. r383.

Original comment by dandrome...@gmail.com on 11 May 2012 at 6:19