Skip to content

Commit

Permalink
Persist chart config if only color, line style or area is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
buchen committed May 20, 2013
1 parent befbb2a commit d508079
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ public void run()
paintItem.series.setColor(resources.createColor(newColor));
paintItem.layout();
listener.onUpdate();
persist();
}
}
});
Expand All @@ -481,6 +482,7 @@ public void run()
{
paintItem.series.setLineStyle(style);
listener.onUpdate();
persist();
}
};
action.setChecked(style == paintItem.series.getLineStyle());
Expand All @@ -495,6 +497,7 @@ public void run()
{
paintItem.series.setShowArea(!paintItem.series.isShowArea());
listener.onUpdate();
persist();
}
};
actionShowArea.setChecked(paintItem.series.isShowArea());
Expand Down

0 comments on commit d508079

Please sign in to comment.