Skip to content

Commit 24f0bbf

Browse files
committed
Added screenshot of candlestickchart.
1 parent 6d9c343 commit 24f0bbf

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ protected void onCreate(Bundle savedInstanceState) {
4646

4747
mChart = (CandleStickChart) findViewById(R.id.chart1);
4848

49-
mChart.setDrawYValues(false);
50-
51-
mChart.setUnit(" €");
5249
mChart.setDescription("");
5350

5451
// if more than 60 entries are displayed in the chart, no values will be
@@ -170,7 +167,7 @@ public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
170167

171168
for (int i = 0; i < prog; i++) {
172169
float mult = (mSeekBarY.getProgress() + 1);
173-
float val = (float) (Math.random() * 50) + mult;
170+
float val = (float) (Math.random() * 40) + mult;
174171

175172
float high = (float) (Math.random() * 9) + 8f;
176173
float low = (float) (Math.random() * 9) + 8f;

screenshots/candlestickchart.png

40.3 KB
Loading

0 commit comments

Comments
 (0)