Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
Add strings and removed description label in the chart.
  • Loading branch information
24PaH committed Dec 7, 2017
1 parent fd916ff commit 51686b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.components.XAxis;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.components.Description;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
Expand All @@ -43,9 +42,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa

if (!mScores.isEmpty()) {
LineChart chart = (LineChart) view.findViewById(R.id.chart);
Description desc = new Description();
desc.setText("Scores");
chart.setDescription(desc);
chart.setDescription(null);
chart.setDrawGridBackground(false);
chart.setTouchEnabled(true);
chart.setDragEnabled(true);
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-br/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<string name="verify">Verificar</string>
<string name="save">Salvar?</string>
<string name="save_message">Salve o marcador.</string>
<string name="chart">Gráfico</string>
<string name="yes">Sim</string>
<string name="no">Não</string>

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<string name="verify">Verifică</string>
<string name="save">Salvează?</string>
<string name="save_message">Salvează semnul.</string>
<string name="chart">Grafic</string>
<string name="yes">Da</string>
<string name="no">Nu</string>

Expand Down

0 comments on commit 51686b5

Please sign in to comment.