Skip to content

Commit

Permalink
Merge pull request #66 from consenlabs/master
Browse files Browse the repository at this point in the history
Add EntrySpace option for legend
  • Loading branch information
hongyin163 authored Jan 9, 2017
2 parents 67746c4 + 253dba9 commit 415f317
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ public void setLegend(BarLineChartBase chart,ReadableMap v){
if(v.hasKey("textSize")) legend.setTextSize((float) v.getDouble("textSize"));
if(v.hasKey("xOffset")) legend.setXOffset((float) v.getDouble("xOffset"));
if(v.hasKey("yOffset")) legend.setYOffset((float) v.getDouble("yOffset"));
if(v.hasKey("xEntrySpace")) legend.setXEntrySpace((float) v.getDouble("xEntrySpace"));
if(v.hasKey("yEntrySpace")) legend.setYEntrySpace((float) v.getDouble("yEntrySpace"));

if(v.hasKey("custom")){
ReadableMap custom=v.getMap("custom");
Expand Down

0 comments on commit 415f317

Please sign in to comment.