MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / AddTicksCustom

Function AddTicksCustom

Source/3rdParty/implot/implot.cpp:880–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void AddTicksCustom(const double* values, const char* const labels[], int n, ImPlotTicker& ticker, ImPlotFormatter formatter, void* data) {
881 for (int i = 0; i < n; ++i) {
882 if (labels != nullptr)
883 ticker.AddTick(values[i], false, 0, true, labels[i]);
884 else
885 ticker.AddTick(values[i], false, 0, true, formatter, data);
886 }
887}
888
889//-----------------------------------------------------------------------------
890// Time Ticks and Utils

Callers 1

SetupAxisTicksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected