struct ImPlotTicker

Overview

#include <implot_internal.h>

struct ImPlotTicker
{
    // fields

    ImVector<ImPlotTick> Ticks;
    ImGuiTextBuffer TextBuffer;
    ImVec2 MaxSize;
    ImVec2 LateSize;
    int Levels;

    // methods

    ImPlotTick& AddTick(
        double value,
        bool major,
        int level,
        bool show_label,
        const char* label
        );

    ImPlotTick& AddTick(
        double value,
        bool major,
        int level,
        bool show_label,
        ImPlotFormatter formatter,
        void* data
        );

    ImPlotTick& AddTick(ImPlotTick tick);
    const char* GetText(int idx) const;
    const char* GetText(const ImPlotTick& tick);
    void OverrideSizeLate(const ImVec2& size);
    void Reset();
    int TickCount() const;
};