Skip to content

Commit

Permalink
Add EntrySpace option for legend
Browse files Browse the repository at this point in the history
  • Loading branch information
xwartz committed Dec 19, 2016
1 parent 518750d commit 253dba9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,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 253dba9

Please sign in to comment.