• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.github.mikephil.charting.interfaces.datasets;
2 
3 import android.graphics.DashPathEffect;
4 
5 import com.github.mikephil.charting.data.Entry;
6 import com.github.mikephil.charting.data.LineDataSet;
7 import com.github.mikephil.charting.formatter.IFillFormatter;
8 
9 /**
10  * Created by Philpp Jahoda on 21/10/15.
11  */
12 public interface ILineDataSet extends ILineRadarDataSet<Entry> {
13 
14     /**
15      * Returns the drawing mode for this line dataset
16      *
17      * @return
18      */
getMode()19     LineDataSet.Mode getMode();
20 
21     /**
22      * Returns the intensity of the cubic lines (the effect intensity).
23      * Max = 1f = very cubic, Min = 0.05f = low cubic effect, Default: 0.2f
24      *
25      * @return
26      */
getCubicIntensity()27     float getCubicIntensity();
28 
29     @Deprecated
isDrawCubicEnabled()30     boolean isDrawCubicEnabled();
31 
32     @Deprecated
isDrawSteppedEnabled()33     boolean isDrawSteppedEnabled();
34 
35     /**
36      * Returns the size of the drawn circles.
37      */
getCircleRadius()38     float getCircleRadius();
39 
40     /**
41      * Returns the hole radius of the drawn circles.
42      */
getCircleHoleRadius()43     float getCircleHoleRadius();
44 
45     /**
46      * Returns the color at the given index of the DataSet's circle-color array.
47      * Performs a IndexOutOfBounds check by modulus.
48      *
49      * @param index
50      * @return
51      */
getCircleColor(int index)52     int getCircleColor(int index);
53 
54     /**
55      * Returns the number of colors in this DataSet's circle-color array.
56      *
57      * @return
58      */
getCircleColorCount()59     int getCircleColorCount();
60 
61     /**
62      * Returns true if drawing circles for this DataSet is enabled, false if not
63      *
64      * @return
65      */
isDrawCirclesEnabled()66     boolean isDrawCirclesEnabled();
67 
68     /**
69      * Returns the color of the inner circle (the circle-hole).
70      *
71      * @return
72      */
getCircleHoleColor()73     int getCircleHoleColor();
74 
75     /**
76      * Returns true if drawing the circle-holes is enabled, false if not.
77      *
78      * @return
79      */
isDrawCircleHoleEnabled()80     boolean isDrawCircleHoleEnabled();
81 
82     /**
83      * Returns the DashPathEffect that is used for drawing the lines.
84      *
85      * @return
86      */
getDashPathEffect()87     DashPathEffect getDashPathEffect();
88 
89     /**
90      * Returns true if the dashed-line effect is enabled, false if not.
91      * If the DashPathEffect object is null, also return false here.
92      *
93      * @return
94      */
isDashedLineEnabled()95     boolean isDashedLineEnabled();
96 
97     /**
98      * Returns the IFillFormatter that is set for this DataSet.
99      *
100      * @return
101      */
getFillFormatter()102     IFillFormatter getFillFormatter();
103 }