• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.github.mikephil.charting.interfaces.datasets;
2 
3 import com.github.mikephil.charting.data.BarEntry;
4 import com.github.mikephil.charting.utils.Fill;
5 
6 import java.util.List;
7 
8 /**
9  * Created by philipp on 21/10/15.
10  */
11 public interface IBarDataSet extends IBarLineScatterCandleBubbleDataSet<BarEntry> {
12 
getFills()13     List<Fill> getFills();
14 
getFill(int index)15     Fill getFill(int index);
16 
17     /**
18      * Returns true if this DataSet is stacked (stacksize > 1) or not.
19      *
20      * @return
21      */
isStacked()22     boolean isStacked();
23 
24     /**
25      * Returns the maximum number of bars that can be stacked upon another in
26      * this DataSet. This should return 1 for non stacked bars, and > 1 for stacked bars.
27      *
28      * @return
29      */
getStackSize()30     int getStackSize();
31 
32     /**
33      * Returns the color used for drawing the bar-shadows. The bar shadows is a
34      * surface behind the bar that indicates the maximum value.
35      *
36      * @return
37      */
getBarShadowColor()38     int getBarShadowColor();
39 
40     /**
41      * Returns the width used for drawing borders around the bars.
42      * If borderWidth == 0, no border will be drawn.
43      *
44      * @return
45      */
getBarBorderWidth()46     float getBarBorderWidth();
47 
48     /**
49      * Returns the color drawing borders around the bars.
50      *
51      * @return
52      */
getBarBorderColor()53     int getBarBorderColor();
54 
55     /**
56      * Returns the alpha value (transparency) that is used for drawing the
57      * highlight indicator.
58      *
59      * @return
60      */
getHighLightAlpha()61     int getHighLightAlpha();
62 
63 
64     /**
65      * Returns the labels used for the different value-stacks in the legend.
66      * This is only relevant for stacked bar entries.
67      *
68      * @return
69      */
getStackLabels()70     String[] getStackLabels();
71 }
72