In order to access the gradient data (without the GUI state), you can get the ImGG::Gradient with gradient_widget.gradient(). Settings::should_use_a_random_color_for ...
ImPlot is an immediate mode, GPU accelerated plotting library for Dear ImGui. It aims to provide a first-class API that ImGui fans will love. ImPlot is well suited for visualizing program data in real ...