Skip to content

Commit

Permalink
fix(moneymanagerex#5685): remove double shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriele-v committed Jan 7, 2024
1 parent 2b4e8f6 commit 05dbdc0
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/reports/transactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,22 +457,17 @@ table {
// Chart
if (chart > -1 && values_chart.size() > 0)
{
hb.addDivContainer("shadow");
GraphData gd;
GraphSeries gs;
for (const auto& kv : values_chart)
{
GraphData gd;
GraphSeries gs;
for (const auto& kv : values_chart)
{
gd.labels.push_back(kv.first);
gs.values.push_back(kv.second);
}
gd.series.push_back(gs);
//gd.colors = { mmThemeMetaColour(meta::COLOR_REPORT_DELTA) };
gd.type = static_cast<GraphData::GraphType>(chart);
hb.addChart(gd);
hb.end();
gd.labels.push_back(kv.first);
gs.values.push_back(kv.second);
}
hb.endDiv();
gd.series.push_back(gs);
//gd.colors = { mmThemeMetaColour(meta::COLOR_REPORT_DELTA) };
gd.type = static_cast<GraphData::GraphType>(chart);
hb.addChart(gd);
}

// Filters recap
Expand Down

0 comments on commit 05dbdc0

Please sign in to comment.