Skip to content

Commit

Permalink
categories move to assign
Browse files Browse the repository at this point in the history
  • Loading branch information
schaumb committed Apr 4, 2024
1 parent 8059cdb commit ea468e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chart/generator/plot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ Plot::MarkerInfoContent::MarkerInfoContent(const Marker &marker,
if (dataCube && dataCube->getTable() && !index.empty()) {
markerId = marker.idx;
auto &&dataCellInfo = dataCube->cellInfo(index);
content = std::move(dataCellInfo.categories);
content.assign(std::begin(dataCellInfo.categories),
std::end(dataCellInfo.categories));

auto conv = Conv::NumberToString{.fractionDigitCount = 3};
for (auto &&[ser, val] : dataCellInfo.values)
Expand Down

0 comments on commit ea468e8

Please sign in to comment.