Skip to content

Commit

Permalink
Add ability set labelCountForce
Browse files Browse the repository at this point in the history
  • Loading branch information
xwartz committed Dec 10, 2016
1 parent 453758e commit 518750d
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,13 @@ private void setYAxisInfo(YAxis axis,ReadableMap v){
if(v.hasKey("spaceBottom")) axis.setSpaceBottom((float) (v.getDouble("spaceBottom")));

if(v.hasKey("showOnlyMinMax")) axis.setShowOnlyMinMax(v.getBoolean("showOnlyMinMax"));
if(v.hasKey("labelCount")) axis.setLabelCount(v.getInt("labelCount"), true);
if(v.hasKey("labelCount")) {
boolean labelCountForce = false;
if (v.hasKey("labelCountForce")) {
labelCountForce = v.getBoolean("labelCountForce");
}
axis.setLabelCount(v.getInt("labelCount"), labelCountForce);
}

if(v.hasKey("position")) {
String name=v.getString("position");
Expand Down

0 comments on commit 518750d

Please sign in to comment.