Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify UG, DG and PPP for Chart feature #188

Merged
merged 6 commits into from
Apr 13, 2019

Conversation

chung-ming
Copy link
Member

No description provided.

@chung-ming chung-ming added the type.Task Something that needs to be done, but not a story, bug, or an epic. label Apr 13, 2019
@chung-ming chung-ming added this to the v1.4 milestone Apr 13, 2019
@chung-ming chung-ming self-assigned this Apr 13, 2019
@@ -151,7 +151,7 @@ private void createPieChart(List<RatingChart> ratingList) {
for (int i = 0; i < tempRatingList.size(); i++) {
RatingChart rating = tempRatingList.get(i);
String ratingName = rating.getChartRating().toString();
if (i == 0) {
if (ratingName.equals("1")) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If possible, could you change the "1" into a static variable to avoid magic numbers?

@nivenang nivenang merged commit fd80aaf into CS2103-AY1819S2-W11-3:master Apr 13, 2019
@chung-ming chung-ming deleted the modify-docs branch April 14, 2019 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type.Task Something that needs to be done, but not a story, bug, or an epic.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants