MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setColor

Method setColor

pj_runtime/src/CurveColorRegistry.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void CurveColorRegistry::setColor(const QString& curve_key, const QString& hex_color) {
14 colors_[curve_key] = hex_color;
15}
16
17int CurveColorRegistry::nextPaletteIndex() {
18 return next_palette_index_++;

Callers 2

TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36