Skip to content

Commit a0d39b9

Browse files
committed
Work on highlighting
1 parent 0221ddf commit a0d39b9

File tree

128 files changed

+813
-832
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+813
-832
lines changed

MPChartExample/src/com/xxmassdeveloper/mpchartexample/AnotherBarActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected void onCreate(Bundle savedInstanceState) {
5454
// drawn
5555
mChart.setMaxVisibleValueCount(60);
5656

57-
// scaling can now only be done on x- and y-axis separately
57+
// scaling can now only be done on xPx- and yPx-axis separately
5858
mChart.setPinchZoom(false);
5959

6060
mChart.setDrawBarShadow(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/BarChartActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected void onCreate(Bundle savedInstanceState) {
7474
// drawn
7575
mChart.setMaxVisibleValueCount(60);
7676

77-
// scaling can now only be done on x- and y-axis separately
77+
// scaling can now only be done on xPx- and yPx-axis separately
7878
mChart.setPinchZoom(false);
7979

8080
mChart.setDrawGridBackground(false);
@@ -282,7 +282,7 @@ public void onValueSelected(Entry e, int dataSetIndex, Highlight h) {
282282
Log.i("bounds", bounds.toString());
283283
Log.i("position", position.toString());
284284

285-
Log.i("x-index",
285+
Log.i("xPx-index",
286286
"low: " + mChart.getLowestVisibleX() + ", high: "
287287
+ mChart.getHighestVisibleX());
288288
}

MPChartExample/src/com/xxmassdeveloper/mpchartexample/BarChartActivityMultiDataset.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected void onCreate(Bundle savedInstanceState) {
6262

6363
// mChart.setDrawBorders(true);
6464

65-
// scaling can now only be done on x- and y-axis separately
65+
// scaling can now only be done on xPx- and yPx-axis separately
6666
mChart.setPinchZoom(false);
6767

6868
mChart.setDrawBarShadow(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/BarChartActivitySinus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ protected void onCreate(Bundle savedInstanceState) {
6363
// drawn
6464
mChart.setMaxVisibleValueCount(60);
6565

66-
// scaling can now only be done on x- and y-axis separately
66+
// scaling can now only be done on xPx- and yPx-axis separately
6767
mChart.setPinchZoom(false);
6868

69-
// draw shadows for each bar that show the maximum value
69+
// draw shadows for each bar that show the maximum yValue
7070
// mChart.setDrawBarShadow(true);
7171

7272
// mChart.setDrawXLabels(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/BarChartPositiveNegative.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected void onCreate(Bundle savedInstanceState) {
4747

4848
mChart.setDescription("");
4949

50-
// scaling can now only be done on x- and y-axis separately
50+
// scaling can now only be done on xPx- and yPx-axis separately
5151
mChart.setPinchZoom(false);
5252

5353
mChart.setDrawGridBackground(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/CandleStickChartActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected void onCreate(Bundle savedInstanceState) {
5757
// drawn
5858
mChart.setMaxVisibleValueCount(60);
5959

60-
// scaling can now only be done on x- and y-axis separately
60+
// scaling can now only be done on xPx- and yPx-axis separately
6161
mChart.setPinchZoom(false);
6262

6363
mChart.setDrawGridBackground(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/CubicLineChartActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected void onCreate(Bundle savedInstanceState) {
7373
mChart.setDragEnabled(true);
7474
mChart.setScaleEnabled(true);
7575

76-
// if disabled, scaling can be done on x- and y-axis separately
76+
// if disabled, scaling can be done on xPx- and yPx-axis separately
7777
mChart.setPinchZoom(false);
7878

7979
mChart.setDrawGridBackground(false);

MPChartExample/src/com/xxmassdeveloper/mpchartexample/DrawChartActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected void onCreate(Bundle savedInstanceState) {
6969
mChart.getLegend().setEnabled(false);
7070

7171
// mChart.setYRange(-40f, 40f, true);
72-
// call this to reset the changed y-range
72+
// call this to reset the changed yPx-range
7373
// mChart.resetYRange(true);
7474
}
7575

MPChartExample/src/com/xxmassdeveloper/mpchartexample/DynamicalAddingActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private void addEntry() {
6262
data.addDataSet(set);
6363
}
6464

65-
// add a new x-value first
65+
// add a new xPx-yValue first
6666
data.addXValue(new XAxisValue(set.getEntryCount(), set.getEntryCount() + ""));
6767

6868
// choose a random dataSet
@@ -111,11 +111,11 @@ private void addDataSet() {
111111

112112
int count = (data.getDataSetCount() + 1);
113113

114-
// create 10 y-vals
114+
// create 10 yPx-vals
115115
ArrayList<Entry> yVals = new ArrayList<Entry>();
116116

117117
if(data.getXValCount() == 0) {
118-
// add 10 x-entries
118+
// add 10 xPx-entries
119119
for (int i = 0; i < 10; i++) {
120120
data.addXValue(new XAxisValue(i, i + ""));
121121
}

MPChartExample/src/com/xxmassdeveloper/mpchartexample/HorizontalBarChartActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ protected void onCreate(Bundle savedInstanceState) {
7272
// drawn
7373
mChart.setMaxVisibleValueCount(60);
7474

75-
// scaling can now only be done on x- and y-axis separately
75+
// scaling can now only be done on xPx- and yPx-axis separately
7676
mChart.setPinchZoom(false);
7777

78-
// draw shadows for each bar that show the maximum value
78+
// draw shadows for each bar that show the maximum yValue
7979
// mChart.setDrawBarShadow(true);
8080

8181
// mChart.setDrawXLabels(false);

0 commit comments

Comments
 (0)