Home
last modified time | relevance | path

Searched refs:Legend (Results 1 – 25 of 55) sorted by relevance

123

/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DLegendRenderer.java11 import com.github.mikephil.charting.components.Legend;
42 protected Legend mLegend;
44 public LegendRenderer(ViewPortHandler viewPortHandler, Legend legend) { in LegendRenderer()
129 Legend.LegendForm.NONE, in computeLegend()
157 Legend.LegendForm.NONE, in computeLegend()
257 Legend.LegendOrientation orientation = mLegend.getOrientation();
258 Legend.LegendHorizontalAlignment horizontalAlignment = mLegend.getHorizontalAlignment();
259 Legend.LegendVerticalAlignment verticalAlignment = mLegend.getVerticalAlignment();
260 Legend.LegendDirection direction = mLegend.getDirection();
273 if (orientation == Legend.LegendOrientation.VERTICAL)
[all …]
/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/fragments/
DPieChartFrag.java15 import com.github.mikephil.charting.components.Legend;
47 Legend l = chart.getLegend(); in onCreateView()
48 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreateView()
49 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreateView()
50 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreateView()
DComplexityFragment.java11 import com.github.mikephil.charting.components.Legend;
42 Legend l = chart.getLegend(); in onCreateView()
DSineCosineFragment.java11 import com.github.mikephil.charting.components.Legend;
42 Legend l = chart.getLegend(); in onCreateView()
/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/listviewitems/
DPieChartItem.java15 import com.github.mikephil.charting.components.Legend;
76 Legend l = holder.chart.getLegend(); in getView()
77 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in getView()
78 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in getView()
79 l.setOrientation(Legend.LegendOrientation.VERTICAL); in getView()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/components/
DLegendEntry.java23 Legend.LegendForm form, in LegendEntry()
50 public Legend.LegendForm form = Legend.LegendForm.DEFAULT;
/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/
DBarChartActivitySinus.java19 import com.github.mikephil.charting.components.Legend;
20 import com.github.mikephil.charting.components.Legend.LegendForm;
100 Legend l = chart.getLegend(); in onCreate()
101 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
102 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.LEFT); in onCreate()
103 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DHalfPieChartActivity.java21 import com.github.mikephil.charting.components.Legend;
78 Legend l = chart.getLegend(); in onCreate()
79 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
80 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER); in onCreate()
81 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DHorizontalBarChartActivity.java20 import com.github.mikephil.charting.components.Legend;
112 Legend l = chart.getLegend(); in onCreate()
113 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
114 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.LEFT); in onCreate()
115 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DBubbleChartActivity.java20 import com.github.mikephil.charting.components.Legend;
81 Legend l = chart.getLegend(); in onCreate()
82 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
83 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
84 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
DHorizontalBarNegativeChartActivity.java23 import com.github.mikephil.charting.components.Legend;
113 Legend l = chart.getLegend(); in onCreate()
114 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
115 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.LEFT); in onCreate()
116 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DScatterChartActivity.java19 import com.github.mikephil.charting.components.Legend;
78 Legend l = chart.getLegend(); in onCreate()
79 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
80 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
81 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
DRadarChartActivity.java18 import com.github.mikephil.charting.components.Legend;
91 Legend l = chart.getLegend(); in onCreate()
92 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
93 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER); in onCreate()
94 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DStackedBarActivity.java19 import com.github.mikephil.charting.components.Legend;
95 Legend l = chart.getLegend(); in onCreate()
96 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
97 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
98 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DStackedBarActivityNegative.java18 import com.github.mikephil.charting.components.Legend;
93 Legend l = chart.getLegend(); in onCreate()
94 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
95 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
96 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DBarChartActivity.java20 import com.github.mikephil.charting.components.Legend;
21 import com.github.mikephil.charting.components.Legend.LegendForm;
117 Legend l = chart.getLegend(); in onCreate()
118 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
119 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.LEFT); in onCreate()
120 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DPiePolylineChartActivity.java26 import com.github.mikephil.charting.components.Legend;
109 Legend l = chart.getLegend(); in onCreate()
110 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
111 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
112 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
DLineChartActivity2.java20 import com.github.mikephil.charting.components.Legend;
21 import com.github.mikephil.charting.components.Legend.LegendForm;
98 Legend l = chart.getLegend(); in onCreate()
105 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
106 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.LEFT); in onCreate()
107 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DPieChartActivity.java26 import com.github.mikephil.charting.components.Legend;
104 Legend l = chart.getLegend(); in onCreate()
105 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
106 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
107 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
DBarChartActivityMultiDataset.java21 import com.github.mikephil.charting.components.Legend;
88 Legend l = chart.getLegend(); in onCreate()
89 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
90 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
91 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
DCombinedChartActivity.java15 import com.github.mikephil.charting.components.Legend;
67 Legend l = chart.getLegend(); in onCreate()
69 l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM); in onCreate()
70 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER); in onCreate()
71 l.setOrientation(Legend.LegendOrientation.HORIZONTAL); in onCreate()
DMultiLineChartActivity.java20 import com.github.mikephil.charting.components.Legend;
86 Legend l = chart.getLegend(); in onCreate()
87 l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP); in onCreate()
88 l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT); in onCreate()
89 l.setOrientation(Legend.LegendOrientation.VERTICAL); in onCreate()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/charts/
DPieRadarChartBase.java16 import com.github.mikephil.charting.components.Legend;
125 if (mLegend.getHorizontalAlignment() == Legend.LegendHorizontalAlignment.LEFT in calculateOffsets()
126 … || mLegend.getHorizontalAlignment() == Legend.LegendHorizontalAlignment.RIGHT) { in calculateOffsets()
127 … if (mLegend.getVerticalAlignment() == Legend.LegendVerticalAlignment.CENTER) { in calculateOffsets()
143 Legend.LegendHorizontalAlignment.RIGHT in calculateOffsets()
196 if (mLegend.getVerticalAlignment() == Legend.LegendVerticalAlignment.TOP || in calculateOffsets()
197 … mLegend.getVerticalAlignment() == Legend.LegendVerticalAlignment.BOTTOM) { in calculateOffsets()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/data/
DBaseDataSet.java8 import com.github.mikephil.charting.components.Legend;
61 private Legend.LegendForm mForm = Legend.LegendForm.DEFAULT;
338 public void setForm(Legend.LegendForm form) { in setForm()
343 public Legend.LegendForm getForm() { in getForm()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/interfaces/datasets/
DIDataSet.java7 import com.github.mikephil.charting.components.Legend;
400 Legend.LegendForm getForm(); in getForm()

123