File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
MPChartLib/src/com/github/mikephil/charting Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
22package com .github .mikephil .charting .components ;
33
4- import com .github .mikephil .charting .formatter .DefaultXAxisAxisValueFormatter ;
4+ import com .github .mikephil .charting .formatter .DefaultXAxisValueFormatter ;
55import com .github .mikephil .charting .formatter .XAxisValueFormatter ;
66
77import java .util .ArrayList ;
@@ -66,7 +66,7 @@ public class XAxis extends AxisBase {
6666 /**
6767 * Custom formatter for adjusting x-value strings
6868 */
69- protected XAxisValueFormatter mXAxisValueFormatter = new DefaultXAxisAxisValueFormatter ();
69+ protected XAxisValueFormatter mXAxisValueFormatter = new DefaultXAxisValueFormatter ();
7070
7171 /** the position of the x-labels relative to the chart */
7272 private XAxisPosition mPosition = XAxisPosition .TOP ;
@@ -199,7 +199,7 @@ public List<String> getValues() {
199199 */
200200 public void setValueFormatter (XAxisValueFormatter formatter ) {
201201 if (formatter == null )
202- mXAxisValueFormatter = new DefaultXAxisAxisValueFormatter ();
202+ mXAxisValueFormatter = new DefaultXAxisValueFormatter ();
203203 else
204204 mXAxisValueFormatter = formatter ;
205205 }
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public CandleData getCandleData() {
8686 */
8787 public List <ChartData > getAllData () {
8888
89- List <ChartData > data = new ArrayList <>();
89+ List <ChartData > data = new ArrayList <ChartData >();
9090 if (mLineData != null )
9191 data .add (mLineData );
9292 if (mBarData != null )
Original file line number Diff line number Diff line change 77 * Default formatter class for adjusting x-values before drawing them.
88 * This simply returns the original value unmodified.
99 */
10- public class DefaultXAxisAxisValueFormatter implements XAxisValueFormatter {
10+ public class DefaultXAxisValueFormatter implements XAxisValueFormatter {
1111
1212 @ Override
1313 public String getXValue (String original , int index , ViewPortHandler viewPortHandler ) {
You can’t perform that action at this time.
0 commit comments