Skip to content

Commit

Permalink
Merge pull request #2 from kennipj/fix-bar-overlap
Browse files Browse the repository at this point in the history
Increase gap between each horizontal bar in the `action_dpet` chart
  • Loading branch information
kennipj authored Jan 2, 2022
2 parents e630872 + f37af02 commit eb66acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/report/charts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "sc_report.hpp"
#include <util/json.hpp>
#include <sstream>
#include "charts.h";
#include "charts.h"

using json = nlohmann::json;

Expand Down Expand Up @@ -594,7 +594,7 @@ namespace p_charts
data.push_back(charts::chart_data_point(st->name(), charts::colors::school_color(st->school), st->apet));
}
auto chart = charts::horizontal_bar_chart("Damage per Execute Time", player->name_str, "Damage per Execute Time", data);
return charts::chart(525, 30 + (25 * num_stats), chart_to_js(chart.to_json().dump(), idx, "dpet"), "dpet", idx);
return charts::chart(525, 30 + (30 * num_stats), chart_to_js(chart.to_json().dump(), idx, "dpet"), "dpet", idx);
}

charts::chart _sources_chart(player_t* player, int idx)
Expand Down

0 comments on commit eb66acf

Please sign in to comment.