• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.github.mikephil.charting.interfaces.datasets;
2 
3 import android.graphics.drawable.Drawable;
4 
5 import com.github.mikephil.charting.data.Entry;
6 
7 /**
8  * Created by Philipp Jahoda on 21/10/15.
9  */
10 public interface ILineRadarDataSet<T extends Entry> extends ILineScatterCandleRadarDataSet<T> {
11 
12     /**
13      * Returns the color that is used for filling the line surface area.
14      *
15      * @return
16      */
getFillColor()17     int getFillColor();
18 
19     /**
20      * Returns the drawable used for filling the area below the line.
21      *
22      * @return
23      */
getFillDrawable()24     Drawable getFillDrawable();
25 
26     /**
27      * Returns the alpha value that is used for filling the line surface,
28      * default: 85
29      *
30      * @return
31      */
getFillAlpha()32     int getFillAlpha();
33 
34     /**
35      * Returns the stroke-width of the drawn line
36      *
37      * @return
38      */
getLineWidth()39     float getLineWidth();
40 
41     /**
42      * Returns true if filled drawing is enabled, false if not
43      *
44      * @return
45      */
isDrawFilledEnabled()46     boolean isDrawFilledEnabled();
47 
48     /**
49      * Set to true if the DataSet should be drawn filled (surface), and not just
50      * as a line, disabling this will give great performance boost. Please note that this method
51      * uses the canvas.clipPath(...) method for drawing the filled area.
52      * For devices with API level < 18 (Android 4.3), hardware acceleration of the chart should
53      * be turned off. Default: false
54      *
55      * @param enabled
56      */
setDrawFilled(boolean enabled)57     void setDrawFilled(boolean enabled);
58 }
59