struct ImPlotItemGroup

Overview

#include <implot_internal.h>

struct ImPlotItemGroup
{
    // fields

    ImGuiID ID;
    ImPlotLegend Legend;
    ImPool<ImPlotItem> ItemPool;
    int ColormapIdx;
    ImPlotMarker MarkerIdx;

    // methods

    int GetItemCount() const;
    ImGuiID GetItemID(const char* label_id);
    ImPlotItem* GetItem(ImGuiID id);
    ImPlotItem* GetItem(const char* label_id);
    ImPlotItem* GetOrAddItem(ImGuiID id);
    ImPlotItem* GetItemByIndex(int i);
    int GetItemIndex(ImPlotItem* item);
    int GetLegendCount() const;
    ImPlotItem* GetLegendItem(int i);
    const char* GetLegendLabel(int i);
    void Reset();
};