You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think because you are using millisecond as the unit of X axis, it draws the bars with 1 millisecond width. It is hard to see bars that thin. Convert timestamp to minutes (java.util.concurrent.TimeUnit.MINUTES) instead of using raw milliseconds.
x-axis is time and y-axis is price...
This is how I am adding data into BarEntry
`JSONArray ChartDataPointArray = data.getJSONArray("ChartDataPoint");
System.out.println("ChartDataPointArray " + ChartDataPointArray.toString());
System.out.println("ChartDataPointArray length " + ChartDataPointArray.length());
long reference_timestamp = 0;
if(ChartDataPointArray.length() > 0)
reference_timestamp = Long.parseLong(ChartDataPointArray.getJSONObject(0).getString("ExecutionTime"));
` BarDataSet set1;
set1 = new BarDataSet(executionarraylist, "The year 2017");
`private void _fillBars() {
The text was updated successfully, but these errors were encountered: