Skip to content

Commit

Permalink
add drawCubic
Browse files Browse the repository at this point in the history
add drawCubic
  • Loading branch information
raininfall authored Mar 10, 2017
1 parent e82fdc0 commit d6d2872
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public void setData(LineChart chart,ReadableMap rm){
entries.add(be);*/
ReadableMap config= map.getMap("config");
LineDataSet dataSet=new LineDataSet(entries,label);
if(config.hasKey("drawCubic")) dataSet.setDrawCubic(config.getBoolean("drawCubic"));
if(config.hasKey("drawCircles")) dataSet.setDrawCircles(config.getBoolean("drawCircles"));
if(config.hasKey("circleSize")) dataSet.setCircleSize((float) config.getDouble("circleSize"));
if(config.hasKey("lineWidth")) dataSet.setLineWidth((float) config.getDouble("lineWidth"));
Expand Down

0 comments on commit d6d2872

Please sign in to comment.