public float[] generateTransformedValuesBarChart(List<? extends Entry> entries,int dataSet,BarData bd,float phaseY){
  float[] valuePoints=new float[entries.size() * 2];
  int setCount=bd.getDataSetCount();
  float space=bd.getGroupSpace();
  for (int j=0; j < valuePoints.length; j+=2) {
    Entry e=entries.get(j / 2);
    float x=e.getXIndex() + (j / 2 * (setCount - 1)) + dataSet+ space * (j / 2) + space / 2f;
    float y=e.getVal();
    valuePoints[j]=x;
    valuePoints[j + 1]=y * phaseY;
  }
  pointValuesToPixel(valuePoints);
  return valuePoints;
}

public float [ ] generateTransformedValuesBarChart ( List < ? extends Entry > entries , int dataSet , BarData bd , float phaseY ) { float [ ] valuePoints = new float [ entries . size ( ) * 2 ] ; int setCount = bd . getDataSetCount ( ) ; float space = bd . getGroupSpace ( ) ; for ( int j = 0 ; j < valuePoints . length ; j += 2 ) { Entry e = entries . get ( j / 2 ) ; float x = e . getXIndex ( ) + ( j / 2 * ( setCount - 1 ) ) + dataSet + space * ( j / 2 ) + space / 2f ; float y = e . getVal ( ) ; valuePoints [ j ] = x ; valuePoints [ j + 1 ] = y * phaseY ; } pointValuesToPixel ( valuePoints ) ; return valuePoints ; }
transforms an list of entry into a float array containing the x and y values transformed with all matrices for the barchart .
