implot

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 6 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTextCentered added in v1.2.0

func AddTextCentered(DrawList *imgui.DrawList, top_center imgui.Vec2, col uint32, text_begin string)

func AddTextCenteredV added in v1.2.0

func AddTextCenteredV(DrawList *imgui.DrawList, top_center imgui.Vec2, col uint32, text_begin string)

Draws multiline horizontal text centered. AddTextCenteredV parameter default value hint:

func AddTextVertical added in v1.2.0

func AddTextVertical(DrawList *imgui.DrawList, pos imgui.Vec2, col uint32, text_begin string)

func AddTextVerticalV added in v1.2.0

func AddTextVerticalV(DrawList *imgui.DrawList, pos imgui.Vec2, col uint32, text_begin string)

Draws vertical text. The position is the bottom left of the text rect. AddTextVerticalV parameter default value hint:

func AllAxesInputLocked added in v1.2.0

func AllAxesInputLocked(axes *Axis, count int32) bool

Returns true if all enabled axes are locked from user input.

func AnnotationBool added in v1.2.0

func AnnotationBool(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool)

func AnnotationBoolV added in v1.2.0

func AnnotationBoolV(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp, round bool)

Shows an annotation callout at a chosen point. Clamping keeps annotations in the plot area. Annotations are always rendered on top. AnnotationBoolV parameter default value hint: round: false

func AnnotationStr added in v1.2.0

func AnnotationStr(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool, fmt string)

func AnnotationStr0 added in v1.6.0

func AnnotationStr0(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool, fmt string)

func AnyAxesHeld added in v1.2.0

func AnyAxesHeld(axes *Axis, count int32) bool

func AnyAxesHovered added in v1.2.0

func AnyAxesHovered(axes *Axis, count int32) bool

func AnyAxesInputLocked added in v1.2.0

func AnyAxesInputLocked(axes *Axis, count int32) bool

Returns true if any enabled axis is locked from user input.

func BeginAlignedPlots added in v1.2.0

func BeginAlignedPlots(group_id string) bool

func BeginAlignedPlotsV added in v1.2.0

func BeginAlignedPlotsV(group_id string, vertical bool) bool

Align axis padding over multiple plots in a single row or column. #group_id must be unique. If this function returns true, EndAlignedPlots() must be called. BeginAlignedPlotsV parameter default value hint: vertical: true

func BeginDragDropSourceAxis added in v1.2.0

func BeginDragDropSourceAxis(axis AxisEnum) bool

func BeginDragDropSourceAxisV added in v1.2.0

func BeginDragDropSourceAxisV(axis AxisEnum, flags imgui.DragDropFlags) bool

Turns the current plot's X-axis into a drag and drop source. You must hold Ctrl. Don't forget to call EndDragDropSource! BeginDragDropSourceAxisV parameter default value hint: flags: 0

func BeginDragDropSourceItem added in v1.2.0

func BeginDragDropSourceItem(label_id string) bool

func BeginDragDropSourceItemV added in v1.2.0

func BeginDragDropSourceItemV(label_id string, flags imgui.DragDropFlags) bool

Turns an item in the current plot's legend into drag and drop source. Don't forget to call EndDragDropSource! BeginDragDropSourceItemV parameter default value hint: flags: 0

func BeginDragDropSourcePlot added in v1.2.0

func BeginDragDropSourcePlot() bool

func BeginDragDropSourcePlotV added in v1.2.0

func BeginDragDropSourcePlotV(flags imgui.DragDropFlags) bool

Turns the current plot's plotting area into a drag and drop source. You must hold Ctrl. Don't forget to call EndDragDropSource! BeginDragDropSourcePlotV parameter default value hint: flags: 0

func BeginDragDropTargetAxis added in v1.2.0

func BeginDragDropTargetAxis(axis AxisEnum) bool

Turns the current plot's X-axis into a drag and drop target. Don't forget to call EndDragDropTarget!

func BeginDragDropTargetLegend added in v1.2.0

func BeginDragDropTargetLegend() bool

Turns the current plot's legend into a drag and drop target. Don't forget to call EndDragDropTarget!

func BeginDragDropTargetPlot added in v1.2.0

func BeginDragDropTargetPlot() bool

Turns the current plot's plotting area into a drag and drop target. Don't forget to call EndDragDropTarget!

func BeginItem added in v1.2.0

func BeginItem(label_id string) bool

func BeginItemV added in v1.2.0

func BeginItemV(label_id string, spec Spec, item_col imgui.Vec4, item_mkr Marker) bool

Begins a new item. Returns false if the item should not be plotted. Pushes PlotClipRect. BeginItemV parameter default value hint: spec: ImPlotSpec() item_col: IMPLOT_AUTO_COL item_mkr: ImPlotMarker_Invalid

func BeginLegendPopup added in v1.2.0

func BeginLegendPopup(label_id string) bool

func BeginLegendPopupV added in v1.2.0

func BeginLegendPopupV(label_id string, mouse_button imgui.MouseButton) bool

Begin a popup for a legend entry. BeginLegendPopupV parameter default value hint: mouse_button: 1

func BeginPlot added in v1.2.0

func BeginPlot(title_id string) bool

func BeginPlotV added in v1.2.0

func BeginPlotV(title_id string, size imgui.Vec2, flags Flags) bool

Starts a 2D plotting context. If this function returns true, EndPlot() MUST be called! You are encouraged to use the following convention:

if (BeginPlot(...))

PlotLine(...);
...
EndPlot();

Important notes:

  • #title_id must be unique to the current ImGui ID scope. If you need to avoid ID collisions or don't want to display a title in the plot, use double hashes (e.g. "MyPlot##HiddenIdText" or "##NoTitle").
  • #size is the **frame** size of the plot widget, not the plot area. The default size of plots (i.e. when ImVec2(0,0)) can be modified in your ImPlotStyle.

BeginPlotV parameter default value hint: size: ImVec2(-1,0) flags: 0

func BeginSubplots added in v1.2.0

func BeginSubplots(title_id string, rows, cols int32, size imgui.Vec2) bool

func BeginSubplotsV added in v1.2.0

func BeginSubplotsV(title_id string, rows, cols int32, size imgui.Vec2, flags SubplotFlags, row_ratios, col_ratios *float32) bool

BeginSubplotsV parameter default value hint: flags: 0 row_ratios: nullptr col_ratios: nullptr

func BustColorCache added in v1.2.0

func BustColorCache()

func BustColorCacheV added in v1.2.0

func BustColorCacheV(plot_title_id string)

When items in a plot sample their color from a colormap, the color is cached and does not change unless explicitly overridden. Therefore, if you change the colormap after the item has already been plotted, item colors will NOT update. If you need item colors to resample the new colormap, then use this function to bust the cached colors. If #plot_title_id is nullptr, then every item in EVERY existing plot will be cache busted. Otherwise only the plot specified by #plot_title_id will be busted. For the latter, this function must be called in the same ImGui ID scope that the plot is in. You should rarely if ever need this function, but it is available for applications that require runtime colormap swaps (e.g. Heatmaps demo). BustColorCacheV parameter default value hint: plot_title_id: nullptr

func BustItemCache added in v1.2.0

func BustItemCache()

Busts the cache for every item for every plot in the current context.

func BustPlotCache added in v1.2.0

func BustPlotCache()

Busts the cache for every plot in the current context

func CalcHoverColor added in v1.2.0

func CalcHoverColor(col uint32) uint32

Lightens or darkens a color for hover

func CalcLegendSize added in v1.2.0

func CalcLegendSize(items *ItemGroup, pad, spacing imgui.Vec2, vertical bool) imgui.Vec2

Calculates the bounding box size of a legend _before_ clipping.

func CalcTextColorU32 added in v1.2.0

func CalcTextColorU32(bg uint32) uint32

func CalcTextColorVec4 added in v1.2.0

func CalcTextColorVec4(bg imgui.Vec4) uint32

Returns white or black text given background color

func CalcTextSizeVertical added in v1.2.0

func CalcTextSizeVertical(text string) imgui.Vec2

Calculates the size of vertical text

func CancelPlotSelection added in v1.2.0

func CancelPlotSelection()

Cancels a the current plot box selection.

func ClampLabelPos added in v1.2.0

func ClampLabelPos(pos, size, Min, Max imgui.Vec2) imgui.Vec2

Clamps a label position so that it fits a rect defined by Min/Max

func ClampLegendRect added in v1.2.0

func ClampLegendRect(legend_rect *imgui.Rect, outer_rect imgui.Rect, pad imgui.Vec2) bool

Clips calculated legend size

func ClearFormatterPool added in v1.2.0

func ClearFormatterPool()

func ClearTransformPool added in v1.2.0

func ClearTransformPool()

func ClearterPool added in v1.2.0

func ClearterPool()

func ColormapButton added in v1.2.0

func ColormapButton(label string) bool

func ColormapButtonV added in v1.2.0

func ColormapButtonV(label string, size imgui.Vec2, cmap Colormap) bool

Shows a button with a colormap gradient background. ColormapButtonV parameter default value hint: size: ImVec2(0,0) cmap: IMPLOT_AUTO

func ColormapIcon added in v1.2.0

func ColormapIcon(cmap Colormap)

func ColormapScale added in v1.2.0

func ColormapScale(label string, scale_min, scale_max float64)

func ColormapScaleV added in v1.2.0

func ColormapScaleV(label string, scale_min, scale_max float64, size imgui.Vec2, format string, flags ColormapScaleFlags, cmap Colormap)

Shows a vertical color scale with linear spaced ticks using the specified color map. Use double hashes to hide label (e.g. "##NoLabel"). If scale_min > scale_max, the scale to color mapping will be reversed. ColormapScaleV parameter default value hint: size: ImVec2(0,0) format: "%g" flags: 0 cmap: IMPLOT_AUTO

func ColormapSlider added in v1.2.0

func ColormapSlider(label string, t *float32) bool

func ColormapSliderV added in v1.2.0

func ColormapSliderV(label string, t *float32, out *imgui.Vec4, format string, cmap Colormap) bool

Shows a horizontal slider with a colormap gradient background. Optionally returns the color sampled at t in [0 1]. ColormapSliderV parameter default value hint: out: nullptr format: "" cmap: IMPLOT_AUTO

func DestroyContext added in v1.2.0

func DestroyContext()

func DestroyContextV added in v1.2.0

func DestroyContextV(ctx *Context)

Destroys an ImPlot context. Call this before ImGui::DestroyContext. nullptr = destroy current context. DestroyContextV parameter default value hint: ctx: nullptr

func DragLineX added in v1.2.0

func DragLineX(id int32, x *float64, col imgui.Vec4) bool

func DragLineXV added in v1.2.0

func DragLineXV(id int32, x *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked, out_hovered, out_held *bool) bool

Shows a draggable vertical guide line at an x-value. #col defaults to ImGuiCol_Text. DragLineXV parameter default value hint: thickness: 1 flags: 0 out_clicked: nullptr out_hovered: nullptr out_held: nullptr

func DragLineY added in v1.2.0

func DragLineY(id int32, y *float64, col imgui.Vec4) bool

func DragLineYV added in v1.2.0

func DragLineYV(id int32, y *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked, out_hovered, out_held *bool) bool

Shows a draggable horizontal guide line at a y-value. #col defaults to ImGuiCol_Text. DragLineYV parameter default value hint: thickness: 1 flags: 0 out_clicked: nullptr out_hovered: nullptr out_held: nullptr

func DragPoint added in v1.2.0

func DragPoint(id int32, x, y *float64, col imgui.Vec4) bool

func DragPointV added in v1.2.0

func DragPointV(id int32, x, y *float64, col imgui.Vec4, size float32, flags DragToolFlags, out_clicked, out_hovered, out_held *bool) bool

Shows a draggable point at x,y. #col defaults to ImGuiCol_Text. DragPointV parameter default value hint: size: 4 flags: 0 out_clicked: nullptr out_hovered: nullptr out_held: nullptr

func DragRect added in v1.2.0

func DragRect(id int32, x1, y1, x2, y2 *float64, col imgui.Vec4) bool

func DragRectV added in v1.2.0

func DragRectV(id int32, x1, y1, x2, y2 *float64, col imgui.Vec4, flags DragToolFlags, out_clicked, out_hovered, out_held *bool) bool

Shows a draggable and resizeable rectangle. DragRectV parameter default value hint: flags: 0 out_clicked: nullptr out_hovered: nullptr out_held: nullptr

func EndAlignedPlots added in v1.2.0

func EndAlignedPlots()

Only call EndAlignedPlots() if BeginAlignedPlots() returns true!

func EndDragDropSource added in v1.2.0

func EndDragDropSource()

Ends a drag and drop source (currently just an alias for ImGui::EndDragDropSource).

func EndDragDropTarget added in v1.2.0

func EndDragDropTarget()

Ends a drag and drop target (currently just an alias for ImGui::EndDragDropTarget).

func EndItem added in v1.2.0

func EndItem()

Ends an item (call only if BeginItem returns true). Pops PlotClipRect.

func EndLegendPopup added in v1.2.0

func EndLegendPopup()

End a popup for a legend entry.

func EndPlot added in v1.2.0

func EndPlot()

Only call EndPlot() if BeginPlot() returns true! Typically called at the end of an if statement conditioned on BeginPlot(). See example above.

func EndSubplots added in v1.2.0

func EndSubplots()

Only call EndSubplots() if BeginSubplots() returns true! Typically called at the end of an if statement conditioned on BeginSubplots(). See example above.

func FitPoint added in v1.2.0

func FitPoint(p PlotPoint)

Extends the current plot's axes so that it encompasses point p

func FitPointX added in v1.2.0

func FitPointX(x float64)

Extends the current plot's axes so that it encompasses a vertical line at x

func FitPointY added in v1.2.0

func FitPointY(y float64)

Extends the current plot's axes so that it encompasses a horizontal line at y

func FitThisFrame added in v1.2.0

func FitThisFrame() bool

Returns true if the user has requested data to be fit.

func FormatDate added in v1.2.0

func FormatDate(t PlotTime, buffer string, size int32, fmt DateFmt, use_iso_8601 bool) int32

Formats the date part of timestamp t into a buffer according to #fmt

func FormatDateTime added in v1.2.0

func FormatDateTime(t PlotTime, buffer string, size int32, fmt DateTimeSpec) int32

Formats the time and/or date parts of a timestamp t into a buffer according to #fmt

func FormatTime added in v1.2.0

func FormatTime(t PlotTime, buffer string, size int32, fmt TimeFmt, use_24_hr_clk bool) int32

Formats the time part of timestamp t into a buffer according to #fmt

func FormatterDefault added in v1.2.0

func FormatterDefault(value float64, buff string, size int32, data uintptr) int32

func FormatterLogit added in v1.2.0

func FormatterLogit(value float64, buff string, size int32, noname1 uintptr) int32

func FormatterTime added in v1.2.0

func FormatterTime(noname1 float64, buff string, size int32, data uintptr) int32

func GetAutoColor added in v1.2.0

func GetAutoColor(idx Col) imgui.Vec4

Returns the automatically deduced style color

func GetColormapColor added in v1.2.0

func GetColormapColor(idx int32) imgui.Vec4

func GetColormapColorU32 added in v1.2.0

func GetColormapColorU32(idx int32, cmap Colormap) uint32

Returns a color from the Color map given an index >= 0 (modulo will be performed).

func GetColormapColorV added in v1.2.0

func GetColormapColorV(idx int32, cmap Colormap) imgui.Vec4

Returns a color from a colormap given an index >= 0 (modulo will be performed). GetColormapColorV parameter default value hint: cmap: IMPLOT_AUTO

func GetColormapCount added in v1.2.0

func GetColormapCount() int32

Returns the number of available colormaps (i.e. the built-in + user-added count).

func GetColormapName added in v1.2.0

func GetColormapName(cmap Colormap) string

Returns a null terminated string name for a colormap given an index. Returns nullptr if index is invalid.

func GetColormapSize added in v1.2.0

func GetColormapSize() int32

func GetColormapSizeV added in v1.2.0

func GetColormapSizeV(cmap Colormap) int32

Returns the size of a colormap. GetColormapSizeV parameter default value hint: cmap: IMPLOT_AUTO

func GetDaysInMonth added in v1.2.0

func GetDaysInMonth(year, month int32) int32

Returns the number of days in a month, accounting for Feb. leap years. #month is zero indexed.

func GetLastItemColor added in v1.2.0

func GetLastItemColor() imgui.Vec4

Gets the last item primary color (i.e. its legend icon color)

func GetLocationPos added in v1.2.0

func GetLocationPos(outer_rect imgui.Rect, inner_size imgui.Vec2, location Location) imgui.Vec2

func GetLocationPosV added in v1.2.0

func GetLocationPosV(outer_rect imgui.Rect, inner_size imgui.Vec2, location Location, pad imgui.Vec2) imgui.Vec2

Gets the position of an inner rect that is located inside of an outer rect according to an ImPlotLocation and padding amount. GetLocationPosV parameter default value hint: pad: ImVec2(0,0)

func GetMarkerName added in v1.2.0

func GetMarkerName(idx Marker) string

Returns the null terminated string name for an ImPlotMarker.

func GetMonth added in v1.3.1

func GetMonth(t PlotTime) int32

Get month component from timestamp [0-11]

func GetPlotDrawList added in v1.2.0

func GetPlotDrawList() *imgui.DrawList

Get the plot draw list for custom rendering to the current plot area. Call between Begin/EndPlot.

func GetPlotPos added in v1.2.0

func GetPlotPos() imgui.Vec2

Get the current Plot position (top-left) in pixels.

func GetPlotSize added in v1.2.0

func GetPlotSize() imgui.Vec2

Get the current Plot size in pixels.

func GetStyleColorName added in v1.2.0

func GetStyleColorName(idx Col) string

Returns the null terminated string name for an ImPlotCol.

func GetStyleColorU32 added in v1.2.0

func GetStyleColorU32(idx Col) uint32

func GetStyleColorVec4 added in v1.2.0

func GetStyleColorVec4(idx Col) imgui.Vec4

Returns the style color whether it is automatic or custom set

func GetYear added in v1.2.0

func GetYear(t PlotTime) int32

Get year component from timestamp [1970-3000]

func HideNextItem added in v1.2.0

func HideNextItem()

func HideNextItemV added in v1.2.0

func HideNextItemV(hidden bool, cond Cond)

Hides or shows the next plot item (i.e. as if it were toggled from the legend). Use ImPlotCond_Always if you need to forcefully set this every frame. HideNextItemV parameter default value hint: hidden: true cond: ImPlotCond_Once

func ImAlmostEqual added in v1.2.0

func ImAlmostEqual(v1, v2 float64) bool

func ImAlmostEqualV added in v1.2.0

func ImAlmostEqualV(v1, v2 float64, ulp int32) bool

True if two numbers are approximately equal using units in the last place. ImAlmostEqualV parameter default value hint: ulp: 2

func ImAlphaU32 added in v1.2.0

func ImAlphaU32(col uint32, alpha float32) uint32

Set alpha channel of 32-bit color from float in range [0.0 1.0]

func ImAsinhFloat added in v1.2.0

func ImAsinhFloat(x float32) float32

func ImAsinhdouble added in v1.2.0

func ImAsinhdouble(x float64) float64

func ImConstrainInf added in v1.2.0

func ImConstrainInf(val float64) float64

Turns infinity to floating point maximums

func ImConstrainLog added in v1.2.0

func ImConstrainLog(val float64) float64

Turns numbers less than or equal to 0 to 0.001 (sort of arbitrary, is there a better way?)

func ImConstrainNan added in v1.2.0

func ImConstrainNan(val float64) float64

Turns NANs to 0s

func ImConstrainTime added in v1.2.0

func ImConstrainTime(val float64) float64

Turns numbers less than 0 to zero

func ImLerpU32 added in v1.2.0

func ImLerpU32(colors *uint32, size int32, t float32) uint32

Lerp across an array of 32-bit colors given t in [0.0 1.0]

func ImLog10Float added in v1.2.0

func ImLog10Float(x float32) float32

Computes the common (base-10) logarithm

func ImLog10double added in v1.2.0

func ImLog10double(x float64) float64

func ImMaxArrayFloatPtr added in v1.2.0

func ImMaxArrayFloatPtr(values *float32, count int32) float32

func ImMaxArrayS8Ptr added in v1.2.0

func ImMaxArrayS8Ptr(values *int8, count int32) int

func ImMaxArrayS16Ptr added in v1.2.0

func ImMaxArrayS16Ptr(values *int16, count int32) int16

func ImMaxArrayS32Ptr added in v1.2.0

func ImMaxArrayS32Ptr(values *int32, count int32) int

func ImMaxArrayS64Ptr added in v1.2.0

func ImMaxArrayS64Ptr(values *int64, count int32) int64

func ImMaxArrayU8Ptr added in v1.2.0

func ImMaxArrayU8Ptr(values *byte, count int32) byte

func ImMaxArrayU16Ptr added in v1.2.0

func ImMaxArrayU16Ptr(values *uint16, count int32) uint16

func ImMaxArrayU32Ptr added in v1.2.0

func ImMaxArrayU32Ptr(values *uint32, count int32) uint32

func ImMaxArrayU64Ptr added in v1.2.0

func ImMaxArrayU64Ptr(values *uint64, count int32) uint64

func ImMaxArraydoublePtr added in v1.2.0

func ImMaxArraydoublePtr(values *float64, count int32) float64

func ImMeanFloatPtr added in v1.2.0

func ImMeanFloatPtr(values *float32, count int32) float64

func ImMeanS8Ptr added in v1.2.0

func ImMeanS8Ptr(values *int8, count int32) float64

func ImMeanS16Ptr added in v1.2.0

func ImMeanS16Ptr(values *int16, count int32) float64

func ImMeanS32Ptr added in v1.2.0

func ImMeanS32Ptr(values *int32, count int32) float64

func ImMeanS64Ptr added in v1.2.0

func ImMeanS64Ptr(values *int64, count int32) float64

func ImMeanU8Ptr added in v1.2.0

func ImMeanU8Ptr(values *byte, count int32) float64

func ImMeanU16Ptr added in v1.2.0

func ImMeanU16Ptr(values *uint16, count int32) float64

func ImMeanU32Ptr added in v1.2.0

func ImMeanU32Ptr(values *uint32, count int32) float64

func ImMeanU64Ptr added in v1.2.0

func ImMeanU64Ptr(values *uint64, count int32) float64

func ImMeandoublePtr added in v1.2.0

func ImMeandoublePtr(values *float64, count int32) float64

func ImMinArrayFloatPtr added in v1.2.0

func ImMinArrayFloatPtr(values *float32, count int32) float32

func ImMinArrayS8Ptr added in v1.2.0

func ImMinArrayS8Ptr(values *int8, count int32) int

func ImMinArrayS16Ptr added in v1.2.0

func ImMinArrayS16Ptr(values *int16, count int32) int16

func ImMinArrayS32Ptr added in v1.2.0

func ImMinArrayS32Ptr(values *int32, count int32) int

func ImMinArrayS64Ptr added in v1.2.0

func ImMinArrayS64Ptr(values *int64, count int32) int64

func ImMinArrayU8Ptr added in v1.2.0

func ImMinArrayU8Ptr(values *byte, count int32) byte

func ImMinArrayU16Ptr added in v1.2.0

func ImMinArrayU16Ptr(values *uint16, count int32) uint16

func ImMinArrayU32Ptr added in v1.2.0

func ImMinArrayU32Ptr(values *uint32, count int32) uint32

func ImMinArrayU64Ptr added in v1.2.0

func ImMinArrayU64Ptr(values *uint64, count int32) uint64

func ImMinArraydoublePtr added in v1.2.0

func ImMinArraydoublePtr(values *float64, count int32) float64

func ImMinMaxArrayFloatPtr added in v1.2.0

func ImMinMaxArrayFloatPtr(values *float32, count int32, min_out, max_out *float32)

func ImMinMaxArrayS8Ptr added in v1.2.0

func ImMinMaxArrayS8Ptr(values *int8, count int32, min_out, max_out *int8)

func ImMinMaxArrayS16Ptr added in v1.2.0

func ImMinMaxArrayS16Ptr(values *int16, count int32, min_out, max_out *int16)

func ImMinMaxArrayS32Ptr added in v1.2.0

func ImMinMaxArrayS32Ptr(values *int32, count int32, min_out, max_out *int32)

func ImMinMaxArrayS64Ptr added in v1.2.0

func ImMinMaxArrayS64Ptr(values *int64, count int32, min_out, max_out *int64)

func ImMinMaxArrayU8Ptr added in v1.2.0

func ImMinMaxArrayU8Ptr(values *byte, count int32, min_out, max_out *byte)

func ImMinMaxArrayU16Ptr added in v1.2.0

func ImMinMaxArrayU16Ptr(values *uint16, count int32, min_out, max_out *uint16)

func ImMinMaxArrayU32Ptr added in v1.2.0

func ImMinMaxArrayU32Ptr(values *uint32, count int32, min_out, max_out *uint32)

func ImMinMaxArrayU64Ptr added in v1.2.0

func ImMinMaxArrayU64Ptr(values *uint64, count int32, min_out, max_out *uint64)

func ImMinMaxArraydoublePtr added in v1.2.0

func ImMinMaxArraydoublePtr(values *float64, count int32, min_out, max_out *float64)

func ImMixU32 added in v1.2.0

func ImMixU32(a, b, s uint32) uint32

Mix color a and b by factor s in [0 256]

func ImNan added in v1.2.0

func ImNan(val float64) bool

Returns true if val is NAN

func ImNanOrInf added in v1.2.0

func ImNanOrInf(val float64) bool

Returns true if val is NAN or INFINITY

func ImOverlapsFloat added in v1.2.0

func ImOverlapsFloat(min_a, max_a, min_b, max_b float32) bool

func ImOverlapsS8 added in v1.2.0

func ImOverlapsS8(min_a, max_a, min_b, max_b int) bool

func ImOverlapsS16 added in v1.2.0

func ImOverlapsS16(min_a, max_a, min_b, max_b int16) bool

func ImOverlapsS32 added in v1.2.0

func ImOverlapsS32(min_a, max_a, min_b, max_b int) bool

func ImOverlapsS64 added in v1.2.0

func ImOverlapsS64(min_a, max_a, min_b, max_b int64) bool

func ImOverlapsU8 added in v1.2.0

func ImOverlapsU8(min_a, max_a, min_b, max_b byte) bool

func ImOverlapsU16 added in v1.2.0

func ImOverlapsU16(min_a, max_a, min_b, max_b uint16) bool

func ImOverlapsU32 added in v1.2.0

func ImOverlapsU32(min_a, max_a, min_b, max_b uint32) bool

func ImOverlapsU64 added in v1.2.0

func ImOverlapsU64(min_a, max_a, min_b, max_b uint64) bool

func ImOverlapsdouble added in v1.2.0

func ImOverlapsdouble(min_a, max_a, min_b, max_b float64) bool

func ImPosMod added in v1.2.0

func ImPosMod(l, r int32) int32

Returns always positive modulo (assumes r != 0)

func ImRemap01Float added in v1.2.0

func ImRemap01Float(x, x0, x1 float32) float32

func ImRemap01S8 added in v1.2.0

func ImRemap01S8(x, x0, x1 int) int

func ImRemap01S16 added in v1.2.0

func ImRemap01S16(x, x0, x1 int16) int16

func ImRemap01S32 added in v1.2.0

func ImRemap01S32(x, x0, x1 int) int

func ImRemap01S64 added in v1.2.0

func ImRemap01S64(x, x0, x1 int64) int64

func ImRemap01U8 added in v1.2.0

func ImRemap01U8(x, x0, x1 byte) byte

func ImRemap01U16 added in v1.2.0

func ImRemap01U16(x, x0, x1 uint16) uint16

func ImRemap01U32 added in v1.2.0

func ImRemap01U32(x, x0, x1 uint32) uint32

func ImRemap01U64 added in v1.2.0

func ImRemap01U64(x, x0, x1 uint64) uint64

func ImRemap01double added in v1.2.0

func ImRemap01double(x, x0, x1 float64) float64

func ImRemapFloat added in v1.2.0

func ImRemapFloat(x, x0, x1, y0, y1 float32) float32

func ImRemapS8 added in v1.2.0

func ImRemapS8(x, x0, x1, y0, y1 int) int

func ImRemapS16 added in v1.2.0

func ImRemapS16(x, x0, x1, y0, y1 int16) int16

func ImRemapS32 added in v1.2.0

func ImRemapS32(x, x0, x1, y0, y1 int) int

func ImRemapS64 added in v1.2.0

func ImRemapS64(x, x0, x1, y0, y1 int64) int64

func ImRemapU8 added in v1.2.0

func ImRemapU8(x, x0, x1, y0, y1 byte) byte

func ImRemapU16 added in v1.2.0

func ImRemapU16(x, x0, x1, y0, y1 uint16) uint16

func ImRemapU32 added in v1.2.0

func ImRemapU32(x, x0, x1, y0, y1 uint32) uint32

func ImRemapU64 added in v1.2.0

func ImRemapU64(x, x0, x1, y0, y1 uint64) uint64

func ImRemapdouble added in v1.2.0

func ImRemapdouble(x, x0, x1, y0, y1 float64) float64

func ImSinhFloat added in v1.2.0

func ImSinhFloat(x float32) float32

func ImSinhdouble added in v1.2.0

func ImSinhdouble(x float64) float64

func ImStdDevFloatPtr added in v1.2.0

func ImStdDevFloatPtr(values *float32, count int32) float64

func ImStdDevS8Ptr added in v1.2.0

func ImStdDevS8Ptr(values *int8, count int32) float64

func ImStdDevS16Ptr added in v1.2.0

func ImStdDevS16Ptr(values *int16, count int32) float64

func ImStdDevS32Ptr added in v1.2.0

func ImStdDevS32Ptr(values *int32, count int32) float64

func ImStdDevS64Ptr added in v1.2.0

func ImStdDevS64Ptr(values *int64, count int32) float64

func ImStdDevU8Ptr added in v1.2.0

func ImStdDevU8Ptr(values *byte, count int32) float64

func ImStdDevU16Ptr added in v1.2.0

func ImStdDevU16Ptr(values *uint16, count int32) float64

func ImStdDevU32Ptr added in v1.2.0

func ImStdDevU32Ptr(values *uint32, count int32) float64

func ImStdDevU64Ptr added in v1.2.0

func ImStdDevU64Ptr(values *uint64, count int32) float64

func ImStdDevdoublePtr added in v1.2.0

func ImStdDevdoublePtr(values *float64, count int32) float64

func ImSumFloatPtr added in v1.2.0

func ImSumFloatPtr(values *float32, count int32) float32

func ImSumS8Ptr added in v1.2.0

func ImSumS8Ptr(values *int8, count int32) int

func ImSumS16Ptr added in v1.2.0

func ImSumS16Ptr(values *int16, count int32) int16

func ImSumS32Ptr added in v1.2.0

func ImSumS32Ptr(values *int32, count int32) int

func ImSumS64Ptr added in v1.2.0

func ImSumS64Ptr(values *int64, count int32) int64

func ImSumU8Ptr added in v1.2.0

func ImSumU8Ptr(values *byte, count int32) byte

func ImSumU16Ptr added in v1.2.0

func ImSumU16Ptr(values *uint16, count int32) uint16

func ImSumU32Ptr added in v1.2.0

func ImSumU32Ptr(values *uint32, count int32) uint32

func ImSumU64Ptr added in v1.2.0

func ImSumU64Ptr(values *uint64, count int32) uint64

func ImSumdoublePtr added in v1.2.0

func ImSumdoublePtr(values *float64, count int32) float64

func Initialize added in v1.2.0

func Initialize(ctx *Context)

Initializes an ImPlotContext

func Intersection added in v1.2.0

func Intersection(a1, a2, b1, b2 imgui.Vec2) imgui.Vec2

Returns the intersection point of two lines A and B (assumes they are not parallel!)

func IsAxisHovered added in v1.2.0

func IsAxisHovered(axis AxisEnum) bool

Returns true if the axis label area in the current plot is hovered.

func IsColorAutoPlotCol added in v1.2.0

func IsColorAutoPlotCol(idx Col) bool

Returns true if a style color is set to be automatically determined

func IsColorAutoVec4 added in v1.2.0

func IsColorAutoVec4(col imgui.Vec4) bool

Returns true if a color is set to be automatically determined

func IsLeapYear added in v1.2.0

func IsLeapYear(year int32) bool

Returns true if year is leap year (366 days long)

func IsLegendEntryHovered added in v1.2.0

func IsLegendEntryHovered(label_id string) bool

Returns true if a plot item legend entry is hovered.

func IsPlotHovered added in v1.2.0

func IsPlotHovered() bool

Returns true if the plot area in the current plot is hovered.

func IsPlotSelected added in v1.2.0

func IsPlotSelected() bool

Returns true if the current plot is being box selected.

func IsSubplotsHovered added in v1.2.0

func IsSubplotsHovered() bool

Returns true if the bounding frame of a subplot is hovered.

func ItemIconU32 added in v1.2.0

func ItemIconU32(col uint32)

func ItemIconVec4 added in v1.2.0

func ItemIconVec4(col imgui.Vec4)

Render icons similar to those that appear in legends (nifty for data lists).

func LabelAxisValue added in v1.2.0

func LabelAxisValue(axis Axis, value float64, buff string, size int32)

func LabelAxisValueV added in v1.2.0

func LabelAxisValueV(axis Axis, value float64, buff string, size int32, round bool)

Create a a string label for a an axis value LabelAxisValueV parameter default value hint: round: false

func LocatorDefault added in v1.2.0

func LocatorDefault(ticker *Ticker, rangeArg Range, pixels float32, vertical bool, formatter Formatter, formatter_data uintptr)

func LocatorLog10 added in v1.2.0

func LocatorLog10(ticker *Ticker, rangeArg Range, pixels float32, vertical bool, formatter Formatter, formatter_data uintptr)

func LocatorSymLog added in v1.2.0

func LocatorSymLog(ticker *Ticker, rangeArg Range, pixels float32, vertical bool, formatter Formatter, formatter_data uintptr)

func LocatorTime added in v1.2.0

func LocatorTime(ticker *Ticker, rangeArg Range, pixels float32, vertical bool, formatter Formatter, formatter_data uintptr)

func MapInputDefault added in v1.2.0

func MapInputDefault()

func MapInputDefaultV added in v1.2.0

func MapInputDefaultV(dst *InputMap)

Default input mapping: pan = LMB drag, box select = RMB drag, fit = LMB double click, context menu = RMB click, zoom = scroll. MapInputDefaultV parameter default value hint: dst: nullptr

func MapInputReverse added in v1.2.0

func MapInputReverse()

func MapInputReverseV added in v1.2.0

func MapInputReverseV(dst *InputMap)

Reverse input mapping: pan = RMB drag, box select = LMB drag, fit = LMB double click, context menu = RMB click, zoom = scroll. MapInputReverseV parameter default value hint: dst: nullptr

func NewterFromC added in v1.2.0

func NewterFromC(cvalue *C.ImPlotGetter) *ter

func NextColormapColor added in v1.2.0

func NextColormapColor() imgui.Vec4

Returns the next color from the current colormap and advances the colormap for the current plot. Can also be used with no return value to skip colors if desired. You need to call this between Begin/EndPlot!

func NextColormapColorU32 added in v1.2.0

func NextColormapColorU32() uint32

Returns the next unused colormap color and advances the colormap. Can be used to skip colors if desired.

func NiceNum added in v1.2.0

func NiceNum(x float64, round bool) float64

Rounds x to powers of 2,5 and 10 for generating axis labels (from Graphics Gems 1 Chapter 11.2)

func OrderOfMagnitude added in v1.2.0

func OrderOfMagnitude(val float64) int32

Computes order of magnitude of double.

func OrderToPrecision added in v1.2.0

func OrderToPrecision(order int32) int32

Returns the precision required for a order of magnitude.

func PlotBarGroupsFloatPtr added in v1.2.0

func PlotBarGroupsFloatPtr(label_ids []string, values *float32, item_count, group_count int32)

func PlotBarGroupsFloatPtrV added in v1.2.0

func PlotBarGroupsFloatPtrV(label_ids []string, values *float32, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsFloatPtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsS8Ptr added in v1.2.0

func PlotBarGroupsS8Ptr(label_ids []string, values *int8, item_count, group_count int32)

func PlotBarGroupsS8PtrV added in v1.2.0

func PlotBarGroupsS8PtrV(label_ids []string, values *int8, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsS8PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsS16Ptr added in v1.2.0

func PlotBarGroupsS16Ptr(label_ids []string, values *int16, item_count, group_count int32)

func PlotBarGroupsS16PtrV added in v1.2.0

func PlotBarGroupsS16PtrV(label_ids []string, values *int16, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsS16PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsS32Ptr added in v1.2.0

func PlotBarGroupsS32Ptr(label_ids []string, values *int32, item_count, group_count int32)

func PlotBarGroupsS32PtrV added in v1.2.0

func PlotBarGroupsS32PtrV(label_ids []string, values *int32, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsS32PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsS64Ptr added in v1.2.0

func PlotBarGroupsS64Ptr(label_ids []string, values *int64, item_count, group_count int32)

func PlotBarGroupsS64PtrV added in v1.2.0

func PlotBarGroupsS64PtrV(label_ids []string, values *int64, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsS64PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsU8Ptr added in v1.2.0

func PlotBarGroupsU8Ptr(label_ids []string, values *byte, item_count, group_count int32)

func PlotBarGroupsU8PtrV added in v1.2.0

func PlotBarGroupsU8PtrV(label_ids []string, values *byte, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsU8PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsU16Ptr added in v1.2.0

func PlotBarGroupsU16Ptr(label_ids []string, values *uint16, item_count, group_count int32)

func PlotBarGroupsU16PtrV added in v1.2.0

func PlotBarGroupsU16PtrV(label_ids []string, values *uint16, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsU16PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsU32Ptr added in v1.2.0

func PlotBarGroupsU32Ptr(label_ids []string, values *uint32, item_count, group_count int32)

func PlotBarGroupsU32PtrV added in v1.2.0

func PlotBarGroupsU32PtrV(label_ids []string, values *uint32, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsU32PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsU64Ptr added in v1.2.0

func PlotBarGroupsU64Ptr(label_ids []string, values *uint64, item_count, group_count int32)

func PlotBarGroupsU64PtrV added in v1.2.0

func PlotBarGroupsU64PtrV(label_ids []string, values *uint64, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsU64PtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarGroupsdoublePtr added in v1.2.0

func PlotBarGroupsdoublePtr(label_ids []string, values *float64, item_count, group_count int32)

func PlotBarGroupsdoublePtrV added in v1.2.0

func PlotBarGroupsdoublePtrV(label_ids []string, values *float64, item_count, group_count int32, group_size, shift float64, spec Spec)

PlotBarGroupsdoublePtrV parameter default value hint: group_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsFloatPtrFloatPtr added in v1.2.0

func PlotBarsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32, bar_size float64)

func PlotBarsFloatPtrFloatPtrV added in v1.2.0

func PlotBarsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, bar_size float64, spec Spec)

PlotBarsFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsFloatPtrInt added in v1.2.0

func PlotBarsFloatPtrInt(label_id string, values *float32, count int32)

func PlotBarsFloatPtrIntV added in v1.2.0

func PlotBarsFloatPtrIntV(label_id string, values *float32, count int32, bar_size, shift float64, spec Spec)

PlotBarsFloatPtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsG added in v1.5.0

func PlotBarsG(label_id string, getter ter, data uintptr, count int32, bar_size float64)

func PlotBarsGV added in v1.5.0

func PlotBarsGV(label_id string, getter ter, data uintptr, count int32, bar_size float64, spec Spec)

PlotBarsGV parameter default value hint: spec: ImPlotSpec()

func PlotBarsS8PtrInt added in v1.2.0

func PlotBarsS8PtrInt(label_id string, values *int8, count int32)

func PlotBarsS8PtrIntV added in v1.2.0

func PlotBarsS8PtrIntV(label_id string, values *int8, count int32, bar_size, shift float64, spec Spec)

PlotBarsS8PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsS8PtrS8Ptr added in v1.2.0

func PlotBarsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32, bar_size float64)

func PlotBarsS8PtrS8PtrV added in v1.2.0

func PlotBarsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, bar_size float64, spec Spec)

PlotBarsS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsS16PtrInt added in v1.2.0

func PlotBarsS16PtrInt(label_id string, values *int16, count int32)

func PlotBarsS16PtrIntV added in v1.2.0

func PlotBarsS16PtrIntV(label_id string, values *int16, count int32, bar_size, shift float64, spec Spec)

PlotBarsS16PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsS16PtrS16Ptr added in v1.2.0

func PlotBarsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32, bar_size float64)

func PlotBarsS16PtrS16PtrV added in v1.2.0

func PlotBarsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, bar_size float64, spec Spec)

PlotBarsS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsS32PtrInt added in v1.2.0

func PlotBarsS32PtrInt(label_id string, values *int32, count int32)

func PlotBarsS32PtrIntV added in v1.2.0

func PlotBarsS32PtrIntV(label_id string, values *int32, count int32, bar_size, shift float64, spec Spec)

PlotBarsS32PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsS32PtrS32Ptr added in v1.2.0

func PlotBarsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32, bar_size float64)

func PlotBarsS32PtrS32PtrV added in v1.2.0

func PlotBarsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, bar_size float64, spec Spec)

PlotBarsS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsS64PtrInt added in v1.2.0

func PlotBarsS64PtrInt(label_id string, values *int64, count int32)

func PlotBarsS64PtrIntV added in v1.2.0

func PlotBarsS64PtrIntV(label_id string, values *int64, count int32, bar_size, shift float64, spec Spec)

PlotBarsS64PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsS64PtrS64Ptr added in v1.2.0

func PlotBarsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32, bar_size float64)

func PlotBarsS64PtrS64PtrV added in v1.2.0

func PlotBarsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, bar_size float64, spec Spec)

PlotBarsS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsU8PtrInt added in v1.2.0

func PlotBarsU8PtrInt(label_id string, values *byte, count int32)

func PlotBarsU8PtrIntV added in v1.2.0

func PlotBarsU8PtrIntV(label_id string, values *byte, count int32, bar_size, shift float64, spec Spec)

PlotBarsU8PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsU8PtrU8Ptr added in v1.2.0

func PlotBarsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32, bar_size float64)

func PlotBarsU8PtrU8PtrV added in v1.2.0

func PlotBarsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, bar_size float64, spec Spec)

PlotBarsU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsU16PtrInt added in v1.2.0

func PlotBarsU16PtrInt(label_id string, values *uint16, count int32)

func PlotBarsU16PtrIntV added in v1.2.0

func PlotBarsU16PtrIntV(label_id string, values *uint16, count int32, bar_size, shift float64, spec Spec)

PlotBarsU16PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsU16PtrU16Ptr added in v1.2.0

func PlotBarsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32, bar_size float64)

func PlotBarsU16PtrU16PtrV added in v1.2.0

func PlotBarsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, bar_size float64, spec Spec)

PlotBarsU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsU32PtrInt added in v1.2.0

func PlotBarsU32PtrInt(label_id string, values *uint32, count int32)

func PlotBarsU32PtrIntV added in v1.2.0

func PlotBarsU32PtrIntV(label_id string, values *uint32, count int32, bar_size, shift float64, spec Spec)

PlotBarsU32PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsU32PtrU32Ptr added in v1.2.0

func PlotBarsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32, bar_size float64)

func PlotBarsU32PtrU32PtrV added in v1.2.0

func PlotBarsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, bar_size float64, spec Spec)

PlotBarsU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsU64PtrInt added in v1.2.0

func PlotBarsU64PtrInt(label_id string, values *uint64, count int32)

func PlotBarsU64PtrIntV added in v1.2.0

func PlotBarsU64PtrIntV(label_id string, values *uint64, count int32, bar_size, shift float64, spec Spec)

PlotBarsU64PtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsU64PtrU64Ptr added in v1.2.0

func PlotBarsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32, bar_size float64)

func PlotBarsU64PtrU64PtrV added in v1.2.0

func PlotBarsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, bar_size float64, spec Spec)

PlotBarsU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBarsdoublePtrInt added in v1.2.0

func PlotBarsdoublePtrInt(label_id string, values *float64, count int32)

func PlotBarsdoublePtrIntV added in v1.2.0

func PlotBarsdoublePtrIntV(label_id string, values *float64, count int32, bar_size, shift float64, spec Spec)

PlotBarsdoublePtrIntV parameter default value hint: bar_size: 0.67 shift: 0 spec: ImPlotSpec()

func PlotBarsdoublePtrdoublePtr added in v1.2.0

func PlotBarsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32, bar_size float64)

func PlotBarsdoublePtrdoublePtrV added in v1.2.0

func PlotBarsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, bar_size float64, spec Spec)

PlotBarsdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesFloatPtrFloatPtrFloatPtr added in v1.5.0

func PlotBubblesFloatPtrFloatPtrFloatPtr(label_id string, xs, ys, szs *float32, count int32)

func PlotBubblesFloatPtrFloatPtrFloatPtrV added in v1.5.0

func PlotBubblesFloatPtrFloatPtrFloatPtrV(label_id string, xs, ys, szs *float32, count int32, spec Spec)

PlotBubblesFloatPtrFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesFloatPtrFloatPtrInt added in v1.5.0

func PlotBubblesFloatPtrFloatPtrInt(label_id string, values, szs *float32, count int32)

func PlotBubblesFloatPtrFloatPtrIntV added in v1.5.0

func PlotBubblesFloatPtrFloatPtrIntV(label_id string, values, szs *float32, count int32, xscale, xstart float64, spec Spec)

PlotBubblesFloatPtrFloatPtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesS8PtrS8PtrInt added in v1.5.0

func PlotBubblesS8PtrS8PtrInt(label_id string, values, szs *int8, count int32)

func PlotBubblesS8PtrS8PtrIntV added in v1.5.0

func PlotBubblesS8PtrS8PtrIntV(label_id string, values, szs *int8, count int32, xscale, xstart float64, spec Spec)

PlotBubblesS8PtrS8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesS8PtrS8PtrS8Ptr added in v1.5.0

func PlotBubblesS8PtrS8PtrS8Ptr(label_id string, xs, ys, szs *int8, count int32)

func PlotBubblesS8PtrS8PtrS8PtrV added in v1.5.0

func PlotBubblesS8PtrS8PtrS8PtrV(label_id string, xs, ys, szs *int8, count int32, spec Spec)

PlotBubblesS8PtrS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesS16PtrS16PtrInt added in v1.5.0

func PlotBubblesS16PtrS16PtrInt(label_id string, values, szs *int16, count int32)

func PlotBubblesS16PtrS16PtrIntV added in v1.5.0

func PlotBubblesS16PtrS16PtrIntV(label_id string, values, szs *int16, count int32, xscale, xstart float64, spec Spec)

PlotBubblesS16PtrS16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesS16PtrS16PtrS16Ptr added in v1.5.0

func PlotBubblesS16PtrS16PtrS16Ptr(label_id string, xs, ys, szs *int16, count int32)

func PlotBubblesS16PtrS16PtrS16PtrV added in v1.5.0

func PlotBubblesS16PtrS16PtrS16PtrV(label_id string, xs, ys, szs *int16, count int32, spec Spec)

PlotBubblesS16PtrS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesS32PtrS32PtrInt added in v1.5.0

func PlotBubblesS32PtrS32PtrInt(label_id string, values, szs *int32, count int32)

func PlotBubblesS32PtrS32PtrIntV added in v1.5.0

func PlotBubblesS32PtrS32PtrIntV(label_id string, values, szs *int32, count int32, xscale, xstart float64, spec Spec)

PlotBubblesS32PtrS32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesS32PtrS32PtrS32Ptr added in v1.5.0

func PlotBubblesS32PtrS32PtrS32Ptr(label_id string, xs, ys, szs *int32, count int32)

func PlotBubblesS32PtrS32PtrS32PtrV added in v1.5.0

func PlotBubblesS32PtrS32PtrS32PtrV(label_id string, xs, ys, szs *int32, count int32, spec Spec)

PlotBubblesS32PtrS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesS64PtrS64PtrInt added in v1.5.0

func PlotBubblesS64PtrS64PtrInt(label_id string, values, szs *int64, count int32)

func PlotBubblesS64PtrS64PtrIntV added in v1.5.0

func PlotBubblesS64PtrS64PtrIntV(label_id string, values, szs *int64, count int32, xscale, xstart float64, spec Spec)

PlotBubblesS64PtrS64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesS64PtrS64PtrS64Ptr added in v1.5.0

func PlotBubblesS64PtrS64PtrS64Ptr(label_id string, xs, ys, szs *int64, count int32)

func PlotBubblesS64PtrS64PtrS64PtrV added in v1.5.0

func PlotBubblesS64PtrS64PtrS64PtrV(label_id string, xs, ys, szs *int64, count int32, spec Spec)

PlotBubblesS64PtrS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesU8PtrU8PtrInt added in v1.5.0

func PlotBubblesU8PtrU8PtrInt(label_id string, values, szs *byte, count int32)

func PlotBubblesU8PtrU8PtrIntV added in v1.5.0

func PlotBubblesU8PtrU8PtrIntV(label_id string, values, szs *byte, count int32, xscale, xstart float64, spec Spec)

PlotBubblesU8PtrU8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesU8PtrU8PtrU8Ptr added in v1.5.0

func PlotBubblesU8PtrU8PtrU8Ptr(label_id string, xs, ys, szs *byte, count int32)

func PlotBubblesU8PtrU8PtrU8PtrV added in v1.5.0

func PlotBubblesU8PtrU8PtrU8PtrV(label_id string, xs, ys, szs *byte, count int32, spec Spec)

PlotBubblesU8PtrU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesU16PtrU16PtrInt added in v1.5.0

func PlotBubblesU16PtrU16PtrInt(label_id string, values, szs *uint16, count int32)

func PlotBubblesU16PtrU16PtrIntV added in v1.5.0

func PlotBubblesU16PtrU16PtrIntV(label_id string, values, szs *uint16, count int32, xscale, xstart float64, spec Spec)

PlotBubblesU16PtrU16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesU16PtrU16PtrU16Ptr added in v1.5.0

func PlotBubblesU16PtrU16PtrU16Ptr(label_id string, xs, ys, szs *uint16, count int32)

func PlotBubblesU16PtrU16PtrU16PtrV added in v1.5.0

func PlotBubblesU16PtrU16PtrU16PtrV(label_id string, xs, ys, szs *uint16, count int32, spec Spec)

PlotBubblesU16PtrU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesU32PtrU32PtrInt added in v1.5.0

func PlotBubblesU32PtrU32PtrInt(label_id string, values, szs *uint32, count int32)

func PlotBubblesU32PtrU32PtrIntV added in v1.5.0

func PlotBubblesU32PtrU32PtrIntV(label_id string, values, szs *uint32, count int32, xscale, xstart float64, spec Spec)

PlotBubblesU32PtrU32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesU32PtrU32PtrU32Ptr added in v1.5.0

func PlotBubblesU32PtrU32PtrU32Ptr(label_id string, xs, ys, szs *uint32, count int32)

func PlotBubblesU32PtrU32PtrU32PtrV added in v1.5.0

func PlotBubblesU32PtrU32PtrU32PtrV(label_id string, xs, ys, szs *uint32, count int32, spec Spec)

PlotBubblesU32PtrU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesU64PtrU64PtrInt added in v1.5.0

func PlotBubblesU64PtrU64PtrInt(label_id string, values, szs *uint64, count int32)

func PlotBubblesU64PtrU64PtrIntV added in v1.5.0

func PlotBubblesU64PtrU64PtrIntV(label_id string, values, szs *uint64, count int32, xscale, xstart float64, spec Spec)

PlotBubblesU64PtrU64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesU64PtrU64PtrU64Ptr added in v1.5.0

func PlotBubblesU64PtrU64PtrU64Ptr(label_id string, xs, ys, szs *uint64, count int32)

func PlotBubblesU64PtrU64PtrU64PtrV added in v1.5.0

func PlotBubblesU64PtrU64PtrU64PtrV(label_id string, xs, ys, szs *uint64, count int32, spec Spec)

PlotBubblesU64PtrU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotBubblesdoublePtrdoublePtrInt added in v1.5.0

func PlotBubblesdoublePtrdoublePtrInt(label_id string, values, szs *float64, count int32)

func PlotBubblesdoublePtrdoublePtrIntV added in v1.5.0

func PlotBubblesdoublePtrdoublePtrIntV(label_id string, values, szs *float64, count int32, xscale, xstart float64, spec Spec)

PlotBubblesdoublePtrdoublePtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotBubblesdoublePtrdoublePtrdoublePtr added in v1.5.0

func PlotBubblesdoublePtrdoublePtrdoublePtr(label_id string, xs, ys, szs *float64, count int32)

func PlotBubblesdoublePtrdoublePtrdoublePtrV added in v1.5.0

func PlotBubblesdoublePtrdoublePtrdoublePtrV(label_id string, xs, ys, szs *float64, count int32, spec Spec)

PlotBubblesdoublePtrdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalFloatPtr added in v1.2.0

func PlotDigitalFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotDigitalFloatPtrV added in v1.2.0

func PlotDigitalFloatPtrV(label_id string, xs, ys *float32, count int32, spec Spec)

PlotDigitalFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalG added in v1.5.0

func PlotDigitalG(label_id string, getter ter, data uintptr, count int32)

func PlotDigitalGV added in v1.5.0

func PlotDigitalGV(label_id string, getter ter, data uintptr, count int32, spec Spec)

PlotDigitalGV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalS8Ptr added in v1.2.0

func PlotDigitalS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotDigitalS8PtrV added in v1.2.0

func PlotDigitalS8PtrV(label_id string, xs, ys *int8, count int32, spec Spec)

PlotDigitalS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalS16Ptr added in v1.2.0

func PlotDigitalS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotDigitalS16PtrV added in v1.2.0

func PlotDigitalS16PtrV(label_id string, xs, ys *int16, count int32, spec Spec)

PlotDigitalS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalS32Ptr added in v1.2.0

func PlotDigitalS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotDigitalS32PtrV added in v1.2.0

func PlotDigitalS32PtrV(label_id string, xs, ys *int32, count int32, spec Spec)

PlotDigitalS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalS64Ptr added in v1.2.0

func PlotDigitalS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotDigitalS64PtrV added in v1.2.0

func PlotDigitalS64PtrV(label_id string, xs, ys *int64, count int32, spec Spec)

PlotDigitalS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalU8Ptr added in v1.2.0

func PlotDigitalU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotDigitalU8PtrV added in v1.2.0

func PlotDigitalU8PtrV(label_id string, xs, ys *byte, count int32, spec Spec)

PlotDigitalU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalU16Ptr added in v1.2.0

func PlotDigitalU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotDigitalU16PtrV added in v1.2.0

func PlotDigitalU16PtrV(label_id string, xs, ys *uint16, count int32, spec Spec)

PlotDigitalU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalU32Ptr added in v1.2.0

func PlotDigitalU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotDigitalU32PtrV added in v1.2.0

func PlotDigitalU32PtrV(label_id string, xs, ys *uint32, count int32, spec Spec)

PlotDigitalU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitalU64Ptr added in v1.2.0

func PlotDigitalU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotDigitalU64PtrV added in v1.2.0

func PlotDigitalU64PtrV(label_id string, xs, ys *uint64, count int32, spec Spec)

PlotDigitalU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotDigitaldoublePtr added in v1.2.0

func PlotDigitaldoublePtr(label_id string, xs, ys *float64, count int32)

func PlotDigitaldoublePtrV added in v1.2.0

func PlotDigitaldoublePtrV(label_id string, xs, ys *float64, count int32, spec Spec)

PlotDigitaldoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotDummy added in v1.2.0

func PlotDummy(label_id string)

func PlotDummyV added in v1.2.0

func PlotDummyV(label_id string, spec Spec)

Plots a dummy item (i.e. adds a legend entry colored by ImPlotCol_Line) PlotDummyV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr added in v1.2.0

func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr(label_id string, xs, ys, neg, pos *float32, count int32)

func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV added in v1.2.0

func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV(label_id string, xs, ys, neg, pos *float32, count int32, spec Spec)

PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsFloatPtrFloatPtrFloatPtrInt added in v1.2.0

func PlotErrorBarsFloatPtrFloatPtrFloatPtrInt(label_id string, xs, ys, err *float32, count int32)

func PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV added in v1.2.0

func PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV(label_id string, xs, ys, err *float32, count int32, spec Spec)

PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS8PtrS8PtrS8PtrInt added in v1.2.0

func PlotErrorBarsS8PtrS8PtrS8PtrInt(label_id string, xs, ys, err *int8, count int32)

func PlotErrorBarsS8PtrS8PtrS8PtrIntV added in v1.2.0

func PlotErrorBarsS8PtrS8PtrS8PtrIntV(label_id string, xs, ys, err *int8, count int32, spec Spec)

PlotErrorBarsS8PtrS8PtrS8PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr added in v1.2.0

func PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr(label_id string, xs, ys, neg, pos *int8, count int32)

func PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV added in v1.2.0

func PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV(label_id string, xs, ys, neg, pos *int8, count int32, spec Spec)

PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS16PtrS16PtrS16PtrInt added in v1.2.0

func PlotErrorBarsS16PtrS16PtrS16PtrInt(label_id string, xs, ys, err *int16, count int32)

func PlotErrorBarsS16PtrS16PtrS16PtrIntV added in v1.2.0

func PlotErrorBarsS16PtrS16PtrS16PtrIntV(label_id string, xs, ys, err *int16, count int32, spec Spec)

PlotErrorBarsS16PtrS16PtrS16PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr added in v1.2.0

func PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr(label_id string, xs, ys, neg, pos *int16, count int32)

func PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV added in v1.2.0

func PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV(label_id string, xs, ys, neg, pos *int16, count int32, spec Spec)

PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS32PtrS32PtrS32PtrInt added in v1.2.0

func PlotErrorBarsS32PtrS32PtrS32PtrInt(label_id string, xs, ys, err *int32, count int32)

func PlotErrorBarsS32PtrS32PtrS32PtrIntV added in v1.2.0

func PlotErrorBarsS32PtrS32PtrS32PtrIntV(label_id string, xs, ys, err *int32, count int32, spec Spec)

PlotErrorBarsS32PtrS32PtrS32PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr added in v1.2.0

func PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr(label_id string, xs, ys, neg, pos *int32, count int32)

func PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV added in v1.2.0

func PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV(label_id string, xs, ys, neg, pos *int32, count int32, spec Spec)

PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS64PtrS64PtrS64PtrInt added in v1.2.0

func PlotErrorBarsS64PtrS64PtrS64PtrInt(label_id string, xs, ys, err *int64, count int32)

func PlotErrorBarsS64PtrS64PtrS64PtrIntV added in v1.2.0

func PlotErrorBarsS64PtrS64PtrS64PtrIntV(label_id string, xs, ys, err *int64, count int32, spec Spec)

PlotErrorBarsS64PtrS64PtrS64PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr added in v1.2.0

func PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr(label_id string, xs, ys, neg, pos *int64, count int32)

func PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV added in v1.2.0

func PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV(label_id string, xs, ys, neg, pos *int64, count int32, spec Spec)

PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU8PtrU8PtrU8PtrInt added in v1.2.0

func PlotErrorBarsU8PtrU8PtrU8PtrInt(label_id string, xs, ys, err *byte, count int32)

func PlotErrorBarsU8PtrU8PtrU8PtrIntV added in v1.2.0

func PlotErrorBarsU8PtrU8PtrU8PtrIntV(label_id string, xs, ys, err *byte, count int32, spec Spec)

PlotErrorBarsU8PtrU8PtrU8PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr added in v1.2.0

func PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr(label_id string, xs, ys, neg, pos *byte, count int32)

func PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV added in v1.2.0

func PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV(label_id string, xs, ys, neg, pos *byte, count int32, spec Spec)

PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU16PtrU16PtrU16PtrInt added in v1.2.0

func PlotErrorBarsU16PtrU16PtrU16PtrInt(label_id string, xs, ys, err *uint16, count int32)

func PlotErrorBarsU16PtrU16PtrU16PtrIntV added in v1.2.0

func PlotErrorBarsU16PtrU16PtrU16PtrIntV(label_id string, xs, ys, err *uint16, count int32, spec Spec)

PlotErrorBarsU16PtrU16PtrU16PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr added in v1.2.0

func PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr(label_id string, xs, ys, neg, pos *uint16, count int32)

func PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV added in v1.2.0

func PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV(label_id string, xs, ys, neg, pos *uint16, count int32, spec Spec)

PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU32PtrU32PtrU32PtrInt added in v1.2.0

func PlotErrorBarsU32PtrU32PtrU32PtrInt(label_id string, xs, ys, err *uint32, count int32)

func PlotErrorBarsU32PtrU32PtrU32PtrIntV added in v1.2.0

func PlotErrorBarsU32PtrU32PtrU32PtrIntV(label_id string, xs, ys, err *uint32, count int32, spec Spec)

PlotErrorBarsU32PtrU32PtrU32PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr added in v1.2.0

func PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr(label_id string, xs, ys, neg, pos *uint32, count int32)

func PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV added in v1.2.0

func PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV(label_id string, xs, ys, neg, pos *uint32, count int32, spec Spec)

PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU64PtrU64PtrU64PtrInt added in v1.2.0

func PlotErrorBarsU64PtrU64PtrU64PtrInt(label_id string, xs, ys, err *uint64, count int32)

func PlotErrorBarsU64PtrU64PtrU64PtrIntV added in v1.2.0

func PlotErrorBarsU64PtrU64PtrU64PtrIntV(label_id string, xs, ys, err *uint64, count int32, spec Spec)

PlotErrorBarsU64PtrU64PtrU64PtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr added in v1.2.0

func PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr(label_id string, xs, ys, neg, pos *uint64, count int32)

func PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV added in v1.2.0

func PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV(label_id string, xs, ys, neg, pos *uint64, count int32, spec Spec)

PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsdoublePtrdoublePtrdoublePtrInt added in v1.2.0

func PlotErrorBarsdoublePtrdoublePtrdoublePtrInt(label_id string, xs, ys, err *float64, count int32)

func PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV added in v1.2.0

func PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV(label_id string, xs, ys, err *float64, count int32, spec Spec)

PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV parameter default value hint: spec: ImPlotSpec()

func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr added in v1.2.0

func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr(label_id string, xs, ys, neg, pos *float64, count int32)

func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV added in v1.2.0

func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV(label_id string, xs, ys, neg, pos *float64, count int32, spec Spec)

PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotHeatmapFloatPtr added in v1.2.0

func PlotHeatmapFloatPtr(label_id string, values *float32, rows, cols int32)

func PlotHeatmapFloatPtrV added in v1.2.0

func PlotHeatmapFloatPtrV(label_id string, values *float32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapFloatPtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapS8Ptr added in v1.2.0

func PlotHeatmapS8Ptr(label_id string, values *int8, rows, cols int32)

func PlotHeatmapS8PtrV added in v1.2.0

func PlotHeatmapS8PtrV(label_id string, values *int8, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapS8PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapS16Ptr added in v1.2.0

func PlotHeatmapS16Ptr(label_id string, values *int16, rows, cols int32)

func PlotHeatmapS16PtrV added in v1.2.0

func PlotHeatmapS16PtrV(label_id string, values *int16, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapS16PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapS32Ptr added in v1.2.0

func PlotHeatmapS32Ptr(label_id string, values *int32, rows, cols int32)

func PlotHeatmapS32PtrV added in v1.2.0

func PlotHeatmapS32PtrV(label_id string, values *int32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapS32PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapS64Ptr added in v1.2.0

func PlotHeatmapS64Ptr(label_id string, values *int64, rows, cols int32)

func PlotHeatmapS64PtrV added in v1.2.0

func PlotHeatmapS64PtrV(label_id string, values *int64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapS64PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapU8Ptr added in v1.2.0

func PlotHeatmapU8Ptr(label_id string, values *byte, rows, cols int32)

func PlotHeatmapU8PtrV added in v1.2.0

func PlotHeatmapU8PtrV(label_id string, values *byte, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapU8PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapU16Ptr added in v1.2.0

func PlotHeatmapU16Ptr(label_id string, values *uint16, rows, cols int32)

func PlotHeatmapU16PtrV added in v1.2.0

func PlotHeatmapU16PtrV(label_id string, values *uint16, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapU16PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapU32Ptr added in v1.2.0

func PlotHeatmapU32Ptr(label_id string, values *uint32, rows, cols int32)

func PlotHeatmapU32PtrV added in v1.2.0

func PlotHeatmapU32PtrV(label_id string, values *uint32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapU32PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapU64Ptr added in v1.2.0

func PlotHeatmapU64Ptr(label_id string, values *uint64, rows, cols int32)

func PlotHeatmapU64PtrV added in v1.2.0

func PlotHeatmapU64PtrV(label_id string, values *uint64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapU64PtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHeatmapdoublePtr added in v1.2.0

func PlotHeatmapdoublePtr(label_id string, values *float64, rows, cols int32)

func PlotHeatmapdoublePtrV added in v1.2.0

func PlotHeatmapdoublePtrV(label_id string, values *float64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, spec Spec)

PlotHeatmapdoublePtrV parameter default value hint: scale_min: 0 scale_max: 0 label_fmt: "%.1f" bounds_min: ImPlotPoint(0,0) bounds_max: ImPlotPoint(1,1) spec: ImPlotSpec()

func PlotHistogram2DFloatPtr added in v1.2.0

func PlotHistogram2DFloatPtr(label_id string, xs, ys *float32, count int32) float64

func PlotHistogram2DFloatPtrV added in v1.2.0

func PlotHistogram2DFloatPtrV(label_id string, xs, ys *float32, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DFloatPtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DS8Ptr added in v1.2.0

func PlotHistogram2DS8Ptr(label_id string, xs, ys *int8, count int32) float64

func PlotHistogram2DS8PtrV added in v1.2.0

func PlotHistogram2DS8PtrV(label_id string, xs, ys *int8, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DS8PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DS16Ptr added in v1.2.0

func PlotHistogram2DS16Ptr(label_id string, xs, ys *int16, count int32) float64

func PlotHistogram2DS16PtrV added in v1.2.0

func PlotHistogram2DS16PtrV(label_id string, xs, ys *int16, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DS16PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DS32Ptr added in v1.2.0

func PlotHistogram2DS32Ptr(label_id string, xs, ys *int32, count int32) float64

func PlotHistogram2DS32PtrV added in v1.2.0

func PlotHistogram2DS32PtrV(label_id string, xs, ys *int32, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DS32PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DS64Ptr added in v1.2.0

func PlotHistogram2DS64Ptr(label_id string, xs, ys *int64, count int32) float64

func PlotHistogram2DS64PtrV added in v1.2.0

func PlotHistogram2DS64PtrV(label_id string, xs, ys *int64, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DS64PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DU8Ptr added in v1.2.0

func PlotHistogram2DU8Ptr(label_id string, xs, ys *byte, count int32) float64

func PlotHistogram2DU8PtrV added in v1.2.0

func PlotHistogram2DU8PtrV(label_id string, xs, ys *byte, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DU8PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DU16Ptr added in v1.2.0

func PlotHistogram2DU16Ptr(label_id string, xs, ys *uint16, count int32) float64

func PlotHistogram2DU16PtrV added in v1.2.0

func PlotHistogram2DU16PtrV(label_id string, xs, ys *uint16, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DU16PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DU32Ptr added in v1.2.0

func PlotHistogram2DU32Ptr(label_id string, xs, ys *uint32, count int32) float64

func PlotHistogram2DU32PtrV added in v1.2.0

func PlotHistogram2DU32PtrV(label_id string, xs, ys *uint32, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DU32PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DU64Ptr added in v1.2.0

func PlotHistogram2DU64Ptr(label_id string, xs, ys *uint64, count int32) float64

func PlotHistogram2DU64PtrV added in v1.2.0

func PlotHistogram2DU64PtrV(label_id string, xs, ys *uint64, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DU64PtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogram2DdoublePtr added in v1.2.0

func PlotHistogram2DdoublePtr(label_id string, xs, ys *float64, count int32) float64

func PlotHistogram2DdoublePtrV added in v1.2.0

func PlotHistogram2DdoublePtrV(label_id string, xs, ys *float64, count, x_bins, y_bins int32, rangeArg Rect, spec Spec) float64

PlotHistogram2DdoublePtrV parameter default value hint: x_bins: ImPlotBin_Sturges y_bins: ImPlotBin_Sturges spec: ImPlotSpec()

func PlotHistogramFloatPtr added in v1.2.0

func PlotHistogramFloatPtr(label_id string, values *float32, count int32) float64

func PlotHistogramFloatPtrV added in v1.2.0

func PlotHistogramFloatPtrV(label_id string, values *float32, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramFloatPtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramS8Ptr added in v1.2.0

func PlotHistogramS8Ptr(label_id string, values *int8, count int32) float64

func PlotHistogramS8PtrV added in v1.2.0

func PlotHistogramS8PtrV(label_id string, values *int8, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramS8PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramS16Ptr added in v1.2.0

func PlotHistogramS16Ptr(label_id string, values *int16, count int32) float64

func PlotHistogramS16PtrV added in v1.2.0

func PlotHistogramS16PtrV(label_id string, values *int16, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramS16PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramS32Ptr added in v1.2.0

func PlotHistogramS32Ptr(label_id string, values *int32, count int32) float64

func PlotHistogramS32PtrV added in v1.2.0

func PlotHistogramS32PtrV(label_id string, values *int32, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramS32PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramS64Ptr added in v1.2.0

func PlotHistogramS64Ptr(label_id string, values *int64, count int32) float64

func PlotHistogramS64PtrV added in v1.2.0

func PlotHistogramS64PtrV(label_id string, values *int64, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramS64PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramU8Ptr added in v1.2.0

func PlotHistogramU8Ptr(label_id string, values *byte, count int32) float64

func PlotHistogramU8PtrV added in v1.2.0

func PlotHistogramU8PtrV(label_id string, values *byte, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramU8PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramU16Ptr added in v1.2.0

func PlotHistogramU16Ptr(label_id string, values *uint16, count int32) float64

func PlotHistogramU16PtrV added in v1.2.0

func PlotHistogramU16PtrV(label_id string, values *uint16, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramU16PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramU32Ptr added in v1.2.0

func PlotHistogramU32Ptr(label_id string, values *uint32, count int32) float64

func PlotHistogramU32PtrV added in v1.2.0

func PlotHistogramU32PtrV(label_id string, values *uint32, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramU32PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramU64Ptr added in v1.2.0

func PlotHistogramU64Ptr(label_id string, values *uint64, count int32) float64

func PlotHistogramU64PtrV added in v1.2.0

func PlotHistogramU64PtrV(label_id string, values *uint64, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramU64PtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotHistogramdoublePtr added in v1.2.0

func PlotHistogramdoublePtr(label_id string, values *float64, count int32) float64

func PlotHistogramdoublePtrV added in v1.2.0

func PlotHistogramdoublePtrV(label_id string, values *float64, count, bins int32, bar_scale float64, rangeArg Range, spec Spec) float64

PlotHistogramdoublePtrV parameter default value hint: bins: ImPlotBin_Sturges bar_scale: 1.0 spec: ImPlotSpec()

func PlotImage added in v1.2.0

func PlotImage(label_id string, tex_ref imgui.TextureRef, bounds_min, bounds_max PlotPoint)

func PlotImageV added in v1.2.0

func PlotImageV(label_id string, tex_ref imgui.TextureRef, bounds_min, bounds_max PlotPoint, uv0, uv1 imgui.Vec2, tint_col imgui.Vec4, spec Spec)

PlotImageV parameter default value hint: uv0: ImVec2(0,0) uv1: ImVec2(1,1) tint_col: ImVec4(1,1,1,1) spec: ImPlotSpec()

func PlotInfLinesFloatPtr added in v1.2.0

func PlotInfLinesFloatPtr(label_id string, values *float32, count int32)

func PlotInfLinesFloatPtrV added in v1.2.0

func PlotInfLinesFloatPtrV(label_id string, values *float32, count int32, spec Spec)

PlotInfLinesFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesS8Ptr added in v1.2.0

func PlotInfLinesS8Ptr(label_id string, values *int8, count int32)

func PlotInfLinesS8PtrV added in v1.2.0

func PlotInfLinesS8PtrV(label_id string, values *int8, count int32, spec Spec)

PlotInfLinesS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesS16Ptr added in v1.2.0

func PlotInfLinesS16Ptr(label_id string, values *int16, count int32)

func PlotInfLinesS16PtrV added in v1.2.0

func PlotInfLinesS16PtrV(label_id string, values *int16, count int32, spec Spec)

PlotInfLinesS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesS32Ptr added in v1.2.0

func PlotInfLinesS32Ptr(label_id string, values *int32, count int32)

func PlotInfLinesS32PtrV added in v1.2.0

func PlotInfLinesS32PtrV(label_id string, values *int32, count int32, spec Spec)

PlotInfLinesS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesS64Ptr added in v1.2.0

func PlotInfLinesS64Ptr(label_id string, values *int64, count int32)

func PlotInfLinesS64PtrV added in v1.2.0

func PlotInfLinesS64PtrV(label_id string, values *int64, count int32, spec Spec)

PlotInfLinesS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesU8Ptr added in v1.2.0

func PlotInfLinesU8Ptr(label_id string, values *byte, count int32)

func PlotInfLinesU8PtrV added in v1.2.0

func PlotInfLinesU8PtrV(label_id string, values *byte, count int32, spec Spec)

PlotInfLinesU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesU16Ptr added in v1.2.0

func PlotInfLinesU16Ptr(label_id string, values *uint16, count int32)

func PlotInfLinesU16PtrV added in v1.2.0

func PlotInfLinesU16PtrV(label_id string, values *uint16, count int32, spec Spec)

PlotInfLinesU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesU32Ptr added in v1.2.0

func PlotInfLinesU32Ptr(label_id string, values *uint32, count int32)

func PlotInfLinesU32PtrV added in v1.2.0

func PlotInfLinesU32PtrV(label_id string, values *uint32, count int32, spec Spec)

PlotInfLinesU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesU64Ptr added in v1.2.0

func PlotInfLinesU64Ptr(label_id string, values *uint64, count int32)

func PlotInfLinesU64PtrV added in v1.2.0

func PlotInfLinesU64PtrV(label_id string, values *uint64, count int32, spec Spec)

PlotInfLinesU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotInfLinesdoublePtr added in v1.2.0

func PlotInfLinesdoublePtr(label_id string, values *float64, count int32)

func PlotInfLinesdoublePtrV added in v1.2.0

func PlotInfLinesdoublePtrV(label_id string, values *float64, count int32, spec Spec)

PlotInfLinesdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineFloatPtrFloatPtr added in v1.2.0

func PlotLineFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotLineFloatPtrFloatPtrV added in v1.2.0

func PlotLineFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, spec Spec)

PlotLineFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineFloatPtrInt added in v1.2.0

func PlotLineFloatPtrInt(label_id string, values *float32, count int32)

func PlotLineFloatPtrIntV added in v1.2.0

func PlotLineFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, spec Spec)

PlotLineFloatPtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineG added in v1.5.0

func PlotLineG(label_id string, getter ter, data uintptr, count int32)

func PlotLineGV added in v1.5.0

func PlotLineGV(label_id string, getter ter, data uintptr, count int32, spec Spec)

PlotLineGV parameter default value hint: spec: ImPlotSpec()

func PlotLineS8PtrInt added in v1.2.0

func PlotLineS8PtrInt(label_id string, values *int8, count int32)

func PlotLineS8PtrIntV added in v1.2.0

func PlotLineS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, spec Spec)

PlotLineS8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineS8PtrS8Ptr added in v1.2.0

func PlotLineS8PtrS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotLineS8PtrS8PtrV added in v1.2.0

func PlotLineS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, spec Spec)

PlotLineS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineS16PtrInt added in v1.2.0

func PlotLineS16PtrInt(label_id string, values *int16, count int32)

func PlotLineS16PtrIntV added in v1.2.0

func PlotLineS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, spec Spec)

PlotLineS16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineS16PtrS16Ptr added in v1.2.0

func PlotLineS16PtrS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotLineS16PtrS16PtrV added in v1.2.0

func PlotLineS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, spec Spec)

PlotLineS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineS32PtrInt added in v1.2.0

func PlotLineS32PtrInt(label_id string, values *int32, count int32)

func PlotLineS32PtrIntV added in v1.2.0

func PlotLineS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, spec Spec)

PlotLineS32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineS32PtrS32Ptr added in v1.2.0

func PlotLineS32PtrS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotLineS32PtrS32PtrV added in v1.2.0

func PlotLineS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, spec Spec)

PlotLineS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineS64PtrInt added in v1.2.0

func PlotLineS64PtrInt(label_id string, values *int64, count int32)

func PlotLineS64PtrIntV added in v1.2.0

func PlotLineS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, spec Spec)

PlotLineS64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineS64PtrS64Ptr added in v1.2.0

func PlotLineS64PtrS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotLineS64PtrS64PtrV added in v1.2.0

func PlotLineS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, spec Spec)

PlotLineS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineU8PtrInt added in v1.2.0

func PlotLineU8PtrInt(label_id string, values *byte, count int32)

func PlotLineU8PtrIntV added in v1.2.0

func PlotLineU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, spec Spec)

PlotLineU8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineU8PtrU8Ptr added in v1.2.0

func PlotLineU8PtrU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotLineU8PtrU8PtrV added in v1.2.0

func PlotLineU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, spec Spec)

PlotLineU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineU16PtrInt added in v1.2.0

func PlotLineU16PtrInt(label_id string, values *uint16, count int32)

func PlotLineU16PtrIntV added in v1.2.0

func PlotLineU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, spec Spec)

PlotLineU16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineU16PtrU16Ptr added in v1.2.0

func PlotLineU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotLineU16PtrU16PtrV added in v1.2.0

func PlotLineU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, spec Spec)

PlotLineU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineU32PtrInt added in v1.2.0

func PlotLineU32PtrInt(label_id string, values *uint32, count int32)

func PlotLineU32PtrIntV added in v1.2.0

func PlotLineU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, spec Spec)

PlotLineU32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineU32PtrU32Ptr added in v1.2.0

func PlotLineU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotLineU32PtrU32PtrV added in v1.2.0

func PlotLineU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, spec Spec)

PlotLineU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLineU64PtrInt added in v1.2.0

func PlotLineU64PtrInt(label_id string, values *uint64, count int32)

func PlotLineU64PtrIntV added in v1.2.0

func PlotLineU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, spec Spec)

PlotLineU64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLineU64PtrU64Ptr added in v1.2.0

func PlotLineU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotLineU64PtrU64PtrV added in v1.2.0

func PlotLineU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, spec Spec)

PlotLineU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotLinedoublePtrInt added in v1.2.0

func PlotLinedoublePtrInt(label_id string, values *float64, count int32)

func PlotLinedoublePtrIntV added in v1.2.0

func PlotLinedoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, spec Spec)

PlotLinedoublePtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotLinedoublePtrdoublePtr added in v1.2.0

func PlotLinedoublePtrdoublePtr(label_id string, xs, ys *float64, count int32)

func PlotLinedoublePtrdoublePtrV added in v1.2.0

func PlotLinedoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, spec Spec)

PlotLinedoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotPieChartFloatPtrPlotFormatter added in v1.2.0

func PlotPieChartFloatPtrPlotFormatter(label_ids []string, values *float32, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartFloatPtrPlotFormatterV added in v1.2.0

func PlotPieChartFloatPtrPlotFormatterV(label_ids []string, values *float32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartFloatPtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartFloatPtrStr added in v1.2.0

func PlotPieChartFloatPtrStr(label_ids []string, values *float32, count int32, x, y, radius float64)

func PlotPieChartFloatPtrStrV added in v1.2.0

func PlotPieChartFloatPtrStrV(label_ids []string, values *float32, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartFloatPtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartS8PtrPlotFormatter added in v1.2.0

func PlotPieChartS8PtrPlotFormatter(label_ids []string, values *int8, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartS8PtrPlotFormatterV added in v1.2.0

func PlotPieChartS8PtrPlotFormatterV(label_ids []string, values *int8, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartS8PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartS8PtrStr added in v1.2.0

func PlotPieChartS8PtrStr(label_ids []string, values *int8, count int32, x, y, radius float64)

func PlotPieChartS8PtrStrV added in v1.2.0

func PlotPieChartS8PtrStrV(label_ids []string, values *int8, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartS8PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartS16PtrPlotFormatter added in v1.2.0

func PlotPieChartS16PtrPlotFormatter(label_ids []string, values *int16, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartS16PtrPlotFormatterV added in v1.2.0

func PlotPieChartS16PtrPlotFormatterV(label_ids []string, values *int16, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartS16PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartS16PtrStr added in v1.2.0

func PlotPieChartS16PtrStr(label_ids []string, values *int16, count int32, x, y, radius float64)

func PlotPieChartS16PtrStrV added in v1.2.0

func PlotPieChartS16PtrStrV(label_ids []string, values *int16, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartS16PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartS32PtrPlotFormatter added in v1.2.0

func PlotPieChartS32PtrPlotFormatter(label_ids []string, values *int32, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartS32PtrPlotFormatterV added in v1.2.0

func PlotPieChartS32PtrPlotFormatterV(label_ids []string, values *int32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartS32PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartS32PtrStr added in v1.2.0

func PlotPieChartS32PtrStr(label_ids []string, values *int32, count int32, x, y, radius float64)

func PlotPieChartS32PtrStrV added in v1.2.0

func PlotPieChartS32PtrStrV(label_ids []string, values *int32, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartS32PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartS64PtrPlotFormatter added in v1.2.0

func PlotPieChartS64PtrPlotFormatter(label_ids []string, values *int64, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartS64PtrPlotFormatterV added in v1.2.0

func PlotPieChartS64PtrPlotFormatterV(label_ids []string, values *int64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartS64PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartS64PtrStr added in v1.2.0

func PlotPieChartS64PtrStr(label_ids []string, values *int64, count int32, x, y, radius float64)

func PlotPieChartS64PtrStrV added in v1.2.0

func PlotPieChartS64PtrStrV(label_ids []string, values *int64, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartS64PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartU8PtrPlotFormatter added in v1.2.0

func PlotPieChartU8PtrPlotFormatter(label_ids []string, values *byte, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartU8PtrPlotFormatterV added in v1.2.0

func PlotPieChartU8PtrPlotFormatterV(label_ids []string, values *byte, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartU8PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartU8PtrStr added in v1.2.0

func PlotPieChartU8PtrStr(label_ids []string, values *byte, count int32, x, y, radius float64)

func PlotPieChartU8PtrStrV added in v1.2.0

func PlotPieChartU8PtrStrV(label_ids []string, values *byte, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartU8PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartU16PtrPlotFormatter added in v1.2.0

func PlotPieChartU16PtrPlotFormatter(label_ids []string, values *uint16, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartU16PtrPlotFormatterV added in v1.2.0

func PlotPieChartU16PtrPlotFormatterV(label_ids []string, values *uint16, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartU16PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartU16PtrStr added in v1.2.0

func PlotPieChartU16PtrStr(label_ids []string, values *uint16, count int32, x, y, radius float64)

func PlotPieChartU16PtrStrV added in v1.2.0

func PlotPieChartU16PtrStrV(label_ids []string, values *uint16, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartU16PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartU32PtrPlotFormatter added in v1.2.0

func PlotPieChartU32PtrPlotFormatter(label_ids []string, values *uint32, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartU32PtrPlotFormatterV added in v1.2.0

func PlotPieChartU32PtrPlotFormatterV(label_ids []string, values *uint32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartU32PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartU32PtrStr added in v1.2.0

func PlotPieChartU32PtrStr(label_ids []string, values *uint32, count int32, x, y, radius float64)

func PlotPieChartU32PtrStrV added in v1.2.0

func PlotPieChartU32PtrStrV(label_ids []string, values *uint32, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartU32PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartU64PtrPlotFormatter added in v1.2.0

func PlotPieChartU64PtrPlotFormatter(label_ids []string, values *uint64, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartU64PtrPlotFormatterV added in v1.2.0

func PlotPieChartU64PtrPlotFormatterV(label_ids []string, values *uint64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartU64PtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartU64PtrStr added in v1.2.0

func PlotPieChartU64PtrStr(label_ids []string, values *uint64, count int32, x, y, radius float64)

func PlotPieChartU64PtrStrV added in v1.2.0

func PlotPieChartU64PtrStrV(label_ids []string, values *uint64, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartU64PtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPieChartdoublePtrPlotFormatter added in v1.2.0

func PlotPieChartdoublePtrPlotFormatter(label_ids []string, values *float64, count int32, x, y, radius float64, fmt Formatter)

func PlotPieChartdoublePtrPlotFormatterV added in v1.2.0

func PlotPieChartdoublePtrPlotFormatterV(label_ids []string, values *float64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, spec Spec)

PlotPieChartdoublePtrPlotFormatterV parameter default value hint: fmt_data: nullptr angle0: 90 spec: ImPlotSpec()

func PlotPieChartdoublePtrStr added in v1.2.0

func PlotPieChartdoublePtrStr(label_ids []string, values *float64, count int32, x, y, radius float64)

func PlotPieChartdoublePtrStrV added in v1.2.0

func PlotPieChartdoublePtrStrV(label_ids []string, values *float64, count int32, x, y, radius float64, label_fmt string, angle0 float64, spec Spec)

PlotPieChartdoublePtrStrV parameter default value hint: label_fmt: "%.1f" angle0: 90 spec: ImPlotSpec()

func PlotPolygonFloatPtr added in v1.5.0

func PlotPolygonFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotPolygonFloatPtrV added in v1.5.0

func PlotPolygonFloatPtrV(label_id string, xs, ys *float32, count int32, spec Spec)

PlotPolygonFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonS8Ptr added in v1.5.0

func PlotPolygonS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotPolygonS8PtrV added in v1.5.0

func PlotPolygonS8PtrV(label_id string, xs, ys *int8, count int32, spec Spec)

PlotPolygonS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonS16Ptr added in v1.5.0

func PlotPolygonS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotPolygonS16PtrV added in v1.5.0

func PlotPolygonS16PtrV(label_id string, xs, ys *int16, count int32, spec Spec)

PlotPolygonS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonS32Ptr added in v1.5.0

func PlotPolygonS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotPolygonS32PtrV added in v1.5.0

func PlotPolygonS32PtrV(label_id string, xs, ys *int32, count int32, spec Spec)

PlotPolygonS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonS64Ptr added in v1.5.0

func PlotPolygonS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotPolygonS64PtrV added in v1.5.0

func PlotPolygonS64PtrV(label_id string, xs, ys *int64, count int32, spec Spec)

PlotPolygonS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonU8Ptr added in v1.5.0

func PlotPolygonU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotPolygonU8PtrV added in v1.5.0

func PlotPolygonU8PtrV(label_id string, xs, ys *byte, count int32, spec Spec)

PlotPolygonU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonU16Ptr added in v1.5.0

func PlotPolygonU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotPolygonU16PtrV added in v1.5.0

func PlotPolygonU16PtrV(label_id string, xs, ys *uint16, count int32, spec Spec)

PlotPolygonU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonU32Ptr added in v1.5.0

func PlotPolygonU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotPolygonU32PtrV added in v1.5.0

func PlotPolygonU32PtrV(label_id string, xs, ys *uint32, count int32, spec Spec)

PlotPolygonU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygonU64Ptr added in v1.5.0

func PlotPolygonU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotPolygonU64PtrV added in v1.5.0

func PlotPolygonU64PtrV(label_id string, xs, ys *uint64, count int32, spec Spec)

PlotPolygonU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotPolygondoublePtr added in v1.5.0

func PlotPolygondoublePtr(label_id string, xs, ys *float64, count int32)

func PlotPolygondoublePtrV added in v1.5.0

func PlotPolygondoublePtrV(label_id string, xs, ys *float64, count int32, spec Spec)

PlotPolygondoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterFloatPtrFloatPtr added in v1.2.0

func PlotScatterFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotScatterFloatPtrFloatPtrV added in v1.2.0

func PlotScatterFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, spec Spec)

PlotScatterFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterFloatPtrInt added in v1.2.0

func PlotScatterFloatPtrInt(label_id string, values *float32, count int32)

func PlotScatterFloatPtrIntV added in v1.2.0

func PlotScatterFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, spec Spec)

PlotScatterFloatPtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterG added in v1.5.0

func PlotScatterG(label_id string, getter ter, data uintptr, count int32)

func PlotScatterGV added in v1.5.0

func PlotScatterGV(label_id string, getter ter, data uintptr, count int32, spec Spec)

PlotScatterGV parameter default value hint: spec: ImPlotSpec()

func PlotScatterS8PtrInt added in v1.2.0

func PlotScatterS8PtrInt(label_id string, values *int8, count int32)

func PlotScatterS8PtrIntV added in v1.2.0

func PlotScatterS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, spec Spec)

PlotScatterS8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterS8PtrS8Ptr added in v1.2.0

func PlotScatterS8PtrS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotScatterS8PtrS8PtrV added in v1.2.0

func PlotScatterS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, spec Spec)

PlotScatterS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterS16PtrInt added in v1.2.0

func PlotScatterS16PtrInt(label_id string, values *int16, count int32)

func PlotScatterS16PtrIntV added in v1.2.0

func PlotScatterS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, spec Spec)

PlotScatterS16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterS16PtrS16Ptr added in v1.2.0

func PlotScatterS16PtrS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotScatterS16PtrS16PtrV added in v1.2.0

func PlotScatterS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, spec Spec)

PlotScatterS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterS32PtrInt added in v1.2.0

func PlotScatterS32PtrInt(label_id string, values *int32, count int32)

func PlotScatterS32PtrIntV added in v1.2.0

func PlotScatterS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, spec Spec)

PlotScatterS32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterS32PtrS32Ptr added in v1.2.0

func PlotScatterS32PtrS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotScatterS32PtrS32PtrV added in v1.2.0

func PlotScatterS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, spec Spec)

PlotScatterS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterS64PtrInt added in v1.2.0

func PlotScatterS64PtrInt(label_id string, values *int64, count int32)

func PlotScatterS64PtrIntV added in v1.2.0

func PlotScatterS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, spec Spec)

PlotScatterS64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterS64PtrS64Ptr added in v1.2.0

func PlotScatterS64PtrS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotScatterS64PtrS64PtrV added in v1.2.0

func PlotScatterS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, spec Spec)

PlotScatterS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterU8PtrInt added in v1.2.0

func PlotScatterU8PtrInt(label_id string, values *byte, count int32)

func PlotScatterU8PtrIntV added in v1.2.0

func PlotScatterU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, spec Spec)

PlotScatterU8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterU8PtrU8Ptr added in v1.2.0

func PlotScatterU8PtrU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotScatterU8PtrU8PtrV added in v1.2.0

func PlotScatterU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, spec Spec)

PlotScatterU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterU16PtrInt added in v1.2.0

func PlotScatterU16PtrInt(label_id string, values *uint16, count int32)

func PlotScatterU16PtrIntV added in v1.2.0

func PlotScatterU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, spec Spec)

PlotScatterU16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterU16PtrU16Ptr added in v1.2.0

func PlotScatterU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotScatterU16PtrU16PtrV added in v1.2.0

func PlotScatterU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, spec Spec)

PlotScatterU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterU32PtrInt added in v1.2.0

func PlotScatterU32PtrInt(label_id string, values *uint32, count int32)

func PlotScatterU32PtrIntV added in v1.2.0

func PlotScatterU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, spec Spec)

PlotScatterU32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterU32PtrU32Ptr added in v1.2.0

func PlotScatterU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotScatterU32PtrU32PtrV added in v1.2.0

func PlotScatterU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, spec Spec)

PlotScatterU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterU64PtrInt added in v1.2.0

func PlotScatterU64PtrInt(label_id string, values *uint64, count int32)

func PlotScatterU64PtrIntV added in v1.2.0

func PlotScatterU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, spec Spec)

PlotScatterU64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterU64PtrU64Ptr added in v1.2.0

func PlotScatterU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotScatterU64PtrU64PtrV added in v1.2.0

func PlotScatterU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, spec Spec)

PlotScatterU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotScatterdoublePtrInt added in v1.2.0

func PlotScatterdoublePtrInt(label_id string, values *float64, count int32)

func PlotScatterdoublePtrIntV added in v1.2.0

func PlotScatterdoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, spec Spec)

PlotScatterdoublePtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotScatterdoublePtrdoublePtr added in v1.2.0

func PlotScatterdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32)

func PlotScatterdoublePtrdoublePtrV added in v1.2.0

func PlotScatterdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, spec Spec)

PlotScatterdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedFloatPtrFloatPtrFloatPtr added in v1.2.0

func PlotShadedFloatPtrFloatPtrFloatPtr(label_id string, xs, ys1, ys2 *float32, count int32)

func PlotShadedFloatPtrFloatPtrFloatPtrV added in v1.2.0

func PlotShadedFloatPtrFloatPtrFloatPtrV(label_id string, xs, ys1, ys2 *float32, count int32, spec Spec)

PlotShadedFloatPtrFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedFloatPtrFloatPtrInt added in v1.2.0

func PlotShadedFloatPtrFloatPtrInt(label_id string, xs, ys *float32, count int32)

func PlotShadedFloatPtrFloatPtrIntV added in v1.2.0

func PlotShadedFloatPtrFloatPtrIntV(label_id string, xs, ys *float32, count int32, yref float64, spec Spec)

PlotShadedFloatPtrFloatPtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedFloatPtrInt added in v1.2.0

func PlotShadedFloatPtrInt(label_id string, values *float32, count int32)

func PlotShadedFloatPtrIntV added in v1.2.0

func PlotShadedFloatPtrIntV(label_id string, values *float32, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedFloatPtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedG added in v1.5.0

func PlotShadedG(label_id string, getter1 ter, data1 uintptr, getter2 ter, data2 uintptr, count int32)

func PlotShadedGV added in v1.5.0

func PlotShadedGV(label_id string, getter1 ter, data1 uintptr, getter2 ter, data2 uintptr, count int32, spec Spec)

PlotShadedGV parameter default value hint: spec: ImPlotSpec()

func PlotShadedS8PtrInt added in v1.2.0

func PlotShadedS8PtrInt(label_id string, values *int8, count int32)

func PlotShadedS8PtrIntV added in v1.2.0

func PlotShadedS8PtrIntV(label_id string, values *int8, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedS8PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedS8PtrS8PtrInt added in v1.2.0

func PlotShadedS8PtrS8PtrInt(label_id string, xs, ys *int8, count int32)

func PlotShadedS8PtrS8PtrIntV added in v1.2.0

func PlotShadedS8PtrS8PtrIntV(label_id string, xs, ys *int8, count int32, yref float64, spec Spec)

PlotShadedS8PtrS8PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedS8PtrS8PtrS8Ptr added in v1.2.0

func PlotShadedS8PtrS8PtrS8Ptr(label_id string, xs, ys1, ys2 *int8, count int32)

func PlotShadedS8PtrS8PtrS8PtrV added in v1.2.0

func PlotShadedS8PtrS8PtrS8PtrV(label_id string, xs, ys1, ys2 *int8, count int32, spec Spec)

PlotShadedS8PtrS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedS16PtrInt added in v1.2.0

func PlotShadedS16PtrInt(label_id string, values *int16, count int32)

func PlotShadedS16PtrIntV added in v1.2.0

func PlotShadedS16PtrIntV(label_id string, values *int16, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedS16PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedS16PtrS16PtrInt added in v1.2.0

func PlotShadedS16PtrS16PtrInt(label_id string, xs, ys *int16, count int32)

func PlotShadedS16PtrS16PtrIntV added in v1.2.0

func PlotShadedS16PtrS16PtrIntV(label_id string, xs, ys *int16, count int32, yref float64, spec Spec)

PlotShadedS16PtrS16PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedS16PtrS16PtrS16Ptr added in v1.2.0

func PlotShadedS16PtrS16PtrS16Ptr(label_id string, xs, ys1, ys2 *int16, count int32)

func PlotShadedS16PtrS16PtrS16PtrV added in v1.2.0

func PlotShadedS16PtrS16PtrS16PtrV(label_id string, xs, ys1, ys2 *int16, count int32, spec Spec)

PlotShadedS16PtrS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedS32PtrInt added in v1.2.0

func PlotShadedS32PtrInt(label_id string, values *int32, count int32)

func PlotShadedS32PtrIntV added in v1.2.0

func PlotShadedS32PtrIntV(label_id string, values *int32, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedS32PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedS32PtrS32PtrInt added in v1.2.0

func PlotShadedS32PtrS32PtrInt(label_id string, xs, ys *int32, count int32)

func PlotShadedS32PtrS32PtrIntV added in v1.2.0

func PlotShadedS32PtrS32PtrIntV(label_id string, xs, ys *int32, count int32, yref float64, spec Spec)

PlotShadedS32PtrS32PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedS32PtrS32PtrS32Ptr added in v1.2.0

func PlotShadedS32PtrS32PtrS32Ptr(label_id string, xs, ys1, ys2 *int32, count int32)

func PlotShadedS32PtrS32PtrS32PtrV added in v1.2.0

func PlotShadedS32PtrS32PtrS32PtrV(label_id string, xs, ys1, ys2 *int32, count int32, spec Spec)

PlotShadedS32PtrS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedS64PtrInt added in v1.2.0

func PlotShadedS64PtrInt(label_id string, values *int64, count int32)

func PlotShadedS64PtrIntV added in v1.2.0

func PlotShadedS64PtrIntV(label_id string, values *int64, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedS64PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedS64PtrS64PtrInt added in v1.2.0

func PlotShadedS64PtrS64PtrInt(label_id string, xs, ys *int64, count int32)

func PlotShadedS64PtrS64PtrIntV added in v1.2.0

func PlotShadedS64PtrS64PtrIntV(label_id string, xs, ys *int64, count int32, yref float64, spec Spec)

PlotShadedS64PtrS64PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedS64PtrS64PtrS64Ptr added in v1.2.0

func PlotShadedS64PtrS64PtrS64Ptr(label_id string, xs, ys1, ys2 *int64, count int32)

func PlotShadedS64PtrS64PtrS64PtrV added in v1.2.0

func PlotShadedS64PtrS64PtrS64PtrV(label_id string, xs, ys1, ys2 *int64, count int32, spec Spec)

PlotShadedS64PtrS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedU8PtrInt added in v1.2.0

func PlotShadedU8PtrInt(label_id string, values *byte, count int32)

func PlotShadedU8PtrIntV added in v1.2.0

func PlotShadedU8PtrIntV(label_id string, values *byte, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedU8PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedU8PtrU8PtrInt added in v1.2.0

func PlotShadedU8PtrU8PtrInt(label_id string, xs, ys *byte, count int32)

func PlotShadedU8PtrU8PtrIntV added in v1.2.0

func PlotShadedU8PtrU8PtrIntV(label_id string, xs, ys *byte, count int32, yref float64, spec Spec)

PlotShadedU8PtrU8PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedU8PtrU8PtrU8Ptr added in v1.2.0

func PlotShadedU8PtrU8PtrU8Ptr(label_id string, xs, ys1, ys2 *byte, count int32)

func PlotShadedU8PtrU8PtrU8PtrV added in v1.2.0

func PlotShadedU8PtrU8PtrU8PtrV(label_id string, xs, ys1, ys2 *byte, count int32, spec Spec)

PlotShadedU8PtrU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedU16PtrInt added in v1.2.0

func PlotShadedU16PtrInt(label_id string, values *uint16, count int32)

func PlotShadedU16PtrIntV added in v1.2.0

func PlotShadedU16PtrIntV(label_id string, values *uint16, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedU16PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedU16PtrU16PtrInt added in v1.2.0

func PlotShadedU16PtrU16PtrInt(label_id string, xs, ys *uint16, count int32)

func PlotShadedU16PtrU16PtrIntV added in v1.2.0

func PlotShadedU16PtrU16PtrIntV(label_id string, xs, ys *uint16, count int32, yref float64, spec Spec)

PlotShadedU16PtrU16PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedU16PtrU16PtrU16Ptr added in v1.2.0

func PlotShadedU16PtrU16PtrU16Ptr(label_id string, xs, ys1, ys2 *uint16, count int32)

func PlotShadedU16PtrU16PtrU16PtrV added in v1.2.0

func PlotShadedU16PtrU16PtrU16PtrV(label_id string, xs, ys1, ys2 *uint16, count int32, spec Spec)

PlotShadedU16PtrU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedU32PtrInt added in v1.2.0

func PlotShadedU32PtrInt(label_id string, values *uint32, count int32)

func PlotShadedU32PtrIntV added in v1.2.0

func PlotShadedU32PtrIntV(label_id string, values *uint32, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedU32PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedU32PtrU32PtrInt added in v1.2.0

func PlotShadedU32PtrU32PtrInt(label_id string, xs, ys *uint32, count int32)

func PlotShadedU32PtrU32PtrIntV added in v1.2.0

func PlotShadedU32PtrU32PtrIntV(label_id string, xs, ys *uint32, count int32, yref float64, spec Spec)

PlotShadedU32PtrU32PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedU32PtrU32PtrU32Ptr added in v1.2.0

func PlotShadedU32PtrU32PtrU32Ptr(label_id string, xs, ys1, ys2 *uint32, count int32)

func PlotShadedU32PtrU32PtrU32PtrV added in v1.2.0

func PlotShadedU32PtrU32PtrU32PtrV(label_id string, xs, ys1, ys2 *uint32, count int32, spec Spec)

PlotShadedU32PtrU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadedU64PtrInt added in v1.2.0

func PlotShadedU64PtrInt(label_id string, values *uint64, count int32)

func PlotShadedU64PtrIntV added in v1.2.0

func PlotShadedU64PtrIntV(label_id string, values *uint64, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadedU64PtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadedU64PtrU64PtrInt added in v1.2.0

func PlotShadedU64PtrU64PtrInt(label_id string, xs, ys *uint64, count int32)

func PlotShadedU64PtrU64PtrIntV added in v1.2.0

func PlotShadedU64PtrU64PtrIntV(label_id string, xs, ys *uint64, count int32, yref float64, spec Spec)

PlotShadedU64PtrU64PtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadedU64PtrU64PtrU64Ptr added in v1.2.0

func PlotShadedU64PtrU64PtrU64Ptr(label_id string, xs, ys1, ys2 *uint64, count int32)

func PlotShadedU64PtrU64PtrU64PtrV added in v1.2.0

func PlotShadedU64PtrU64PtrU64PtrV(label_id string, xs, ys1, ys2 *uint64, count int32, spec Spec)

PlotShadedU64PtrU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotShadeddoublePtrInt added in v1.2.0

func PlotShadeddoublePtrInt(label_id string, values *float64, count int32)

func PlotShadeddoublePtrIntV added in v1.2.0

func PlotShadeddoublePtrIntV(label_id string, values *float64, count int32, yref, xscale, xstart float64, spec Spec)

PlotShadeddoublePtrIntV parameter default value hint: yref: 0 xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotShadeddoublePtrdoublePtrInt added in v1.2.0

func PlotShadeddoublePtrdoublePtrInt(label_id string, xs, ys *float64, count int32)

func PlotShadeddoublePtrdoublePtrIntV added in v1.2.0

func PlotShadeddoublePtrdoublePtrIntV(label_id string, xs, ys *float64, count int32, yref float64, spec Spec)

PlotShadeddoublePtrdoublePtrIntV parameter default value hint: yref: 0 spec: ImPlotSpec()

func PlotShadeddoublePtrdoublePtrdoublePtr added in v1.2.0

func PlotShadeddoublePtrdoublePtrdoublePtr(label_id string, xs, ys1, ys2 *float64, count int32)

func PlotShadeddoublePtrdoublePtrdoublePtrV added in v1.2.0

func PlotShadeddoublePtrdoublePtrdoublePtrV(label_id string, xs, ys1, ys2 *float64, count int32, spec Spec)

PlotShadeddoublePtrdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsFloatPtrFloatPtr added in v1.2.0

func PlotStairsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotStairsFloatPtrFloatPtrV added in v1.2.0

func PlotStairsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, spec Spec)

PlotStairsFloatPtrFloatPtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsFloatPtrInt added in v1.2.0

func PlotStairsFloatPtrInt(label_id string, values *float32, count int32)

func PlotStairsFloatPtrIntV added in v1.2.0

func PlotStairsFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, spec Spec)

PlotStairsFloatPtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsG added in v1.5.0

func PlotStairsG(label_id string, getter ter, data uintptr, count int32)

func PlotStairsGV added in v1.5.0

func PlotStairsGV(label_id string, getter ter, data uintptr, count int32, spec Spec)

PlotStairsGV parameter default value hint: spec: ImPlotSpec()

func PlotStairsS8PtrInt added in v1.2.0

func PlotStairsS8PtrInt(label_id string, values *int8, count int32)

func PlotStairsS8PtrIntV added in v1.2.0

func PlotStairsS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, spec Spec)

PlotStairsS8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsS8PtrS8Ptr added in v1.2.0

func PlotStairsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotStairsS8PtrS8PtrV added in v1.2.0

func PlotStairsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, spec Spec)

PlotStairsS8PtrS8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsS16PtrInt added in v1.2.0

func PlotStairsS16PtrInt(label_id string, values *int16, count int32)

func PlotStairsS16PtrIntV added in v1.2.0

func PlotStairsS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, spec Spec)

PlotStairsS16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsS16PtrS16Ptr added in v1.2.0

func PlotStairsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotStairsS16PtrS16PtrV added in v1.2.0

func PlotStairsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, spec Spec)

PlotStairsS16PtrS16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsS32PtrInt added in v1.2.0

func PlotStairsS32PtrInt(label_id string, values *int32, count int32)

func PlotStairsS32PtrIntV added in v1.2.0

func PlotStairsS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, spec Spec)

PlotStairsS32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsS32PtrS32Ptr added in v1.2.0

func PlotStairsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotStairsS32PtrS32PtrV added in v1.2.0

func PlotStairsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, spec Spec)

PlotStairsS32PtrS32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsS64PtrInt added in v1.2.0

func PlotStairsS64PtrInt(label_id string, values *int64, count int32)

func PlotStairsS64PtrIntV added in v1.2.0

func PlotStairsS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, spec Spec)

PlotStairsS64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsS64PtrS64Ptr added in v1.2.0

func PlotStairsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotStairsS64PtrS64PtrV added in v1.2.0

func PlotStairsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, spec Spec)

PlotStairsS64PtrS64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsU8PtrInt added in v1.2.0

func PlotStairsU8PtrInt(label_id string, values *byte, count int32)

func PlotStairsU8PtrIntV added in v1.2.0

func PlotStairsU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, spec Spec)

PlotStairsU8PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsU8PtrU8Ptr added in v1.2.0

func PlotStairsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotStairsU8PtrU8PtrV added in v1.2.0

func PlotStairsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, spec Spec)

PlotStairsU8PtrU8PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsU16PtrInt added in v1.2.0

func PlotStairsU16PtrInt(label_id string, values *uint16, count int32)

func PlotStairsU16PtrIntV added in v1.2.0

func PlotStairsU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, spec Spec)

PlotStairsU16PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsU16PtrU16Ptr added in v1.2.0

func PlotStairsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotStairsU16PtrU16PtrV added in v1.2.0

func PlotStairsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, spec Spec)

PlotStairsU16PtrU16PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsU32PtrInt added in v1.2.0

func PlotStairsU32PtrInt(label_id string, values *uint32, count int32)

func PlotStairsU32PtrIntV added in v1.2.0

func PlotStairsU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, spec Spec)

PlotStairsU32PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsU32PtrU32Ptr added in v1.2.0

func PlotStairsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotStairsU32PtrU32PtrV added in v1.2.0

func PlotStairsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, spec Spec)

PlotStairsU32PtrU32PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsU64PtrInt added in v1.2.0

func PlotStairsU64PtrInt(label_id string, values *uint64, count int32)

func PlotStairsU64PtrIntV added in v1.2.0

func PlotStairsU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, spec Spec)

PlotStairsU64PtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsU64PtrU64Ptr added in v1.2.0

func PlotStairsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotStairsU64PtrU64PtrV added in v1.2.0

func PlotStairsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, spec Spec)

PlotStairsU64PtrU64PtrV parameter default value hint: spec: ImPlotSpec()

func PlotStairsdoublePtrInt added in v1.2.0

func PlotStairsdoublePtrInt(label_id string, values *float64, count int32)

func PlotStairsdoublePtrIntV added in v1.2.0

func PlotStairsdoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, spec Spec)

PlotStairsdoublePtrIntV parameter default value hint: xscale: 1 xstart: 0 spec: ImPlotSpec()

func PlotStairsdoublePtrdoublePtr added in v1.2.0

func PlotStairsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32)

func PlotStairsdoublePtrdoublePtrV added in v1.2.0

func PlotStairsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, spec Spec)

PlotStairsdoublePtrdoublePtrV parameter default value hint: spec: ImPlotSpec()

func PlotStemsFloatPtrFloatPtr added in v1.2.0

func PlotStemsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32)

func PlotStemsFloatPtrFloatPtrV added in v1.2.0

func PlotStemsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, ref float64, spec Spec)

PlotStemsFloatPtrFloatPtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsFloatPtrInt added in v1.2.0

func PlotStemsFloatPtrInt(label_id string, values *float32, count int32)

func PlotStemsFloatPtrIntV added in v1.2.0

func PlotStemsFloatPtrIntV(label_id string, values *float32, count int32, ref, scale, start float64, spec Spec)

PlotStemsFloatPtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsS8PtrInt added in v1.2.0

func PlotStemsS8PtrInt(label_id string, values *int8, count int32)

func PlotStemsS8PtrIntV added in v1.2.0

func PlotStemsS8PtrIntV(label_id string, values *int8, count int32, ref, scale, start float64, spec Spec)

PlotStemsS8PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsS8PtrS8Ptr added in v1.2.0

func PlotStemsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32)

func PlotStemsS8PtrS8PtrV added in v1.2.0

func PlotStemsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, ref float64, spec Spec)

PlotStemsS8PtrS8PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsS16PtrInt added in v1.2.0

func PlotStemsS16PtrInt(label_id string, values *int16, count int32)

func PlotStemsS16PtrIntV added in v1.2.0

func PlotStemsS16PtrIntV(label_id string, values *int16, count int32, ref, scale, start float64, spec Spec)

PlotStemsS16PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsS16PtrS16Ptr added in v1.2.0

func PlotStemsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32)

func PlotStemsS16PtrS16PtrV added in v1.2.0

func PlotStemsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, ref float64, spec Spec)

PlotStemsS16PtrS16PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsS32PtrInt added in v1.2.0

func PlotStemsS32PtrInt(label_id string, values *int32, count int32)

func PlotStemsS32PtrIntV added in v1.2.0

func PlotStemsS32PtrIntV(label_id string, values *int32, count int32, ref, scale, start float64, spec Spec)

PlotStemsS32PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsS32PtrS32Ptr added in v1.2.0

func PlotStemsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32)

func PlotStemsS32PtrS32PtrV added in v1.2.0

func PlotStemsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, ref float64, spec Spec)

PlotStemsS32PtrS32PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsS64PtrInt added in v1.2.0

func PlotStemsS64PtrInt(label_id string, values *int64, count int32)

func PlotStemsS64PtrIntV added in v1.2.0

func PlotStemsS64PtrIntV(label_id string, values *int64, count int32, ref, scale, start float64, spec Spec)

PlotStemsS64PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsS64PtrS64Ptr added in v1.2.0

func PlotStemsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32)

func PlotStemsS64PtrS64PtrV added in v1.2.0

func PlotStemsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, ref float64, spec Spec)

PlotStemsS64PtrS64PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsU8PtrInt added in v1.2.0

func PlotStemsU8PtrInt(label_id string, values *byte, count int32)

func PlotStemsU8PtrIntV added in v1.2.0

func PlotStemsU8PtrIntV(label_id string, values *byte, count int32, ref, scale, start float64, spec Spec)

PlotStemsU8PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsU8PtrU8Ptr added in v1.2.0

func PlotStemsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32)

func PlotStemsU8PtrU8PtrV added in v1.2.0

func PlotStemsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, ref float64, spec Spec)

PlotStemsU8PtrU8PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsU16PtrInt added in v1.2.0

func PlotStemsU16PtrInt(label_id string, values *uint16, count int32)

func PlotStemsU16PtrIntV added in v1.2.0

func PlotStemsU16PtrIntV(label_id string, values *uint16, count int32, ref, scale, start float64, spec Spec)

PlotStemsU16PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsU16PtrU16Ptr added in v1.2.0

func PlotStemsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32)

func PlotStemsU16PtrU16PtrV added in v1.2.0

func PlotStemsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, ref float64, spec Spec)

PlotStemsU16PtrU16PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsU32PtrInt added in v1.2.0

func PlotStemsU32PtrInt(label_id string, values *uint32, count int32)

func PlotStemsU32PtrIntV added in v1.2.0

func PlotStemsU32PtrIntV(label_id string, values *uint32, count int32, ref, scale, start float64, spec Spec)

PlotStemsU32PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsU32PtrU32Ptr added in v1.2.0

func PlotStemsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32)

func PlotStemsU32PtrU32PtrV added in v1.2.0

func PlotStemsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, ref float64, spec Spec)

PlotStemsU32PtrU32PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsU64PtrInt added in v1.2.0

func PlotStemsU64PtrInt(label_id string, values *uint64, count int32)

func PlotStemsU64PtrIntV added in v1.2.0

func PlotStemsU64PtrIntV(label_id string, values *uint64, count int32, ref, scale, start float64, spec Spec)

PlotStemsU64PtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsU64PtrU64Ptr added in v1.2.0

func PlotStemsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32)

func PlotStemsU64PtrU64PtrV added in v1.2.0

func PlotStemsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, ref float64, spec Spec)

PlotStemsU64PtrU64PtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotStemsdoublePtrInt added in v1.2.0

func PlotStemsdoublePtrInt(label_id string, values *float64, count int32)

func PlotStemsdoublePtrIntV added in v1.2.0

func PlotStemsdoublePtrIntV(label_id string, values *float64, count int32, ref, scale, start float64, spec Spec)

PlotStemsdoublePtrIntV parameter default value hint: ref: 0 scale: 1 start: 0 spec: ImPlotSpec()

func PlotStemsdoublePtrdoublePtr added in v1.2.0

func PlotStemsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32)

func PlotStemsdoublePtrdoublePtrV added in v1.2.0

func PlotStemsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, ref float64, spec Spec)

PlotStemsdoublePtrdoublePtrV parameter default value hint: ref: 0 spec: ImPlotSpec()

func PlotText added in v1.2.0

func PlotText(text string, x, y float64)

func PlotTextV added in v1.2.0

func PlotTextV(text string, x, y float64, pix_offset imgui.Vec2, spec Spec)

Plots a centered text label at point x,y with an optional pixel offset. Text color can be changed with ImPlot::PushStyleColor(ImPlotCol_InlayText, ...). PlotTextV parameter default value hint: pix_offset: ImVec2(0,0) spec: ImPlotSpec()

func PlotToPixelsPlotPoint added in v1.5.0

func PlotToPixelsPlotPoint(plt PlotPoint) imgui.Vec2

func PlotToPixelsPlotPointV added in v1.5.0

func PlotToPixelsPlotPointV(plt PlotPoint, x_axis, y_axis AxisEnum) imgui.Vec2

Convert a position in the current plot's coordinate system to pixels. Passing IMPLOT_AUTO uses the current axes. PlotToPixelsPlotPointV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func PlotToPixelsdouble added in v1.2.0

func PlotToPixelsdouble(x, y float64) imgui.Vec2

func PlotToPixelsdoubleV added in v1.2.0

func PlotToPixelsdoubleV(x, y float64, x_axis, y_axis AxisEnum) imgui.Vec2

PlotToPixelsdoubleV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func PopColormap added in v1.2.0

func PopColormap()

func PopColormapV added in v1.2.0

func PopColormapV(count int32)

Undo temporary colormap modification(s). Undo multiple pushes at once by increasing count. PopColormapV parameter default value hint: count: 1

func PopPlotClipRect added in v1.2.0

func PopPlotClipRect()

Pop plot clip rect. Call between Begin/EndPlot.

func PopStyleColor added in v1.2.0

func PopStyleColor()

func PopStyleColorV added in v1.2.0

func PopStyleColorV(count int32)

Undo temporary style color modification(s). Undo multiple pushes at once by increasing count. PopStyleColorV parameter default value hint: count: 1

func PopStyleVar added in v1.2.0

func PopStyleVar()

func PopStyleVarV added in v1.2.0

func PopStyleVarV(count int32)

Undo temporary style variable modification(s). Undo multiple pushes at once by increasing count. PopStyleVarV parameter default value hint: count: 1

func Precision added in v1.2.0

func Precision(val float64) int32

Returns a floating point precision to use given a value

func PushColormapPlotColormap added in v1.2.0

func PushColormapPlotColormap(cmap Colormap)

Temporarily switch to one of the built-in (i.e. ImPlotColormap_XXX) or user-added colormaps (i.e. a return value of AddColormap). Don't forget to call PopColormap!

func PushColormapStr added in v1.2.0

func PushColormapStr(name string)

Push a colormap by string name. Use built-in names such as "Default", "Deep", "Jet", etc. or a string you provided to AddColormap. Don't forget to call PopColormap!

func PushPlotClipRect added in v1.2.0

func PushPlotClipRect()

func PushPlotClipRectV added in v1.2.0

func PushPlotClipRectV(expand float32)

Push clip rect for rendering to current plot area. The rect can be expanded or contracted by #expand pixels. Call between Begin/EndPlot. PushPlotClipRectV parameter default value hint: expand: 0

func PushStyleColorU32 added in v1.2.0

func PushStyleColorU32(idx Col, col uint32)

Temporarily modify a style color. Don't forget to call PopStyleColor!

func PushStyleColorVec4 added in v1.2.0

func PushStyleColorVec4(idx Col, col imgui.Vec4)

func PushStyleVarFloat added in v1.2.0

func PushStyleVarFloat(idx StyleVar, val float32)

Temporarily modify a style variable of float type. Don't forget to call PopStyleVar!

func PushStyleVarInt added in v1.2.0

func PushStyleVarInt(idx StyleVar, val int32)

Temporarily modify a style variable of int type. Don't forget to call PopStyleVar!

func PushStyleVarVec2 added in v1.2.0

func PushStyleVarVec2(idx StyleVar, val imgui.Vec2)

Temporarily modify a style variable of ImVec2 type. Don't forget to call PopStyleVar!

func RangesOverlap added in v1.2.0

func RangesOverlap(r1, r2 Range) bool

Returns true if two ranges overlap

func RenderColorBar added in v1.2.0

func RenderColorBar(colors *uint32, size int32, DrawList *imgui.DrawList, bounds imgui.Rect, vert, reversed, continuous bool)

Render a colormap bar

func ResetCtxForNextAlignedPlots added in v1.2.0

func ResetCtxForNextAlignedPlots(ctx *Context)

Resets an ImPlot context for the next call to BeginAlignedPlots

func ResetCtxForNextPlot added in v1.2.0

func ResetCtxForNextPlot(ctx *Context)

Resets an ImPlot context for the next call to BeginPlot

func ResetCtxForNextSubplot added in v1.2.0

func ResetCtxForNextSubplot(ctx *Context)

Resets an ImPlot context for the next call to BeginSubplot

func RoundTo added in v1.2.0

func RoundTo(val float64, prec int32) float64

Round a value to a given precision

func SampleColormap added in v1.2.0

func SampleColormap(t float32) imgui.Vec4

func SampleColormapU32 added in v1.2.0

func SampleColormapU32(t float32, cmap Colormap) uint32

Linearly interpolates a color from the current colormap given t between 0 and 1.

func SampleColormapV added in v1.2.0

func SampleColormapV(t float32, cmap Colormap) imgui.Vec4

Sample a color from the current colormap given t between 0 and 1. SampleColormapV parameter default value hint: cmap: IMPLOT_AUTO

func SetAxes added in v1.2.0

func SetAxes(x_axis, y_axis AxisEnum)

func SetAxis added in v1.2.0

func SetAxis(axis AxisEnum)

Select which axis/axes will be used for subsequent plot elements.

func SetCurrentContext added in v1.2.0

func SetCurrentContext(ctx *Context)

Sets the current ImPlot context.

func SetImGuiContext added in v1.2.0

func SetImGuiContext(ctx *imgui.Context)

Sets the current **ImGui** context. This is ONLY necessary if you are compiling ImPlot as a DLL (not recommended) separate from your ImGui compilation. It sets the global variable GImGui, which is not shared across DLL boundaries. See GImGui documentation in imgui.cpp for more details.

func SetNextAxesLimits added in v1.2.0

func SetNextAxesLimits(x_min, x_max, y_min, y_max float64)

func SetNextAxesLimitsV added in v1.2.0

func SetNextAxesLimitsV(x_min, x_max, y_min, y_max float64, cond Cond)

Sets the upcoming primary X and Y axes range limits. If ImPlotCond_Always is used, the axes limits will be locked (shorthand for two calls to SetupAxisLimits). SetNextAxesLimitsV parameter default value hint: cond: ImPlotCond_Once

func SetNextAxesToFit added in v1.2.0

func SetNextAxesToFit()

Sets all upcoming axes to auto fit to their data.

func SetNextAxisLimits added in v1.2.0

func SetNextAxisLimits(axis AxisEnum, v_min, v_max float64)

func SetNextAxisLimitsV added in v1.2.0

func SetNextAxisLimitsV(axis AxisEnum, v_min, v_max float64, cond Cond)

Sets an upcoming axis range limits. If ImPlotCond_Always is used, the axes limits will be locked. SetNextAxisLimitsV parameter default value hint: cond: ImPlotCond_Once

func SetNextAxisLinks(axis AxisEnum, link_min, link_max *float64)

Links an upcoming axis range limits to external values. Set to nullptr for no linkage. The pointer data must remain valid until EndPlot!

func SetNextAxisToFit added in v1.2.0

func SetNextAxisToFit(axis AxisEnum)

Set an upcoming axis to auto fit to its data.

func SetupAxes added in v1.2.0

func SetupAxes(x_label, y_label string)

func SetupAxesLimits added in v1.2.0

func SetupAxesLimits(x_min, x_max, y_min, y_max float64)

func SetupAxesLimitsV added in v1.2.0

func SetupAxesLimitsV(x_min, x_max, y_min, y_max float64, cond Cond)

Sets the primary X and Y axes range limits. If ImPlotCond_Always is used, the axes limits will be locked (shorthand for two calls to SetupAxisLimits). SetupAxesLimitsV parameter default value hint: cond: ImPlotCond_Once

func SetupAxesV added in v1.2.0

func SetupAxesV(x_label, y_label string, x_flags, y_flags AxisFlags)

Sets the label and/or flags for primary X and Y axes (shorthand for two calls to SetupAxis). SetupAxesV parameter default value hint: x_flags: 0 y_flags: 0

func SetupAxis added in v1.2.0

func SetupAxis(axis AxisEnum)

func SetupAxisFormatPlotFormatter added in v1.2.0

func SetupAxisFormatPlotFormatter(axis AxisEnum, formatter Formatter)

func SetupAxisFormatPlotFormatterV added in v1.2.0

func SetupAxisFormatPlotFormatterV(axis AxisEnum, formatter Formatter, data uintptr)

Sets the format of numeric axis labels via formatter callback. Given #value, write a label into #buff. Optionally pass user data. SetupAxisFormatPlotFormatterV parameter default value hint: data: nullptr

func SetupAxisFormatStr added in v1.2.0

func SetupAxisFormatStr(axis AxisEnum, fmt string)

Sets the format of numeric axis labels via formatter specifier (default="%g"). Formatted values will be double (i.e. use %f).

func SetupAxisLimits added in v1.2.0

func SetupAxisLimits(axis AxisEnum, v_min, v_max float64)

func SetupAxisLimitsConstraints added in v1.2.0

func SetupAxisLimitsConstraints(axis AxisEnum, v_min, v_max float64)

Sets an axis' limits constraints.

func SetupAxisLimitsV added in v1.2.0

func SetupAxisLimitsV(axis AxisEnum, v_min, v_max float64, cond Cond)

Sets an axis range limits. If ImPlotCond_Always is used, the axes limits will be locked. Inversion with v_min > v_max is not supported; use SetupAxisLimits instead. SetupAxisLimitsV parameter default value hint: cond: ImPlotCond_Once

func SetupAxisLinks(axis AxisEnum, link_min, link_max *float64)

Links an axis range limits to external values. Set to nullptr for no linkage. The pointer data must remain valid until EndPlot.

func SetupAxisScalePlotScale added in v1.2.0

func SetupAxisScalePlotScale(axis AxisEnum, scale Scale)

Sets an axis' scale using built-in options.

func SetupAxisScalePlotTransform added in v1.2.0

func SetupAxisScalePlotTransform(axis AxisEnum, forward, inverse Transform)

func SetupAxisScalePlotTransformV added in v1.2.0

func SetupAxisScalePlotTransformV(axis AxisEnum, forward, inverse Transform, data uintptr)

Sets an axis' scale using user supplied forward and inverse transforms. SetupAxisScalePlotTransformV parameter default value hint: data: nullptr

func SetupAxisTicksdouble added in v1.2.0

func SetupAxisTicksdouble(axis AxisEnum, v_min, v_max float64, n_ticks int32)

func SetupAxisTicksdoublePtr added in v1.2.0

func SetupAxisTicksdoublePtr(axis AxisEnum, values *float64, n_ticks int32)

func SetupAxisTicksdoublePtrV added in v1.2.0

func SetupAxisTicksdoublePtrV(axis AxisEnum, values *float64, n_ticks int32, labels []string, keep_default bool)

Sets an axis' ticks and optionally the labels. To keep the default ticks, set #keep_default=true. SetupAxisTicksdoublePtrV parameter default value hint: labels: nullptr keep_default: false

func SetupAxisTicksdoubleV added in v1.2.0

func SetupAxisTicksdoubleV(axis AxisEnum, v_min, v_max float64, n_ticks int32, labels []string, keep_default bool)

Sets an axis' ticks and optionally the labels for the next plot. To keep the default ticks, set #keep_default=true. SetupAxisTicksdoubleV parameter default value hint: labels: nullptr keep_default: false

func SetupAxisV added in v1.2.0

func SetupAxisV(axis AxisEnum, label string, flags AxisFlags)

Enables an axis or sets the label and/or flags for an existing axis. Leave #label = nullptr for no label. SetupAxisV parameter default value hint: label: nullptr flags: 0

func SetupAxisZoomConstraints added in v1.2.0

func SetupAxisZoomConstraints(axis AxisEnum, z_min, z_max float64)

Sets an axis' zoom constraints.

func SetupFinish added in v1.2.0

func SetupFinish()

Explicitly finalize plot setup. Once you call this, you cannot make anymore Setup calls for the current plot! Note that calling this function is OPTIONAL; it will be called by the first subsequent setup-locking API call.

func SetupLegend added in v1.2.0

func SetupLegend(location Location)

func SetupLegendV added in v1.2.0

func SetupLegendV(location Location, flags LegendFlags)

Sets up the plot legend. This can also be called immediately after BeginSubplots when using ImPlotSubplotFlags_ShareItems. SetupLegendV parameter default value hint: flags: 0

func SetupLock added in v1.2.0

func SetupLock()

Lock Setup and call SetupFinish if necessary.

func SetupMouseText added in v1.2.0

func SetupMouseText(location Location)

func SetupMouseTextV added in v1.2.0

func SetupMouseTextV(location Location, flags MouseTextFlags)

Set the location of the current plot's mouse position text (default = South|East). SetupMouseTextV parameter default value hint: flags: 0

func ShowAltLegend added in v1.2.0

func ShowAltLegend(title_id string)

func ShowAltLegendV added in v1.2.0

func ShowAltLegendV(title_id string, vertical bool, size imgui.Vec2, interactable bool)

Shows an alternate legend for the plot identified by #title_id, outside of the plot frame (can be called before or after of Begin/EndPlot but must occur in the same ImGui window! This is not thoroughly tested nor scrollable!). ShowAltLegendV parameter default value hint: vertical: true size: ImVec2(0,0) interactable: true

func ShowAxisContextMenu added in v1.2.0

func ShowAxisContextMenu(axis, equal_axis *Axis)

func ShowAxisContextMenuV added in v1.2.0

func ShowAxisContextMenuV(axis, equal_axis *Axis, time_allowed bool)

Shows an axis's context menu. ShowAxisContextMenuV parameter default value hint: time_allowed: false

func ShowColormapSelector added in v1.2.0

func ShowColormapSelector(label string) bool

Shows ImPlot colormap selector dropdown menu.

func ShowDatePicker added in v1.2.0

func ShowDatePicker(id string, level *int32, t *PlotTime) bool

func ShowDatePickerV added in v1.2.0

func ShowDatePickerV(id string, level *int32, t, t1, t2 *PlotTime) bool

Shows a date picker widget block (year/month/day). #level = 0 for day, 1 for month, 2 for year. Modified by user interaction. #t will be set when a day is clicked and the function will return true. #t1 and #t2 are optional dates to highlight. ShowDatePickerV parameter default value hint: t1: nullptr t2: nullptr

func ShowDemoWindow added in v1.2.0

func ShowDemoWindow()

func ShowDemoWindowV added in v1.2.0

func ShowDemoWindowV(p_open *bool)

Shows the ImPlot demo window (add implot_demo.cpp to your sources!) ShowDemoWindowV parameter default value hint: p_open: nullptr

func ShowInputMapSelector added in v1.2.0

func ShowInputMapSelector(label string) bool

Shows ImPlot input map selector dropdown menu.

func ShowLegendContextMenu added in v1.2.0

func ShowLegendContextMenu(legend *Legend, visible bool) bool

Shows a legend's context menu.

func ShowLegendEntries added in v1.2.0

func ShowLegendEntries(items *ItemGroup, legend_bb imgui.Rect, interactable bool, pad, spacing imgui.Vec2, vertical bool, DrawList *imgui.DrawList) bool

Renders legend entries into a bounding box

func ShowMetricsWindow added in v1.2.0

func ShowMetricsWindow()

func ShowMetricsWindowV added in v1.2.0

func ShowMetricsWindowV(p_popen *bool)

Shows ImPlot metrics/debug information window. ShowMetricsWindowV parameter default value hint: p_popen: nullptr

func ShowPlotContextMenu added in v1.2.0

func ShowPlotContextMenu(plot *Plot)

Shows a plot's context menu.

func ShowStyleEditor added in v1.2.0

func ShowStyleEditor()

func ShowStyleEditorV added in v1.2.0

func ShowStyleEditorV(ref *Style)

Shows ImPlot style editor block (not a window). ShowStyleEditorV parameter default value hint: ref: nullptr

func ShowStyleSelector added in v1.2.0

func ShowStyleSelector(label string) bool

Shows ImPlot style selector dropdown menu.

func ShowSubplotsContextMenu added in v1.2.0

func ShowSubplotsContextMenu(subplot *Subplot)

Shows a subplot's context menu.

func ShowTimePicker added in v1.2.0

func ShowTimePicker(id string, t *PlotTime) bool

Shows a time picker widget block (hour/min/sec). #t will be set when a new hour, minute, or sec is selected or am/pm is toggled, and the function will return true.

func ShowUserGuide added in v1.2.0

func ShowUserGuide()

Add basic help/info block for end users (not a window).

func StyleColorsAuto added in v1.2.0

func StyleColorsAuto()

func StyleColorsAutoV added in v1.2.0

func StyleColorsAutoV(dst *Style)

Style plot colors for current ImGui style (default). StyleColorsAutoV parameter default value hint: dst: nullptr

func StyleColorsClassic added in v1.2.0

func StyleColorsClassic()

func StyleColorsClassicV added in v1.2.0

func StyleColorsClassicV(dst *Style)

Style plot colors for ImGui "Classic". StyleColorsClassicV parameter default value hint: dst: nullptr

func StyleColorsDark added in v1.2.0

func StyleColorsDark()

func StyleColorsDarkV added in v1.2.0

func StyleColorsDarkV(dst *Style)

Style plot colors for ImGui "Dark". StyleColorsDarkV parameter default value hint: dst: nullptr

func StyleColorsLight added in v1.2.0

func StyleColorsLight()

func StyleColorsLightV added in v1.2.0

func StyleColorsLightV(dst *Style)

Style plot colors for ImGui "Light". StyleColorsLightV parameter default value hint: dst: nullptr

func SubplotNextCell added in v1.2.0

func SubplotNextCell()

Advances to next subplot

func TagXBool added in v1.2.0

func TagXBool(x float64, col imgui.Vec4)

func TagXBoolV added in v1.2.0

func TagXBoolV(x float64, col imgui.Vec4, round bool)

Shows a x-axis tag at the specified coordinate value. TagXBoolV parameter default value hint: round: false

func TagXStr added in v1.2.0

func TagXStr(x float64, col imgui.Vec4, fmt string)

func TagXStr0 added in v1.6.0

func TagXStr0(x float64, col imgui.Vec4, fmt string)

func TagYBool added in v1.2.0

func TagYBool(y float64, col imgui.Vec4)

func TagYBoolV added in v1.2.0

func TagYBoolV(y float64, col imgui.Vec4, round bool)

Shows a y-axis tag at the specified coordinate value. TagYBoolV parameter default value hint: round: false

func TagYStr added in v1.2.0

func TagYStr(y float64, col imgui.Vec4, fmt string)

func TagYStr0 added in v1.6.0

func TagYStr0(y float64, col imgui.Vec4, fmt string)

func TransformForwardLog10 added in v1.2.0

func TransformForwardLog10(v float64, noname1 uintptr) float64

func TransformForwardLogit added in v1.2.0

func TransformForwardLogit(v float64, noname1 uintptr) float64

func TransformForwardSymLog added in v1.2.0

func TransformForwardSymLog(v float64, noname1 uintptr) float64

func TransformInverseLog10 added in v1.2.0

func TransformInverseLog10(v float64, noname1 uintptr) float64

func TransformInverseLogit added in v1.2.0

func TransformInverseLogit(v float64, noname1 uintptr) float64

func TransformInverseSymLog added in v1.2.0

func TransformInverseSymLog(v float64, noname1 uintptr) float64

Types

type AlignmentData added in v1.2.0

type AlignmentData struct {
	CData *C.ImPlotAlignmentData
}

func NewAlignmentData added in v1.2.0

func NewAlignmentData() *AlignmentData

func NewAlignmentDataFromC added in v1.2.0

func NewAlignmentDataFromC[SRC any](cvalue SRC) *AlignmentData

NewAlignmentDataFromC creates AlignmentData from its C pointer. SRC ~= *C.ImPlotAlignmentData

func NewEmptyAlignmentData added in v1.2.0

func NewEmptyAlignmentData() *AlignmentData

NewEmptyAlignmentData creates AlignmentData with its 0 value.

func (*AlignmentData) Begin added in v1.2.0

func (self *AlignmentData) Begin()

func (AlignmentData) C added in v1.2.0

func (self AlignmentData) C() (C.ImPlotAlignmentData, func())

C is like Handle but returns plain type instead of pointer.

func (*AlignmentData) Destroy added in v1.2.0

func (self *AlignmentData) Destroy()

func (*AlignmentData) End added in v1.2.0

func (self *AlignmentData) End()

func (*AlignmentData) Handle added in v1.2.0

func (self *AlignmentData) Handle() (result *C.ImPlotAlignmentData, fin func())

Handle returns C version of AlignmentData and its finalizer func.

func (*AlignmentData) PadA added in v1.2.0

func (self *AlignmentData) PadA() float32

func (*AlignmentData) PadAMax added in v1.2.0

func (self *AlignmentData) PadAMax() float32

func (*AlignmentData) PadB added in v1.2.0

func (self *AlignmentData) PadB() float32

func (*AlignmentData) PadBMax added in v1.2.0

func (self *AlignmentData) PadBMax() float32

func (*AlignmentData) Reset added in v1.2.0

func (self *AlignmentData) Reset()

func (AlignmentData) SetPadA added in v1.2.0

func (self AlignmentData) SetPadA(v float32)

func (AlignmentData) SetPadAMax added in v1.2.0

func (self AlignmentData) SetPadAMax(v float32)

func (AlignmentData) SetPadB added in v1.2.0

func (self AlignmentData) SetPadB(v float32)

func (AlignmentData) SetPadBMax added in v1.2.0

func (self AlignmentData) SetPadBMax(v float32)

func (AlignmentData) SetVertical added in v1.2.0

func (self AlignmentData) SetVertical(v bool)

func (*AlignmentData) Update added in v1.2.0

func (self *AlignmentData) Update(pad_a, pad_b, delta_a, delta_b *float32)

func (*AlignmentData) Vertical added in v1.2.0

func (self *AlignmentData) Vertical() bool

type Annotation added in v1.2.0

type Annotation struct {
	CData *C.ImPlotAnnotation
}

func NewAnnotation added in v1.2.0

func NewAnnotation() *Annotation

func NewAnnotationFromC added in v1.2.0

func NewAnnotationFromC[SRC any](cvalue SRC) *Annotation

NewAnnotationFromC creates Annotation from its C pointer. SRC ~= *C.ImPlotAnnotation

func NewEmptyAnnotation added in v1.2.0

func NewEmptyAnnotation() *Annotation

NewEmptyAnnotation creates Annotation with its 0 value.

func (Annotation) C added in v1.2.0

func (self Annotation) C() (C.ImPlotAnnotation, func())

C is like Handle but returns plain type instead of pointer.

func (*Annotation) Clamp added in v1.2.0

func (self *Annotation) Clamp() bool

func (*Annotation) ColorBg added in v1.2.0

func (self *Annotation) ColorBg() uint32

func (*Annotation) ColorFg added in v1.2.0

func (self *Annotation) ColorFg() uint32

func (*Annotation) Destroy added in v1.2.0

func (self *Annotation) Destroy()

func (*Annotation) Handle added in v1.2.0

func (self *Annotation) Handle() (result *C.ImPlotAnnotation, fin func())

Handle returns C version of Annotation and its finalizer func.

func (*Annotation) Offset added in v1.2.0

func (self *Annotation) Offset() imgui.Vec2

func (*Annotation) Pos added in v1.2.0

func (self *Annotation) Pos() imgui.Vec2

func (Annotation) SetClamp added in v1.2.0

func (self Annotation) SetClamp(v bool)

func (Annotation) SetColorBg added in v1.2.0

func (self Annotation) SetColorBg(v uint32)

func (Annotation) SetColorFg added in v1.2.0

func (self Annotation) SetColorFg(v uint32)

func (Annotation) SetOffset added in v1.2.0

func (self Annotation) SetOffset(v imgui.Vec2)

func (Annotation) SetPos added in v1.2.0

func (self Annotation) SetPos(v imgui.Vec2)

func (Annotation) SetTextOffset added in v1.2.0

func (self Annotation) SetTextOffset(v int32)

func (*Annotation) TextOffset added in v1.2.0

func (self *Annotation) TextOffset() int32

type AnnotationCollection added in v1.2.0

type AnnotationCollection struct {
	CData *C.ImPlotAnnotationCollection
}

func NewAnnotationCollection added in v1.2.0

func NewAnnotationCollection() *AnnotationCollection

func NewAnnotationCollectionFromC added in v1.2.0

func NewAnnotationCollectionFromC[SRC any](cvalue SRC) *AnnotationCollection

NewAnnotationCollectionFromC creates AnnotationCollection from its C pointer. SRC ~= *C.ImPlotAnnotationCollection

func NewEmptyAnnotationCollection added in v1.2.0

func NewEmptyAnnotationCollection() *AnnotationCollection

NewEmptyAnnotationCollection creates AnnotationCollection with its 0 value.

func (*AnnotationCollection) Annotations added in v1.2.0

func (self *AnnotationCollection) Annotations() vectors.Vector[Annotation]

func (*AnnotationCollection) Append added in v1.2.0

func (self *AnnotationCollection) Append(pos, off imgui.Vec2, bg, fg uint32, clamp bool, fmt string)

func (*AnnotationCollection) Append0 added in v1.6.0

func (self *AnnotationCollection) Append0(pos, off imgui.Vec2, bg, fg uint32, clamp bool, fmt string)

func (AnnotationCollection) C added in v1.2.0

C is like Handle but returns plain type instead of pointer.

func (*AnnotationCollection) Destroy added in v1.2.0

func (self *AnnotationCollection) Destroy()

func (*AnnotationCollection) Handle added in v1.2.0

func (self *AnnotationCollection) Handle() (result *C.ImPlotAnnotationCollection, fin func())

Handle returns C version of AnnotationCollection and its finalizer func.

func (*AnnotationCollection) Reset added in v1.2.0

func (self *AnnotationCollection) Reset()

func (AnnotationCollection) SetAnnotations added in v1.2.0

func (self AnnotationCollection) SetAnnotations(v vectors.Vector[Annotation])

func (AnnotationCollection) SetSize added in v1.2.0

func (self AnnotationCollection) SetSize(v int32)

func (AnnotationCollection) SetTextBuffer added in v1.2.0

func (self AnnotationCollection) SetTextBuffer(v imgui.TextBuffer)

func (*AnnotationCollection) Size added in v1.2.0

func (self *AnnotationCollection) Size() int32

func (*AnnotationCollection) Text added in v1.2.0

func (self *AnnotationCollection) Text(idx int32) string

func (*AnnotationCollection) TextBuffer added in v1.2.0

func (self *AnnotationCollection) TextBuffer() imgui.TextBuffer

type Axis added in v1.2.0

type Axis struct {
	CData *C.ImPlotAxis
}

func NewAxis added in v1.2.0

func NewAxis() *Axis

func NewAxisFromC added in v1.2.0

func NewAxisFromC[SRC any](cvalue SRC) *Axis

NewAxisFromC creates Axis from its C pointer. SRC ~= *C.ImPlotAxis

func NewEmptyAxis added in v1.2.0

func NewEmptyAxis() *Axis

NewEmptyAxis creates Axis with its 0 value.

func (*Axis) ApplyFit added in v1.2.0

func (self *Axis) ApplyFit(padding float32)

func (*Axis) Aspect added in v1.2.0

func (self *Axis) Aspect() float64

func (Axis) C added in v1.2.0

func (self Axis) C() (C.ImPlotAxis, func())

C is like Handle but returns plain type instead of pointer.

func (*Axis) CanInitFit added in v1.2.0

func (self *Axis) CanInitFit() bool

func (*Axis) ColorAct added in v1.2.0

func (self *Axis) ColorAct() uint32

func (*Axis) ColorBg added in v1.2.0

func (self *Axis) ColorBg() uint32

func (*Axis) ColorHiLi added in v1.2.0

func (self *Axis) ColorHiLi() uint32

func (*Axis) ColorHov added in v1.2.0

func (self *Axis) ColorHov() uint32

func (*Axis) ColorMaj added in v1.2.0

func (self *Axis) ColorMaj() uint32

func (*Axis) ColorMin added in v1.2.0

func (self *Axis) ColorMin() uint32

func (*Axis) ColorTick added in v1.2.0

func (self *Axis) ColorTick() uint32

func (*Axis) ColorTxt added in v1.2.0

func (self *Axis) ColorTxt() uint32

func (*Axis) Constrain added in v1.2.0

func (self *Axis) Constrain()

func (*Axis) ConstraintRange added in v1.2.0

func (self *Axis) ConstraintRange() Range

func (*Axis) ConstraintZoom added in v1.2.0

func (self *Axis) ConstraintZoom() Range

func (*Axis) Datum1 added in v1.2.0

func (self *Axis) Datum1() float32

func (*Axis) Datum2 added in v1.2.0

func (self *Axis) Datum2() float32

func (*Axis) Destroy added in v1.2.0

func (self *Axis) Destroy()

func (*Axis) Enabled added in v1.2.0

func (self *Axis) Enabled() bool

func (*Axis) ExtendFit added in v1.2.0

func (self *Axis) ExtendFit(v float64)

func (*Axis) ExtendFitWith added in v1.2.0

func (self *Axis) ExtendFitWith(alt *Axis, v, v_alt float64)

func (*Axis) FitExtents added in v1.2.0

func (self *Axis) FitExtents() Range

func (*Axis) FitThisFrame added in v1.2.0

func (self *Axis) FitThisFrame() bool

func (*Axis) Flags added in v1.2.0

func (self *Axis) Flags() AxisFlags

func (*Axis) FormatSpec added in v1.2.0

func (self *Axis) FormatSpec() [16]rune

func (*Axis) Formatter added in v1.2.0

func (self *Axis) Formatter() Formatter

func (*Axis) FormatterData added in v1.2.0

func (self *Axis) FormatterData() uintptr

func (*Axis) Handle added in v1.2.0

func (self *Axis) Handle() (result *C.ImPlotAxis, fin func())

Handle returns C version of Axis and its finalizer func.

func (*Axis) HasFormatSpec added in v1.2.0

func (self *Axis) HasFormatSpec() bool

func (*Axis) HasGridLines added in v1.2.0

func (self *Axis) HasGridLines() bool

func (*Axis) HasLabel added in v1.2.0

func (self *Axis) HasLabel() bool

func (*Axis) HasMenus added in v1.2.0

func (self *Axis) HasMenus() bool

func (*Axis) HasRange added in v1.2.0

func (self *Axis) HasRange() bool

func (*Axis) HasTickLabels added in v1.2.0

func (self *Axis) HasTickLabels() bool

func (*Axis) HasTickMarks added in v1.2.0

func (self *Axis) HasTickMarks() bool

func (*Axis) Held added in v1.2.0

func (self *Axis) Held() bool

func (*Axis) HoverRect added in v1.2.0

func (self *Axis) HoverRect() imgui.Rect

func (*Axis) Hovered added in v1.2.0

func (self *Axis) Hovered() bool

func (*Axis) ID added in v1.2.0

func (self *Axis) ID() imgui.ID

func (*Axis) IsAutoFitting added in v1.2.0

func (self *Axis) IsAutoFitting() bool

func (*Axis) IsForeground added in v1.2.0

func (self *Axis) IsForeground() bool

func (*Axis) IsInputLocked added in v1.2.0

func (self *Axis) IsInputLocked() bool

func (*Axis) IsInputLockedMax added in v1.2.0

func (self *Axis) IsInputLockedMax() bool

func (*Axis) IsInputLockedMin added in v1.2.0

func (self *Axis) IsInputLockedMin() bool

func (*Axis) IsInverted added in v1.2.0

func (self *Axis) IsInverted() bool

func (*Axis) IsLocked added in v1.2.0

func (self *Axis) IsLocked() bool

func (*Axis) IsLockedMax added in v1.2.0

func (self *Axis) IsLockedMax() bool

func (*Axis) IsLockedMin added in v1.2.0

func (self *Axis) IsLockedMin() bool

func (*Axis) IsOpposite added in v1.2.0

func (self *Axis) IsOpposite() bool

func (*Axis) IsPanLocked added in v1.2.0

func (self *Axis) IsPanLocked(increasing bool) bool

func (*Axis) IsRangeLocked added in v1.2.0

func (self *Axis) IsRangeLocked() bool

func (*Axis) LabelOffset added in v1.2.0

func (self *Axis) LabelOffset() int32

func (*Axis) LinkedMax added in v1.2.0

func (self *Axis) LinkedMax() *float64

func (*Axis) LinkedMin added in v1.2.0

func (self *Axis) LinkedMin() *float64

func (*Axis) OrthoAxis added in v1.2.0

func (self *Axis) OrthoAxis() *Axis

func (*Axis) PickerLevel added in v1.2.0

func (self *Axis) PickerLevel() int32

func (*Axis) PickerTimeMax added in v1.2.0

func (self *Axis) PickerTimeMax() PlotTime

func (*Axis) PickerTimeMin added in v1.2.0

func (self *Axis) PickerTimeMin() PlotTime

func (*Axis) PixelMax added in v1.2.0

func (self *Axis) PixelMax() float32

func (*Axis) PixelMin added in v1.2.0

func (self *Axis) PixelMin() float32

func (*Axis) PixelSize added in v1.2.0

func (self *Axis) PixelSize() float32

func (*Axis) PixelsToPlot added in v1.2.0

func (self *Axis) PixelsToPlot(pix float32) float64

func (*Axis) PlotToPixels added in v1.2.0

func (self *Axis) PlotToPixels(plt float64) float32

func (*Axis) PreviousFlags added in v1.2.0

func (self *Axis) PreviousFlags() AxisFlags
func (self *Axis) PullLinks()
func (self *Axis) PushLinks()

func (*Axis) Range added in v1.2.0

func (self *Axis) Range() Range

func (*Axis) RangeCond added in v1.2.0

func (self *Axis) RangeCond() Cond

func (*Axis) Reset added in v1.2.0

func (self *Axis) Reset()

func (*Axis) Scale added in v1.2.0

func (self *Axis) Scale() Scale

func (*Axis) ScaleMax added in v1.2.0

func (self *Axis) ScaleMax() float64

func (*Axis) ScaleMin added in v1.2.0

func (self *Axis) ScaleMin() float64

func (*Axis) ScaleToPixel added in v1.2.0

func (self *Axis) ScaleToPixel() float64

func (*Axis) SetAspect added in v1.2.0

func (self *Axis) SetAspect(unit_per_pix float64)

func (Axis) SetColorAct added in v1.2.0

func (self Axis) SetColorAct(v uint32)

func (Axis) SetColorBg added in v1.2.0

func (self Axis) SetColorBg(v uint32)

func (Axis) SetColorHiLi added in v1.2.0

func (self Axis) SetColorHiLi(v uint32)

func (Axis) SetColorHov added in v1.2.0

func (self Axis) SetColorHov(v uint32)

func (Axis) SetColorMaj added in v1.2.0

func (self Axis) SetColorMaj(v uint32)

func (Axis) SetColorMin added in v1.2.0

func (self Axis) SetColorMin(v uint32)

func (Axis) SetColorTick added in v1.2.0

func (self Axis) SetColorTick(v uint32)

func (Axis) SetColorTxt added in v1.2.0

func (self Axis) SetColorTxt(v uint32)

func (Axis) SetConstraintRange added in v1.2.0

func (self Axis) SetConstraintRange(v Range)

func (Axis) SetConstraintZoom added in v1.2.0

func (self Axis) SetConstraintZoom(v Range)

func (Axis) SetDatum1 added in v1.2.0

func (self Axis) SetDatum1(v float32)

func (Axis) SetDatum2 added in v1.2.0

func (self Axis) SetDatum2(v float32)

func (Axis) SetEnabled added in v1.2.0

func (self Axis) SetEnabled(v bool)

func (Axis) SetFitExtents added in v1.2.0

func (self Axis) SetFitExtents(v Range)

func (Axis) SetFitThisFrame added in v1.2.0

func (self Axis) SetFitThisFrame(v bool)

func (Axis) SetFlags added in v1.2.0

func (self Axis) SetFlags(v AxisFlags)

func (Axis) SetFormatSpec added in v1.2.0

func (self Axis) SetFormatSpec(v *[16]rune)

func (Axis) SetFormatter added in v1.2.0

func (self Axis) SetFormatter(v Formatter)

func (Axis) SetFormatterData added in v1.2.0

func (self Axis) SetFormatterData(v uintptr)

func (Axis) SetHasFormatSpec added in v1.2.0

func (self Axis) SetHasFormatSpec(v bool)

func (Axis) SetHasRange added in v1.2.0

func (self Axis) SetHasRange(v bool)

func (Axis) SetHeld added in v1.2.0

func (self Axis) SetHeld(v bool)

func (Axis) SetHoverRect added in v1.2.0

func (self Axis) SetHoverRect(v imgui.Rect)

func (Axis) SetHovered added in v1.2.0

func (self Axis) SetHovered(v bool)

func (Axis) SetID added in v1.2.0

func (self Axis) SetID(v imgui.ID)

func (Axis) SetLabelOffset added in v1.2.0

func (self Axis) SetLabelOffset(v int32)

func (Axis) SetLinkedMax added in v1.2.0

func (self Axis) SetLinkedMax(v *float64)

func (Axis) SetLinkedMin added in v1.2.0

func (self Axis) SetLinkedMin(v *float64)

func (*Axis) SetMax added in v1.2.0

func (self *Axis) SetMax(_max float64) bool

func (*Axis) SetMaxV added in v1.2.0

func (self *Axis) SetMaxV(_max float64, force bool) bool

SetMaxV parameter default value hint: force: false

func (*Axis) SetMin added in v1.2.0

func (self *Axis) SetMin(_min float64) bool

func (*Axis) SetMinV added in v1.2.0

func (self *Axis) SetMinV(_min float64, force bool) bool

SetMinV parameter default value hint: force: false

func (Axis) SetOrthoAxis added in v1.2.0

func (self Axis) SetOrthoAxis(v *Axis)

func (Axis) SetPickerLevel added in v1.2.0

func (self Axis) SetPickerLevel(v int32)

func (Axis) SetPickerTimeMax added in v1.2.0

func (self Axis) SetPickerTimeMax(v PlotTime)

func (Axis) SetPickerTimeMin added in v1.2.0

func (self Axis) SetPickerTimeMin(v PlotTime)

func (Axis) SetPixelMax added in v1.2.0

func (self Axis) SetPixelMax(v float32)

func (Axis) SetPixelMin added in v1.2.0

func (self Axis) SetPixelMin(v float32)

func (Axis) SetPreviousFlags added in v1.2.0

func (self Axis) SetPreviousFlags(v AxisFlags)

func (Axis) SetRange added in v1.2.0

func (self Axis) SetRange(v Range)

func (Axis) SetRangeCond added in v1.2.0

func (self Axis) SetRangeCond(v Cond)

func (*Axis) SetRangePlotRange added in v1.2.0

func (self *Axis) SetRangePlotRange(rangeArg Range)

func (*Axis) SetRangedouble added in v1.2.0

func (self *Axis) SetRangedouble(v1, v2 float64)

func (Axis) SetScale added in v1.2.0

func (self Axis) SetScale(v Scale)

func (Axis) SetScaleMax added in v1.2.0

func (self Axis) SetScaleMax(v float64)

func (Axis) SetScaleMin added in v1.2.0

func (self Axis) SetScaleMin(v float64)

func (Axis) SetScaleToPixel added in v1.2.0

func (self Axis) SetScaleToPixel(v float64)

func (Axis) SetShowDefaultTicks added in v1.2.0

func (self Axis) SetShowDefaultTicks(v bool)

func (Axis) SetTicker added in v1.2.0

func (self Axis) SetTicker(v Ticker)

func (Axis) SetTransformData added in v1.2.0

func (self Axis) SetTransformData(v uintptr)

func (Axis) SetTransformForward added in v1.2.0

func (self Axis) SetTransformForward(v Transform)

func (Axis) SetTransformInverse added in v1.2.0

func (self Axis) SetTransformInverse(v Transform)

func (Axis) SetVertical added in v1.2.0

func (self Axis) SetVertical(v bool)

func (*Axis) ShowDefaultTicks added in v1.2.0

func (self *Axis) ShowDefaultTicks() bool

func (*Axis) Ticker added in v1.2.0

func (self *Axis) Ticker() Ticker

func (*Axis) TransformData added in v1.2.0

func (self *Axis) TransformData() uintptr

func (*Axis) TransformForward added in v1.2.0

func (self *Axis) TransformForward() Transform

func (*Axis) TransformInverse added in v1.2.0

func (self *Axis) TransformInverse() Transform

func (*Axis) UpdateTransformCache added in v1.2.0

func (self *Axis) UpdateTransformCache()

func (*Axis) Vertical added in v1.2.0

func (self *Axis) Vertical() bool

func (*Axis) WillRender added in v1.2.0

func (self *Axis) WillRender() bool

type AxisColor added in v1.2.0

type AxisColor struct {
	CData *C.ImPlotAxisColor
}

func NewAxisColorFromC added in v1.2.0

func NewAxisColorFromC[SRC any](cvalue SRC) *AxisColor

NewAxisColorFromC creates AxisColor from its C pointer. SRC ~= *C.ImPlotAxisColor

func (*AxisColor) Handle added in v1.2.0

func (self *AxisColor) Handle() (result *C.ImPlotAxisColor, fin func())

Handle returns C version of AxisColor and its finalizer func.

type AxisEnum added in v1.2.0

type AxisEnum int32

Axis indices. The values assigned may change; NEVER hardcode these. original name: ImAxis_

const (
	// enabled by default
	AxisX1 AxisEnum = 0
	// disabled by default
	AxisX2 AxisEnum = 1
	// disabled by default
	AxisX3 AxisEnum = 2
	// enabled by default
	AxisY1 AxisEnum = 3
	// disabled by default
	AxisY2 AxisEnum = 4
	// disabled by default
	AxisY3    AxisEnum = 5
	AxisCOUNT AxisEnum = 6
)

type AxisFlags added in v1.2.0

type AxisFlags int32

Options for plot axes (see SetupAxis). original name: ImPlotAxisFlags_

const (
	// default
	AxisFlagsNone AxisFlags = 0
	// the axis label will not be displayed (axis labels are also hidden if the supplied string name is nullptr)
	AxisFlagsNoLabel AxisFlags = 1
	// no grid lines will be displayed
	AxisFlagsNoGridLines AxisFlags = 2
	// no tick marks will be displayed
	AxisFlagsNoTickMarks AxisFlags = 4
	// no text labels will be displayed
	AxisFlagsNoTickLabels AxisFlags = 8
	// axis will not be initially fit to data extents on the first rendered frame
	AxisFlagsNoInitialFit AxisFlags = 16
	// the user will not be able to open context menus with right-click
	AxisFlagsNoMenus AxisFlags = 32
	// the user will not be able to switch the axis side by dragging it
	AxisFlagsNoSideSwitch AxisFlags = 64
	// the axis will not have its background highlighted when hovered or held
	AxisFlagsNoHighlight AxisFlags = 128
	// axis ticks and labels will be rendered on the conventionally opposite side (i.e, right or top)
	AxisFlagsOpposite AxisFlags = 256
	// grid lines will be displayed in the foreground (i.e. on top of data) instead of the background
	AxisFlagsForeground AxisFlags = 512
	// the axis will be inverted
	AxisFlagsInvert AxisFlags = 1024
	// axis will be auto-fitting to data extents
	AxisFlagsAutoFit AxisFlags = 2048
	// axis will only fit points if the point is in the visible range of the **orthogonal** axis
	AxisFlagsRangeFit AxisFlags = 4096
	// panning in a locked or constrained state will cause the axis to stretch if possible
	AxisFlagsPanStretch AxisFlags = 8192
	// the axis minimum value will be locked when panning/zooming
	AxisFlagsLockMin AxisFlags = 16384
	// the axis maximum value will be locked when panning/zooming
	AxisFlagsLockMax       AxisFlags = 32768
	AxisFlagsLock          AxisFlags = 49152
	AxisFlagsNoDecorations AxisFlags = 15
	AxisFlagsAuxDefault    AxisFlags = 258
)

type BarGroupsFlags added in v1.2.0

type BarGroupsFlags int32

Flags for PlotBarGroups. Used by setting ImPlotSpec::Flags. original name: ImPlotBarGroupsFlags_

const (
	// default
	BarGroupsFlagsNone BarGroupsFlags = 0
	// bar groups will be rendered horizontally on the current y-axis
	BarGroupsFlagsHorizontal BarGroupsFlags = 1024
	// items in a group will be stacked on top of each other
	BarGroupsFlagsStacked BarGroupsFlags = 2048
)

type BarsFlags added in v1.2.0

type BarsFlags int32

Flags for PlotBars. Used by setting ImPlotSpec::Flags. original name: ImPlotBarsFlags_

const (
	// default
	BarsFlagsNone BarsFlags = 0
	// bars will be rendered horizontally on the current y-axis
	BarsFlagsHorizontal BarsFlags = 1024
)

type Bin added in v1.2.0

type Bin int32

Enums for different automatic histogram binning methods (k = bin count or w = bin width) original name: ImPlotBin_

const (
	// k = sqrt(n)
	BinSqrt Bin = -1
	// k = 1 + log2(n)
	BinSturges Bin = -2
	// k = 2 * cbrt(n)
	BinRice Bin = -3
	// w = 3.49 * sigma / cbrt(n)
	BinScott Bin = -4
)

type BubblesFlags added in v1.5.0

type BubblesFlags int32

Flags for PlotBubbles. Used by setting ImPlotSpec::Flags. original name: ImPlotBubblesFlags_

const (
	// default
	BubblesFlagsNone BubblesFlags = 0
)

type Col added in v1.2.0

type Col int32

Plot styling colors. original name: ImPlotCol_

const (
	// plot frame background color (defaults to ImGuiCol_FrameBg)
	ColFrameBg Col = 0
	// plot area background color (defaults to ImGuiCol_WindowBg)
	ColPlotBg Col = 1
	// plot area border color (defaults to ImGuiCol_Border)
	ColPlotBorder Col = 2
	// legend background color (defaults to ImGuiCol_PopupBg)
	ColLegendBg Col = 3
	// legend border color (defaults to ImPlotCol_PlotBorder)
	ColLegendBorder Col = 4
	// legend text color (defaults to ImPlotCol_InlayText)
	ColLegendText Col = 5
	// plot title text color (defaults to ImGuiCol_Text)
	ColTitleText Col = 6
	// color of text appearing inside of plots (defaults to ImGuiCol_Text)
	ColInlayText Col = 7
	// axis label and tick labels color (defaults to ImGuiCol_Text)
	ColAxisText Col = 8
	// axis grid color (defaults to 25% ImPlotCol_AxisText)
	ColAxisGrid Col = 9
	// axis tick color (defaults to AxisGrid)
	ColAxisTick Col = 10
	// background color of axis hover region (defaults to transparent)
	ColAxisBg Col = 11
	// axis hover color (defaults to ImGuiCol_ButtonHovered)
	ColAxisBgHovered Col = 12
	// axis active color (defaults to ImGuiCol_ButtonActive)
	ColAxisBgActive Col = 13
	// box-selection color (defaults to yellow)
	ColSelection Col = 14
	// crosshairs color (defaults to ImPlotCol_PlotBorder)
	ColCrosshairs Col = 15
	ColCOUNT      Col = 16
)

type Colormap added in v1.2.0

type Colormap int32

Built-in colormaps original name: ImPlotColormap_

const (
	// a.k.a. seaborn deep             (qual=true,  n=10) (default)
	ColormapDeep Colormap = 0
	// a.k.a. matplotlib "Set1"        (qual=true,  n=9 )
	ColormapDark Colormap = 1
	// a.k.a. matplotlib "Pastel1"     (qual=true,  n=9 )
	ColormapPastel Colormap = 2
	// a.k.a. matplotlib "Paired"      (qual=true,  n=12)
	ColormapPaired Colormap = 3
	// a.k.a. matplotlib "viridis"     (qual=false, n=11)
	ColormapViridis Colormap = 4
	// a.k.a. matplotlib "plasma"      (qual=false, n=11)
	ColormapPlasma Colormap = 5
	// a.k.a. matplotlib/MATLAB "hot"  (qual=false, n=11)
	ColormapHot Colormap = 6
	// a.k.a. matplotlib/MATLAB "cool" (qual=false, n=11)
	ColormapCool Colormap = 7
	// a.k.a. matplotlib/MATLAB "pink" (qual=false, n=11)
	ColormapPink Colormap = 8
	// a.k.a. MATLAB "jet"             (qual=false, n=11)
	ColormapJet Colormap = 9
	// a.k.a. matplotlib "twilight"    (qual=false, n=11)
	ColormapTwilight Colormap = 10
	// red/blue, Color Brewer          (qual=false, n=11)
	ColormapRdBu Colormap = 11
	// brown/blue-green, Color Brewer  (qual=false, n=11)
	ColormapBrBG Colormap = 12
	// pink/yellow-green, Color Brewer (qual=false, n=11)
	ColormapPiYG Colormap = 13
	// color spectrum, Color Brewer    (qual=false, n=11)
	ColormapSpectral Colormap = 14
	// white/black                     (qual=false, n=2 )
	ColormapGreys Colormap = 15
)

func AddColormapU32Ptr added in v1.2.0

func AddColormapU32Ptr(name string, cols *uint32, size int32) Colormap

func AddColormapU32PtrV added in v1.2.0

func AddColormapU32PtrV(name string, cols *uint32, size int32, qual bool) Colormap

AddColormapU32PtrV parameter default value hint: qual: true

func AddColormapVec4Ptr added in v1.2.0

func AddColormapVec4Ptr(name string, cols *imgui.Vec4, size int32) Colormap

func AddColormapVec4PtrV added in v1.2.0

func AddColormapVec4PtrV(name string, cols *imgui.Vec4, size int32, qual bool) Colormap

Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes. AddColormapVec4PtrV parameter default value hint: qual: true

func GetColormapIndex added in v1.2.0

func GetColormapIndex(name string) Colormap

Returns an index number for a colormap given a valid string name. Returns -1 if name is invalid.

type ColormapData added in v1.2.0

type ColormapData struct {
	CData *C.ImPlotColormapData
}

func NewColormapData added in v1.2.0

func NewColormapData() *ColormapData

func NewColormapDataFromC added in v1.2.0

func NewColormapDataFromC[SRC any](cvalue SRC) *ColormapData

NewColormapDataFromC creates ColormapData from its C pointer. SRC ~= *C.ImPlotColormapData

func NewEmptyColormapData added in v1.2.0

func NewEmptyColormapData() *ColormapData

NewEmptyColormapData creates ColormapData with its 0 value.

func (*ColormapData) Append added in v1.2.0

func (self *ColormapData) Append(name string, keys *uint32, count int32, qual bool) int32

func (*ColormapData) AppendTable added in v1.2.0

func (self *ColormapData) AppendTable(cmap Colormap)
        // ImU32 last = keys[0];
        // Tables.push_back(last);
        // int n = 1;
        for (int i = 0; i < key_count-1; ++i) {
            for (int s = 0; s < 255; ++s) {
                ImU32 a = keys[i];
                ImU32 b = keys[i+1];
                ImU32 c = ImMixU32(a,b,s);
                // if (c != last)
                    Tables.push_back(c);
                    // last = c;
                    // n++;
                //
            }
        }
        ImU32 c = keys[key_count-1];
        // if (c != last)
            Tables.push_back(c);
            // n++;
        //
        // TableSizes.push_back(n);
        TableSizes.push_back(max_size);
    }
}

func (ColormapData) C added in v1.2.0

func (self ColormapData) C() (C.ImPlotColormapData, func())

C is like Handle but returns plain type instead of pointer.

func (*ColormapData) Count added in v1.2.0

func (self *ColormapData) Count() int32

func (*ColormapData) Destroy added in v1.2.0

func (self *ColormapData) Destroy()

func (*ColormapData) Handle added in v1.2.0

func (self *ColormapData) Handle() (result *C.ImPlotColormapData, fin func())

Handle returns C version of ColormapData and its finalizer func.

func (*ColormapData) Index added in v1.2.0

func (self *ColormapData) Index(name string) Colormap

func (*ColormapData) IsQual added in v1.2.0

func (self *ColormapData) IsQual(cmap Colormap) bool

func (*ColormapData) KeyColor added in v1.2.0

func (self *ColormapData) KeyColor(cmap Colormap, idx int32) uint32

func (*ColormapData) KeyCount added in v1.2.0

func (self *ColormapData) KeyCount(cmap Colormap) int32

func (*ColormapData) KeyCounts added in v1.2.0

func (self *ColormapData) KeyCounts() vectors.Vector[int32]

func (*ColormapData) KeyOffsets added in v1.2.0

func (self *ColormapData) KeyOffsets() vectors.Vector[int32]

func (*ColormapData) Keys added in v1.2.0

func (self *ColormapData) Keys(cmap Colormap) *uint32

func (*ColormapData) LerpTable added in v1.2.0

func (self *ColormapData) LerpTable(cmap Colormap, t float32) uint32

func (*ColormapData) Map added in v1.2.0

func (self *ColormapData) Map() imgui.Storage

func (*ColormapData) Name added in v1.2.0

func (self *ColormapData) Name(cmap Colormap) string

func (*ColormapData) Quals added in v1.2.0

func (self *ColormapData) Quals() vectors.Vector[bool]

func (*ColormapData) RebuildTables added in v1.2.0

func (self *ColormapData) RebuildTables()

func (ColormapData) SetCount added in v1.2.0

func (self ColormapData) SetCount(v int32)

func (*ColormapData) SetKeyColor added in v1.2.0

func (self *ColormapData) SetKeyColor(cmap Colormap, idx int32, value uint32)

func (ColormapData) SetKeyCounts added in v1.2.0

func (self ColormapData) SetKeyCounts(v vectors.Vector[int32])

func (ColormapData) SetKeyOffsets added in v1.2.0

func (self ColormapData) SetKeyOffsets(v vectors.Vector[int32])

func (ColormapData) SetKeys added in v1.2.0

func (self ColormapData) SetKeys(v vectors.Vector[uint32])

func (ColormapData) SetMap added in v1.2.0

func (self ColormapData) SetMap(v imgui.Storage)

func (ColormapData) SetQuals added in v1.2.0

func (self ColormapData) SetQuals(v vectors.Vector[bool])

func (ColormapData) SetTableOffsets added in v1.2.0

func (self ColormapData) SetTableOffsets(v vectors.Vector[int32])

func (ColormapData) SetTableSizes added in v1.2.0

func (self ColormapData) SetTableSizes(v vectors.Vector[int32])

func (ColormapData) SetTables added in v1.2.0

func (self ColormapData) SetTables(v vectors.Vector[uint32])

func (ColormapData) SetText added in v1.2.0

func (self ColormapData) SetText(v imgui.TextBuffer)

func (ColormapData) SetTextOffsets added in v1.2.0

func (self ColormapData) SetTextOffsets(v vectors.Vector[int32])

func (*ColormapData) Table added in v1.2.0

func (self *ColormapData) Table(cmap Colormap) *uint32

func (*ColormapData) TableColor added in v1.2.0

func (self *ColormapData) TableColor(cmap Colormap, idx int32) uint32

func (*ColormapData) TableOffsets added in v1.2.0

func (self *ColormapData) TableOffsets() vectors.Vector[int32]

func (*ColormapData) TableSize added in v1.2.0

func (self *ColormapData) TableSize(cmap Colormap) int32

func (*ColormapData) TableSizes added in v1.2.0

func (self *ColormapData) TableSizes() vectors.Vector[int32]

func (*ColormapData) Tables added in v1.2.0

func (self *ColormapData) Tables() vectors.Vector[uint32]

func (*ColormapData) Text added in v1.2.0

func (self *ColormapData) Text() imgui.TextBuffer

func (*ColormapData) TextOffsets added in v1.2.0

func (self *ColormapData) TextOffsets() vectors.Vector[int32]

type ColormapScaleFlags added in v1.2.0

type ColormapScaleFlags int32

Flags for ColormapScale original name: ImPlotColormapScaleFlags_

const (
	// default
	ColormapScaleFlagsNone ColormapScaleFlags = 0
	// the colormap axis label will not be displayed
	ColormapScaleFlagsNoLabel ColormapScaleFlags = 1
	// render the colormap label and tick labels on the opposite side
	ColormapScaleFlagsOpposite ColormapScaleFlags = 2
	// invert the colormap bar and axis scale (this only affects rendering; if you only want to reverse the scale mapping, make scale_min > scale_max)
	ColormapScaleFlagsInvert ColormapScaleFlags = 4
)

type Cond added in v1.2.0

type Cond int32

Represents a condition for SetupAxisLimits etc. (same as ImGuiCond, but we only support a subset of those enums) original name: ImPlotCond_

const (
	// No condition (always set the variable), same as _Always
	CondNone Cond = 0
	// No condition (always set the variable)
	CondAlways Cond = 1
	// Set the variable once per runtime session (only the first call will succeed)
	CondOnce Cond = 2
)

type Context added in v1.2.0

type Context struct {
	CData *C.ImPlotContext
}

func CreateContext added in v1.2.0

func CreateContext() *Context

Creates a new ImPlot context. Call this after ImGui::CreateContext.

func GetCurrentContext added in v1.2.0

func GetCurrentContext() *Context

Returns the current ImPlot context. nullptr if no context has ben set.

func NewContextFromC added in v1.2.0

func NewContextFromC[SRC any](cvalue SRC) *Context

NewContextFromC creates Context from its C pointer. SRC ~= *C.ImPlotContext

func NewEmptyContext added in v1.2.0

func NewEmptyContext() *Context

NewEmptyContext creates Context with its 0 value.

func (*Context) Annotations added in v1.2.0

func (self *Context) Annotations() AnnotationCollection

func (Context) C added in v1.2.0

func (self Context) C() (C.ImPlotContext, func())

C is like Handle but returns plain type instead of pointer.

func (*Context) CTicker added in v1.2.0

func (self *Context) CTicker() Ticker

func (*Context) ColorModifiers added in v1.2.0

func (self *Context) ColorModifiers() vectors.Vector[imgui.ColorMod]

func (*Context) ColormapData added in v1.2.0

func (self *Context) ColormapData() ColormapData

func (*Context) ColormapModifiers added in v1.2.0

func (self *Context) ColormapModifiers() vectors.Vector[Colormap]

func (*Context) CurrentAlignmentH added in v1.2.0

func (self *Context) CurrentAlignmentH() *AlignmentData

func (*Context) CurrentAlignmentV added in v1.2.0

func (self *Context) CurrentAlignmentV() *AlignmentData

func (*Context) CurrentItem added in v1.2.0

func (self *Context) CurrentItem() *Item

func (*Context) CurrentItems added in v1.2.0

func (self *Context) CurrentItems() *ItemGroup

func (*Context) CurrentPlot added in v1.2.0

func (self *Context) CurrentPlot() *Plot

func (*Context) CurrentSubplot added in v1.2.0

func (self *Context) CurrentSubplot() *Subplot

func (*Context) DigitalPlotItemCnt added in v1.2.0

func (self *Context) DigitalPlotItemCnt() int32

func (*Context) DigitalPlotOffset added in v1.2.0

func (self *Context) DigitalPlotOffset() int32

func (*Context) Handle added in v1.2.0

func (self *Context) Handle() (result *C.ImPlotContext, fin func())

Handle returns C version of Context and its finalizer func.

func (*Context) InputMap added in v1.2.0

func (self *Context) InputMap() InputMap

func (*Context) MousePosStringBuilder added in v1.2.0

func (self *Context) MousePosStringBuilder() imgui.TextBuffer

func (*Context) NextItemData added in v1.2.0

func (self *Context) NextItemData() NextItemData

func (*Context) NextPlotData added in v1.2.0

func (self *Context) NextPlotData() NextPlotData

func (*Context) OpenContextThisFrame added in v1.2.0

func (self *Context) OpenContextThisFrame() bool

func (*Context) PreviousItem added in v1.2.0

func (self *Context) PreviousItem() *Item

func (Context) SetAnnotations added in v1.2.0

func (self Context) SetAnnotations(v AnnotationCollection)

func (Context) SetCTicker added in v1.2.0

func (self Context) SetCTicker(v Ticker)

func (Context) SetColorModifiers added in v1.2.0

func (self Context) SetColorModifiers(v vectors.Vector[imgui.ColorMod])

func (Context) SetColormapData added in v1.2.0

func (self Context) SetColormapData(v ColormapData)

func (Context) SetColormapModifiers added in v1.2.0

func (self Context) SetColormapModifiers(v vectors.Vector[Colormap])

func (Context) SetCurrentAlignmentH added in v1.2.0

func (self Context) SetCurrentAlignmentH(v *AlignmentData)

func (Context) SetCurrentAlignmentV added in v1.2.0

func (self Context) SetCurrentAlignmentV(v *AlignmentData)

func (Context) SetCurrentItem added in v1.2.0

func (self Context) SetCurrentItem(v *Item)

func (Context) SetCurrentItems added in v1.2.0

func (self Context) SetCurrentItems(v *ItemGroup)

func (Context) SetCurrentPlot added in v1.2.0

func (self Context) SetCurrentPlot(v *Plot)

func (Context) SetCurrentSubplot added in v1.2.0

func (self Context) SetCurrentSubplot(v *Subplot)

func (Context) SetDigitalPlotItemCnt added in v1.2.0

func (self Context) SetDigitalPlotItemCnt(v int32)

func (Context) SetDigitalPlotOffset added in v1.2.0

func (self Context) SetDigitalPlotOffset(v int32)

func (Context) SetInputMap added in v1.2.0

func (self Context) SetInputMap(v InputMap)

func (Context) SetMousePosStringBuilder added in v1.2.0

func (self Context) SetMousePosStringBuilder(v imgui.TextBuffer)

func (Context) SetNextItemData added in v1.2.0

func (self Context) SetNextItemData(v NextItemData)

func (Context) SetNextPlotData added in v1.2.0

func (self Context) SetNextPlotData(v NextPlotData)

func (Context) SetOpenContextThisFrame added in v1.2.0

func (self Context) SetOpenContextThisFrame(v bool)

func (Context) SetPreviousItem added in v1.2.0

func (self Context) SetPreviousItem(v *Item)

func (Context) SetSortItems added in v1.2.0

func (self Context) SetSortItems(v *ItemGroup)

func (Context) SetStyle added in v1.2.0

func (self Context) SetStyle(v Style)

func (Context) SetStyleModifiers added in v1.2.0

func (self Context) SetStyleModifiers(v vectors.Vector[imgui.StyleMod])

func (Context) SetTags added in v1.2.0

func (self Context) SetTags(v TagCollection)

func (Context) SetTempDouble1 added in v1.2.0

func (self Context) SetTempDouble1(v vectors.Vector[float64])

func (Context) SetTempDouble2 added in v1.2.0

func (self Context) SetTempDouble2(v vectors.Vector[float64])

func (Context) SetTempInt1 added in v1.2.0

func (self Context) SetTempInt1(v vectors.Vector[int32])

func (Context) SetTm added in v1.2.0

func (self Context) SetTm(v Tm)

func (*Context) SortItems added in v1.2.0

func (self *Context) SortItems() *ItemGroup

func (*Context) Style added in v1.2.0

func (self *Context) Style() Style

func (*Context) StyleModifiers added in v1.2.0

func (self *Context) StyleModifiers() vectors.Vector[imgui.StyleMod]

func (*Context) Tags added in v1.2.0

func (self *Context) Tags() TagCollection

func (*Context) TempDouble1 added in v1.2.0

func (self *Context) TempDouble1() vectors.Vector[float64]

func (*Context) TempDouble2 added in v1.2.0

func (self *Context) TempDouble2() vectors.Vector[float64]

func (*Context) TempInt1 added in v1.2.0

func (self *Context) TempInt1() vectors.Vector[int32]

func (*Context) Tm added in v1.2.0

func (self *Context) Tm() Tm

type DateFmt added in v1.2.0

type DateFmt int32

original name: ImPlotDateFmt_

const (
	DateFmtNone DateFmt = 0
	// 10/3           [ --10-03      ]
	DateFmtDayMo DateFmt = 1
	// 10/3/91        [ 1991-10-03   ]
	DateFmtDayMoYr DateFmt = 2
	// Oct 1991       [ 1991-10      ]
	DateFmtMoYr DateFmt = 3
	// Oct            [ --10         ]
	DateFmtMo DateFmt = 4
	// 1991           [ 1991         ]
	DateFmtYr DateFmt = 5
)

type DateTimeSpec added in v1.2.0

type DateTimeSpec struct {
	CData *C.ImPlotDateTimeSpec
}

func NewDateTimeSpecFromC added in v1.2.0

func NewDateTimeSpecFromC[SRC any](cvalue SRC) *DateTimeSpec

NewDateTimeSpecFromC creates DateTimeSpec from its C pointer. SRC ~= *C.ImPlotDateTimeSpec

func NewDateTimeSpecNil added in v1.2.0

func NewDateTimeSpecNil() *DateTimeSpec

func NewDateTimeSpecPlotDateFmt added in v1.2.0

func NewDateTimeSpecPlotDateFmt(date_fmt DateFmt, time_fmt TimeFmt, use_24_hr_clk, use_iso_8601 bool) *DateTimeSpec

NewDateTimeSpecPlotDateFmt parameter default value hint: use_24_hr_clk: false use_iso_8601: false

func NewEmptyDateTimeSpec added in v1.2.0

func NewEmptyDateTimeSpec() *DateTimeSpec

NewEmptyDateTimeSpec creates DateTimeSpec with its 0 value.

func (DateTimeSpec) C added in v1.2.0

func (self DateTimeSpec) C() (C.ImPlotDateTimeSpec, func())

C is like Handle but returns plain type instead of pointer.

func (*DateTimeSpec) Date added in v1.2.0

func (self *DateTimeSpec) Date() DateFmt

func (*DateTimeSpec) Destroy added in v1.2.0

func (self *DateTimeSpec) Destroy()

func (*DateTimeSpec) Handle added in v1.2.0

func (self *DateTimeSpec) Handle() (result *C.ImPlotDateTimeSpec, fin func())

Handle returns C version of DateTimeSpec and its finalizer func.

func (DateTimeSpec) SetDate added in v1.2.0

func (self DateTimeSpec) SetDate(v DateFmt)

func (DateTimeSpec) SetTime added in v1.2.0

func (self DateTimeSpec) SetTime(v TimeFmt)

func (DateTimeSpec) SetUse24HourClock added in v1.2.0

func (self DateTimeSpec) SetUse24HourClock(v bool)

func (DateTimeSpec) SetUseISO8601 added in v1.2.0

func (self DateTimeSpec) SetUseISO8601(v bool)

func (*DateTimeSpec) Time added in v1.2.0

func (self *DateTimeSpec) Time() TimeFmt

func (*DateTimeSpec) Use24HourClock added in v1.2.0

func (self *DateTimeSpec) Use24HourClock() bool

func (*DateTimeSpec) UseISO8601 added in v1.2.0

func (self *DateTimeSpec) UseISO8601() bool

type DigitalFlags added in v1.2.0

type DigitalFlags int32

Flags for PlotDigital (placeholder). Used by setting ImPlotSpec::Flags. original name: ImPlotDigitalFlags_

const (
	// default
	DigitalFlagsNone DigitalFlags = 0
)

type DragToolFlags added in v1.2.0

type DragToolFlags int32

Options for DragPoint, DragLine, DragRect original name: ImPlotDragToolFlags_

const (
	// default
	DragToolFlagsNone DragToolFlags = 0
	// drag tools won't change cursor icons when hovered or held
	DragToolFlagsNoCursors DragToolFlags = 1
	// the drag tool won't be considered for plot fits
	DragToolFlagsNoFit DragToolFlags = 2
	// lock the tool from user inputs
	DragToolFlagsNoInputs DragToolFlags = 4
	// tool rendering will be delayed one frame; useful when applying position-constraints
	DragToolFlagsDelayed DragToolFlags = 8
)

type DummyFlags added in v1.2.0

type DummyFlags int32

Flags for PlotDummy (placeholder). Used by setting ImPlotSpec::Flags. original name: ImPlotDummyFlags_

const (
	// default
	DummyFlagsNone DummyFlags = 0
)

type ErrorBarsFlags added in v1.2.0

type ErrorBarsFlags int32

Flags for PlotErrorBars. Used by setting ImPlotSpec::Flags. original name: ImPlotErrorBarsFlags_

const (
	// default
	ErrorBarsFlagsNone ErrorBarsFlags = 0
	// error bars will be rendered horizontally on the current y-axis
	ErrorBarsFlagsHorizontal ErrorBarsFlags = 1024
)

type Flags added in v1.2.0

type Flags int32

Options for plots (see BeginPlot). original name: ImPlotFlags_

const (
	// default
	FlagsNone Flags = 0
	// the plot title will not be displayed (titles are also hidden if preceded by double hashes, e.g. "##MyPlot")
	FlagsNoTitle Flags = 1
	// the legend will not be displayed
	FlagsNoLegend Flags = 2
	// the mouse position, in plot coordinates, will not be displayed inside of the plot
	FlagsNoMouseText Flags = 4
	// the user will not be able to interact with the plot
	FlagsNoInputs Flags = 8
	// the user will not be able to open context menus
	FlagsNoMenus Flags = 16
	// the user will not be able to box-select
	FlagsNoBoxSelect Flags = 32
	// the ImGui frame will not be rendered
	FlagsNoFrame Flags = 64
	// x and y axes pairs will be constrained to have the same units/pixel
	FlagsEqual Flags = 128
	// the default mouse cursor will be replaced with a crosshair when hovered
	FlagsCrosshairs Flags = 256
	FlagsCanvasOnly Flags = 55
)

type Formatter added in v1.2.0

type Formatter func(value float64, buff string, size int32, user_data unsafe.Pointer) int32

func NewFormatterFromC added in v1.2.0

func NewFormatterFromC(cvalue *C.ImPlotFormatter) *Formatter

func (Formatter) C added in v1.2.0

func (c Formatter) C() (C.ImPlotFormatter, func())

type FormatterTimeData

type FormatterTimeData struct {
	CData *C.Formatter_Time_Data
}

func NewEmptyFormatterTimeData added in v1.2.0

func NewEmptyFormatterTimeData() *FormatterTimeData

NewEmptyFormatterTimeData creates FormatterTimeData with its 0 value.

func NewFormatterTimeDataFromC

func NewFormatterTimeDataFromC[SRC any](cvalue SRC) *FormatterTimeData

NewFormatterTimeDataFromC creates FormatterTimeData from its C pointer. SRC ~= *C.Formatter_Time_Data

func (FormatterTimeData) C

func (self FormatterTimeData) C() (C.Formatter_Time_Data, func())

C is like Handle but returns plain type instead of pointer.

func (*FormatterTimeData) Handle

func (self *FormatterTimeData) Handle() (result *C.Formatter_Time_Data, fin func())

Handle returns C version of FormatterTimeData and its finalizer func.

func (*FormatterTimeData) TimeDataGetSpec

func (self *FormatterTimeData) TimeDataGetSpec() DateTimeSpec

func (*FormatterTimeData) TimeDataGetTime

func (self *FormatterTimeData) TimeDataGetTime() PlotTime

func (*FormatterTimeData) TimeDataGetUserFormatter added in v1.2.0

func (self *FormatterTimeData) TimeDataGetUserFormatter() Formatter

func (*FormatterTimeData) TimeDataGetUserFormatterData

func (self *FormatterTimeData) TimeDataGetUserFormatterData() uintptr

type HeatmapFlags added in v1.2.0

type HeatmapFlags int32

Flags for PlotHeatmap. Used by setting ImPlotSpec::Flags. original name: ImPlotHeatmapFlags_

const (
	// default
	HeatmapFlagsNone HeatmapFlags = 0
	// data will be read in column major order
	HeatmapFlagsColMajor HeatmapFlags = 1024
)

type HistogramFlags added in v1.2.0

type HistogramFlags int32

Flags for PlotHistogram and PlotHistogram2D. Used by setting ImPlotSpec::Flags. original name: ImPlotHistogramFlags_

const (
	// default
	HistogramFlagsNone HistogramFlags = 0
	// histogram bars will be rendered horizontally (not supported by PlotHistogram2D)
	HistogramFlagsHorizontal HistogramFlags = 1024
	// each bin will contain its count plus the counts of all previous bins (not supported by PlotHistogram2D)
	HistogramFlagsCumulative HistogramFlags = 2048
	// counts will be normalized, i.e. the PDF will be visualized, or the CDF will be visualized if Cumulative is also set
	HistogramFlagsDensity HistogramFlags = 4096
	// exclude values outside the specified histogram range from the count toward normalizing and cumulative counts
	HistogramFlagsNoOutliers HistogramFlags = 8192
	// data will be read in column major order (not supported by PlotHistogram)
	HistogramFlagsColMajor HistogramFlags = 16384
)

type ImageFlags added in v1.2.0

type ImageFlags int32

Flags for PlotImage (placeholder). Used by setting ImPlotSpec::Flags. original name: ImPlotImageFlags_

const (
	// default
	ImageFlagsNone ImageFlags = 0
)

type InfLinesFlags added in v1.2.0

type InfLinesFlags int32

Flags for PlotInfLines. Used by setting ImPlotSpec::Flags. original name: ImPlotInfLinesFlags_

const (
	// default
	InfLinesFlagsNone InfLinesFlags = 0
	// lines will be rendered horizontally on the current y-axis
	InfLinesFlagsHorizontal InfLinesFlags = 1024
)

type InputMap added in v1.2.0

type InputMap struct {
	CData *C.ImPlotInputMap
}

func GetInputMap added in v1.2.0

func GetInputMap() *InputMap

Provides access to input mapping structure for permanent modifications to controls for pan, select, etc.

func NewEmptyInputMap added in v1.2.0

func NewEmptyInputMap() *InputMap

NewEmptyInputMap creates InputMap with its 0 value.

func NewInputMap added in v1.2.0

func NewInputMap() *InputMap

func NewInputMapFromC added in v1.2.0

func NewInputMapFromC[SRC any](cvalue SRC) *InputMap

NewInputMapFromC creates InputMap from its C pointer. SRC ~= *C.ImPlotInputMap

func (InputMap) C added in v1.2.0

func (self InputMap) C() (C.ImPlotInputMap, func())

C is like Handle but returns plain type instead of pointer.

func (*InputMap) Destroy added in v1.2.0

func (self *InputMap) Destroy()

func (*InputMap) Fit added in v1.2.0

func (self *InputMap) Fit() imgui.MouseButton

func (*InputMap) Handle added in v1.2.0

func (self *InputMap) Handle() (result *C.ImPlotInputMap, fin func())

Handle returns C version of InputMap and its finalizer func.

func (*InputMap) Menu added in v1.2.0

func (self *InputMap) Menu() imgui.MouseButton

func (*InputMap) OverrideMod added in v1.2.0

func (self *InputMap) OverrideMod() int32

func (*InputMap) Pan added in v1.2.0

func (self *InputMap) Pan() imgui.MouseButton

func (*InputMap) PanMod added in v1.2.0

func (self *InputMap) PanMod() int32

func (*InputMap) Select added in v1.2.0

func (self *InputMap) Select() imgui.MouseButton

func (*InputMap) SelectCancel added in v1.2.0

func (self *InputMap) SelectCancel() imgui.MouseButton

func (*InputMap) SelectHorzMod added in v1.2.0

func (self *InputMap) SelectHorzMod() int32

func (*InputMap) SelectMod added in v1.2.0

func (self *InputMap) SelectMod() int32

func (*InputMap) SelectVertMod added in v1.2.0

func (self *InputMap) SelectVertMod() int32

func (InputMap) SetFit added in v1.2.0

func (self InputMap) SetFit(v imgui.MouseButton)

func (InputMap) SetMenu added in v1.2.0

func (self InputMap) SetMenu(v imgui.MouseButton)

func (InputMap) SetOverrideMod added in v1.2.0

func (self InputMap) SetOverrideMod(v int32)

func (InputMap) SetPan added in v1.2.0

func (self InputMap) SetPan(v imgui.MouseButton)

func (InputMap) SetPanMod added in v1.2.0

func (self InputMap) SetPanMod(v int32)

func (InputMap) SetSelect added in v1.2.0

func (self InputMap) SetSelect(v imgui.MouseButton)

func (InputMap) SetSelectCancel added in v1.2.0

func (self InputMap) SetSelectCancel(v imgui.MouseButton)

func (InputMap) SetSelectHorzMod added in v1.2.0

func (self InputMap) SetSelectHorzMod(v int32)

func (InputMap) SetSelectMod added in v1.2.0

func (self InputMap) SetSelectMod(v int32)

func (InputMap) SetSelectVertMod added in v1.2.0

func (self InputMap) SetSelectVertMod(v int32)

func (InputMap) SetZoomMod added in v1.2.0

func (self InputMap) SetZoomMod(v int32)

func (InputMap) SetZoomRate added in v1.2.0

func (self InputMap) SetZoomRate(v float32)

func (*InputMap) ZoomMod added in v1.2.0

func (self *InputMap) ZoomMod() int32

func (*InputMap) ZoomRate added in v1.2.0

func (self *InputMap) ZoomRate() float32

type Item added in v1.2.0

type Item struct {
	CData *C.ImPlotItem
}

func GetCurrentItem added in v1.2.0

func GetCurrentItem() *Item

Gets the current item.

func GetItem added in v1.2.0

func GetItem(label_id string) *Item

Get a plot item from the current plot.

func NewEmptyItem added in v1.2.0

func NewEmptyItem() *Item

NewEmptyItem creates Item with its 0 value.

func NewItem added in v1.2.0

func NewItem() *Item

func NewItemFromC added in v1.2.0

func NewItemFromC[SRC any](cvalue SRC) *Item

NewItemFromC creates Item from its C pointer. SRC ~= *C.ImPlotItem

func RegisterOrGetItem added in v1.2.0

func RegisterOrGetItem(label_id string, flags ItemFlags) *Item

func RegisterOrGetItemV added in v1.2.0

func RegisterOrGetItemV(label_id string, flags ItemFlags, just_created *bool) *Item

Register or get an existing item from the current plot. RegisterOrGetItemV parameter default value hint: just_created: nullptr

func (Item) C added in v1.2.0

func (self Item) C() (C.ImPlotItem, func())

C is like Handle but returns plain type instead of pointer.

func (*Item) Color added in v1.2.0

func (self *Item) Color() uint32

func (*Item) Destroy added in v1.2.0

func (self *Item) Destroy()

func (*Item) Handle added in v1.2.0

func (self *Item) Handle() (result *C.ImPlotItem, fin func())

Handle returns C version of Item and its finalizer func.

func (*Item) ID added in v1.2.0

func (self *Item) ID() imgui.ID

func (*Item) LegendHoverRect added in v1.2.0

func (self *Item) LegendHoverRect() imgui.Rect

func (*Item) LegendHovered added in v1.2.0

func (self *Item) LegendHovered() bool

func (*Item) Marker added in v1.5.0

func (self *Item) Marker() Marker

func (*Item) NameOffset added in v1.2.0

func (self *Item) NameOffset() int32

func (*Item) SeenThisFrame added in v1.2.0

func (self *Item) SeenThisFrame() bool

func (Item) SetColor added in v1.2.0

func (self Item) SetColor(v uint32)

func (Item) SetID added in v1.2.0

func (self Item) SetID(v imgui.ID)

func (Item) SetLegendHoverRect added in v1.2.0

func (self Item) SetLegendHoverRect(v imgui.Rect)

func (Item) SetLegendHovered added in v1.2.0

func (self Item) SetLegendHovered(v bool)

func (Item) SetMarker added in v1.5.0

func (self Item) SetMarker(v Marker)

func (Item) SetNameOffset added in v1.2.0

func (self Item) SetNameOffset(v int32)

func (Item) SetSeenThisFrame added in v1.2.0

func (self Item) SetSeenThisFrame(v bool)

func (Item) SetShow added in v1.2.0

func (self Item) SetShow(v bool)

func (*Item) Show added in v1.2.0

func (self *Item) Show() bool

type ItemFlags added in v1.2.0

type ItemFlags int32

Flags for ANY PlotX function. Used by setting ImPlotSpec::Flags. original name: ImPlotItemFlags_

const (
	ItemFlagsNone ItemFlags = 0
	// the item won't have a legend entry displayed
	ItemFlagsNoLegend ItemFlags = 1
	// the item won't be considered for plot fits
	ItemFlagsNoFit ItemFlags = 2
)

type ItemGroup added in v1.2.0

type ItemGroup struct {
	CData *C.ImPlotItemGroup
}

func NewEmptyItemGroup added in v1.2.0

func NewEmptyItemGroup() *ItemGroup

NewEmptyItemGroup creates ItemGroup with its 0 value.

func NewItemGroup added in v1.2.0

func NewItemGroup() *ItemGroup

func NewItemGroupFromC added in v1.2.0

func NewItemGroupFromC[SRC any](cvalue SRC) *ItemGroup

NewItemGroupFromC creates ItemGroup from its C pointer. SRC ~= *C.ImPlotItemGroup

func (ItemGroup) C added in v1.2.0

func (self ItemGroup) C() (C.ImPlotItemGroup, func())

C is like Handle but returns plain type instead of pointer.

func (*ItemGroup) ColormapIdx added in v1.2.0

func (self *ItemGroup) ColormapIdx() int32

func (*ItemGroup) Destroy added in v1.2.0

func (self *ItemGroup) Destroy()

func (*ItemGroup) Handle added in v1.2.0

func (self *ItemGroup) Handle() (result *C.ImPlotItemGroup, fin func())

Handle returns C version of ItemGroup and its finalizer func.

func (*ItemGroup) ID added in v1.2.0

func (self *ItemGroup) ID() imgui.ID

func (*ItemGroup) ItemByID added in v1.2.0

func (self *ItemGroup) ItemByID(id imgui.ID) *Item

func (*ItemGroup) ItemByIndex added in v1.2.0

func (self *ItemGroup) ItemByIndex(i int32) *Item

func (*ItemGroup) ItemCount added in v1.2.0

func (self *ItemGroup) ItemCount() int32

func (*ItemGroup) ItemID added in v1.2.0

func (self *ItemGroup) ItemID(label_id string) imgui.ID

func (*ItemGroup) ItemIndex added in v1.2.0

func (self *ItemGroup) ItemIndex(item *Item) int32

func (*ItemGroup) ItemStr added in v1.2.0

func (self *ItemGroup) ItemStr(label_id string) *Item

func (*ItemGroup) Legend added in v1.2.0

func (self *ItemGroup) Legend() Legend

func (*ItemGroup) LegendCount added in v1.2.0

func (self *ItemGroup) LegendCount() int32

func (*ItemGroup) LegendItem added in v1.2.0

func (self *ItemGroup) LegendItem(i int32) *Item

func (*ItemGroup) LegendLabel added in v1.2.0

func (self *ItemGroup) LegendLabel(i int32) string

func (*ItemGroup) MarkerIdx added in v1.5.0

func (self *ItemGroup) MarkerIdx() Marker

func (*ItemGroup) OrAddItem added in v1.2.0

func (self *ItemGroup) OrAddItem(id imgui.ID) *Item

func (*ItemGroup) Reset added in v1.2.0

func (self *ItemGroup) Reset()

func (ItemGroup) SetColormapIdx added in v1.2.0

func (self ItemGroup) SetColormapIdx(v int32)

func (ItemGroup) SetID added in v1.2.0

func (self ItemGroup) SetID(v imgui.ID)

func (ItemGroup) SetLegend added in v1.2.0

func (self ItemGroup) SetLegend(v Legend)

func (ItemGroup) SetMarkerIdx added in v1.5.0

func (self ItemGroup) SetMarkerIdx(v Marker)

type Legend added in v1.2.0

type Legend struct {
	CData *C.ImPlotLegend
}

func NewEmptyLegend added in v1.2.0

func NewEmptyLegend() *Legend

NewEmptyLegend creates Legend with its 0 value.

func NewLegend added in v1.2.0

func NewLegend() *Legend

func NewLegendFromC added in v1.2.0

func NewLegendFromC[SRC any](cvalue SRC) *Legend

NewLegendFromC creates Legend from its C pointer. SRC ~= *C.ImPlotLegend

func (Legend) C added in v1.2.0

func (self Legend) C() (C.ImPlotLegend, func())

C is like Handle but returns plain type instead of pointer.

func (*Legend) CanGoInside added in v1.2.0

func (self *Legend) CanGoInside() bool

func (*Legend) Destroy added in v1.2.0

func (self *Legend) Destroy()

func (*Legend) Flags added in v1.2.0

func (self *Legend) Flags() LegendFlags

func (*Legend) Handle added in v1.2.0

func (self *Legend) Handle() (result *C.ImPlotLegend, fin func())

Handle returns C version of Legend and its finalizer func.

func (*Legend) Held added in v1.2.0

func (self *Legend) Held() bool

func (*Legend) Hovered added in v1.2.0

func (self *Legend) Hovered() bool

func (*Legend) Indices added in v1.2.0

func (self *Legend) Indices() vectors.Vector[int32]

func (*Legend) Labels added in v1.2.0

func (self *Legend) Labels() imgui.TextBuffer

func (*Legend) Location added in v1.2.0

func (self *Legend) Location() Location

func (*Legend) PreviousFlags added in v1.2.0

func (self *Legend) PreviousFlags() LegendFlags

func (*Legend) PreviousLocation added in v1.2.0

func (self *Legend) PreviousLocation() Location

func (*Legend) Rect added in v1.2.0

func (self *Legend) Rect() imgui.Rect

func (*Legend) RectClamped added in v1.2.0

func (self *Legend) RectClamped() imgui.Rect

func (*Legend) Reset added in v1.2.0

func (self *Legend) Reset()

func (*Legend) Scroll added in v1.2.0

func (self *Legend) Scroll() imgui.Vec2

func (Legend) SetCanGoInside added in v1.2.0

func (self Legend) SetCanGoInside(v bool)

func (Legend) SetFlags added in v1.2.0

func (self Legend) SetFlags(v LegendFlags)

func (Legend) SetHeld added in v1.2.0

func (self Legend) SetHeld(v bool)

func (Legend) SetHovered added in v1.2.0

func (self Legend) SetHovered(v bool)

func (Legend) SetIndices added in v1.2.0

func (self Legend) SetIndices(v vectors.Vector[int32])

func (Legend) SetLabels added in v1.2.0

func (self Legend) SetLabels(v imgui.TextBuffer)

func (Legend) SetLocation added in v1.2.0

func (self Legend) SetLocation(v Location)

func (Legend) SetPreviousFlags added in v1.2.0

func (self Legend) SetPreviousFlags(v LegendFlags)

func (Legend) SetPreviousLocation added in v1.2.0

func (self Legend) SetPreviousLocation(v Location)

func (Legend) SetRect added in v1.2.0

func (self Legend) SetRect(v imgui.Rect)

func (Legend) SetRectClamped added in v1.2.0

func (self Legend) SetRectClamped(v imgui.Rect)

func (Legend) SetScroll added in v1.2.0

func (self Legend) SetScroll(v imgui.Vec2)

type LegendFlags added in v1.2.0

type LegendFlags int32

Options for legends (see SetupLegend) original name: ImPlotLegendFlags_

const (
	// default
	LegendFlagsNone LegendFlags = 0
	// legend icons will not function as hide/show buttons
	LegendFlagsNoButtons LegendFlags = 1
	// plot items will not be highlighted when their legend entry is hovered
	LegendFlagsNoHighlightItem LegendFlags = 2
	// axes will not be highlighted when legend entries are hovered (only relevant if x/y-axis count > 1)
	LegendFlagsNoHighlightAxis LegendFlags = 4
	// the user will not be able to open context menus with right-click
	LegendFlagsNoMenus LegendFlags = 8
	// legend will be rendered outside of the plot area
	LegendFlagsOutside LegendFlags = 16
	// legend entries will be displayed horizontally
	LegendFlagsHorizontal LegendFlags = 32
	// legend entries will be displayed in alphabetical order
	LegendFlagsSort LegendFlags = 64
	// legend entries will be displayed in reverse order
	LegendFlagsReverse LegendFlags = 128
)

type LineFlags added in v1.2.0

type LineFlags int32

Flags for PlotLine. Used by setting ImPlotSpec::Flags. original name: ImPlotLineFlags_

const (
	// default
	LineFlagsNone LineFlags = 0
	// a line segment will be rendered from every two consecutive points
	LineFlagsSegments LineFlags = 1024
	// the last and first point will be connected to form a closed loop
	LineFlagsLoop LineFlags = 2048
	// NaNs values will be skipped instead of rendered as missing data
	LineFlagsSkipNaN LineFlags = 4096
	// markers (if displayed) on the edge of a plot will not be clipped
	LineFlagsNoClip LineFlags = 8192
	// a filled region between the line and horizontal origin will be rendered; use PlotShaded for more advanced cases
	LineFlagsShaded LineFlags = 16384
)

type Location added in v1.2.0

type Location int32

Used to position items on a plot (e.g. legends, labels, etc.) original name: ImPlotLocation_

const (
	// center-center
	LocationCenter Location = 0
	// top-center
	LocationNorth Location = 1
	// bottom-center
	LocationSouth Location = 2
	// center-left
	LocationWest Location = 4
	// center-right
	LocationEast Location = 8
	// top-left
	LocationNorthWest Location = 5
	// top-right
	LocationNorthEast Location = 9
	// bottom-left
	LocationSouthWest Location = 6
	// bottom-right
	LocationSouthEast Location = 10
)

type Marker added in v1.2.0

type Marker int32

Marker specifications. original name: ImPlotMarker_

const (
	// no marker
	MarkerNone Marker = -2
	// automatic marker selection
	MarkerAuto Marker = -1
	// a circle marker (default)
	MarkerCircle Marker = 0
	// a square maker
	MarkerSquare Marker = 1
	// a diamond marker
	MarkerDiamond Marker = 2
	// an upward-pointing triangle marker
	MarkerUp Marker = 3
	// an downward-pointing triangle marker
	MarkerDown Marker = 4
	// an leftward-pointing triangle marker
	MarkerLeft Marker = 5
	// an rightward-pointing triangle marker
	MarkerRight Marker = 6
	// a cross marker (not fill-able)
	MarkerCross Marker = 7
	// a plus marker (not fill-able)
	MarkerPlus Marker = 8
	// a asterisk marker (not fill-able)
	MarkerAsterisk Marker = 9
	// a vertical line marker (not fill-able)
	MarkerVertical Marker = 10
	// a horizontal line marker (not fill-able)
	MarkerHorizontal Marker = 11
	MarkerCOUNT      Marker = 12
)

func NextMarker added in v1.5.0

func NextMarker() Marker

Returns the next marker and advances the marker for the current plot. You need to call this between Begin/EndPlot!

type MarkerInternal added in v1.5.0

type MarkerInternal int32

original name: ImPlotMarkerInternal_

const (
	MarkerInvalid MarkerInternal = -3
)

type MouseTextFlags added in v1.2.0

type MouseTextFlags int32

Options for mouse hover text (see SetupMouseText) original name: ImPlotMouseTextFlags_

const (
	// default
	MouseTextFlagsNone MouseTextFlags = 0
	// only show the mouse position for primary axes
	MouseTextFlagsNoAuxAxes MouseTextFlags = 1
	// axes label formatters won't be used to render text
	MouseTextFlagsNoFormat MouseTextFlags = 2
	// always display mouse position even if plot not hovered
	MouseTextFlagsShowAlways MouseTextFlags = 4
)

type NextItemData added in v1.2.0

type NextItemData struct {
	CData *C.ImPlotNextItemData
}

func GetItemData added in v1.2.0

func GetItemData() *NextItemData

Get styling data for next item (call between Begin/EndItem)

func NewEmptyNextItemData added in v1.2.0

func NewEmptyNextItemData() *NextItemData

NewEmptyNextItemData creates NextItemData with its 0 value.

func NewNextItemData added in v1.2.0

func NewNextItemData() *NextItemData

func NewNextItemDataFromC added in v1.2.0

func NewNextItemDataFromC[SRC any](cvalue SRC) *NextItemData

NewNextItemDataFromC creates NextItemData from its C pointer. SRC ~= *C.ImPlotNextItemData

func (NextItemData) C added in v1.2.0

func (self NextItemData) C() (C.ImPlotNextItemData, func())

C is like Handle but returns plain type instead of pointer.

func (*NextItemData) Destroy added in v1.2.0

func (self *NextItemData) Destroy()

func (*NextItemData) Handle added in v1.2.0

func (self *NextItemData) Handle() (result *C.ImPlotNextItemData, fin func())

Handle returns C version of NextItemData and its finalizer func.

func (*NextItemData) HasHidden added in v1.2.0

func (self *NextItemData) HasHidden() bool

func (*NextItemData) Hidden added in v1.2.0

func (self *NextItemData) Hidden() bool

func (*NextItemData) HiddenCond added in v1.2.0

func (self *NextItemData) HiddenCond() Cond

func (*NextItemData) RenderFill added in v1.2.0

func (self *NextItemData) RenderFill() bool

func (*NextItemData) RenderLine added in v1.2.0

func (self *NextItemData) RenderLine() bool

func (*NextItemData) RenderMarkerFill added in v1.2.0

func (self *NextItemData) RenderMarkerFill() bool

func (*NextItemData) RenderMarkerLine added in v1.2.0

func (self *NextItemData) RenderMarkerLine() bool

func (*NextItemData) RenderMarkers added in v1.5.0

func (self *NextItemData) RenderMarkers() bool

func (*NextItemData) Reset added in v1.2.0

func (self *NextItemData) Reset()

func (NextItemData) SetHasHidden added in v1.2.0

func (self NextItemData) SetHasHidden(v bool)

func (NextItemData) SetHidden added in v1.2.0

func (self NextItemData) SetHidden(v bool)

func (NextItemData) SetHiddenCond added in v1.2.0

func (self NextItemData) SetHiddenCond(v Cond)

func (NextItemData) SetRenderFill added in v1.2.0

func (self NextItemData) SetRenderFill(v bool)

func (NextItemData) SetRenderLine added in v1.2.0

func (self NextItemData) SetRenderLine(v bool)

func (NextItemData) SetRenderMarkerFill added in v1.2.0

func (self NextItemData) SetRenderMarkerFill(v bool)

func (NextItemData) SetRenderMarkerLine added in v1.2.0

func (self NextItemData) SetRenderMarkerLine(v bool)

func (NextItemData) SetRenderMarkers added in v1.5.0

func (self NextItemData) SetRenderMarkers(v bool)

func (NextItemData) SetSpec added in v1.5.0

func (self NextItemData) SetSpec(v Spec)

func (*NextItemData) Spec added in v1.5.0

func (self *NextItemData) Spec() Spec

type NextPlotData added in v1.2.0

type NextPlotData struct {
	CData *C.ImPlotNextPlotData
}

func NewEmptyNextPlotData added in v1.2.0

func NewEmptyNextPlotData() *NextPlotData

NewEmptyNextPlotData creates NextPlotData with its 0 value.

func NewNextPlotData added in v1.2.0

func NewNextPlotData() *NextPlotData

func NewNextPlotDataFromC added in v1.2.0

func NewNextPlotDataFromC[SRC any](cvalue SRC) *NextPlotData

NewNextPlotDataFromC creates NextPlotData from its C pointer. SRC ~= *C.ImPlotNextPlotData

func (NextPlotData) C added in v1.2.0

func (self NextPlotData) C() (C.ImPlotNextPlotData, func())

C is like Handle but returns plain type instead of pointer.

func (*NextPlotData) Destroy added in v1.2.0

func (self *NextPlotData) Destroy()

func (*NextPlotData) Fit added in v1.2.0

func (self *NextPlotData) Fit() [6]bool

func (*NextPlotData) Handle added in v1.2.0

func (self *NextPlotData) Handle() (result *C.ImPlotNextPlotData, fin func())

Handle returns C version of NextPlotData and its finalizer func.

func (*NextPlotData) HasRange added in v1.2.0

func (self *NextPlotData) HasRange() [6]bool

func (*NextPlotData) LinkedMax added in v1.2.0

func (self *NextPlotData) LinkedMax() [6]*float64

func (*NextPlotData) LinkedMin added in v1.2.0

func (self *NextPlotData) LinkedMin() [6]*float64

func (*NextPlotData) Range added in v1.2.0

func (self *NextPlotData) Range() [6]Range

func (*NextPlotData) RangeCond added in v1.2.0

func (self *NextPlotData) RangeCond() [6]Cond

func (*NextPlotData) Reset added in v1.2.0

func (self *NextPlotData) Reset()

func (NextPlotData) SetFit added in v1.2.0

func (self NextPlotData) SetFit(v *[6]bool)

func (NextPlotData) SetHasRange added in v1.2.0

func (self NextPlotData) SetHasRange(v *[6]bool)

func (NextPlotData) SetLinkedMax added in v1.2.0

func (self NextPlotData) SetLinkedMax(v *[6]*float64)

func (NextPlotData) SetLinkedMin added in v1.2.0

func (self NextPlotData) SetLinkedMin(v *[6]*float64)

func (NextPlotData) SetRange added in v1.2.0

func (self NextPlotData) SetRange(v *[6]Range)

func (NextPlotData) SetRangeCond added in v1.2.0

func (self NextPlotData) SetRangeCond(v *[6]Cond)

type PieChartFlags added in v1.2.0

type PieChartFlags int32

Flags for PlotPieChart. Used by setting ImPlotSpec::Flags. original name: ImPlotPieChartFlags_

const (
	// default
	PieChartFlagsNone PieChartFlags = 0
	// force normalization of pie chart values (i.e. always make a full circle if sum < 0)
	PieChartFlagsNormalize PieChartFlags = 1024
	// ignore hidden slices when drawing the pie chart (as if they were not there)
	PieChartFlagsIgnoreHidden PieChartFlags = 2048
	// explode legend-hovered slice
	PieChartFlagsExploding PieChartFlags = 4096
	// do not draw slice borders
	PieChartFlagsNoSliceBorder PieChartFlags = 8192
)

type Plot added in v1.2.0

type Plot struct {
	CData *C.ImPlotPlot
}

func GetCurrentPlot added in v1.2.0

func GetCurrentPlot() *Plot

Gets the current plot from the current ImPlotContext

func GetPlot added in v1.2.0

func GetPlot(title string) *Plot

Gets a plot from the current ImPlotContext

func NewEmptyPlot added in v1.2.0

func NewEmptyPlot() *Plot

NewEmptyPlot creates Plot with its 0 value.

func NewPlot added in v1.2.0

func NewPlot() *Plot

func NewPlotFromC added in v1.2.0

func NewPlotFromC[SRC any](cvalue SRC) *Plot

NewPlotFromC creates Plot from its C pointer. SRC ~= *C.ImPlotPlot

func (*Plot) Axes added in v1.2.0

func (self *Plot) Axes() [6]Axis

func (*Plot) AxesRect added in v1.2.0

func (self *Plot) AxesRect() imgui.Rect

func (*Plot) AxisLabel added in v1.2.0

func (self *Plot) AxisLabel(axis Axis) string

func (Plot) C added in v1.2.0

func (self Plot) C() (C.ImPlotPlot, func())

C is like Handle but returns plain type instead of pointer.

func (*Plot) CanvasRect added in v1.2.0

func (self *Plot) CanvasRect() imgui.Rect

func (*Plot) ClearTextBuffer added in v1.2.0

func (self *Plot) ClearTextBuffer()

func (*Plot) ContextLocked added in v1.2.0

func (self *Plot) ContextLocked() bool

func (*Plot) CurrentX added in v1.2.0

func (self *Plot) CurrentX() AxisEnum

func (*Plot) CurrentY added in v1.2.0

func (self *Plot) CurrentY() AxisEnum

func (*Plot) Destroy added in v1.2.0

func (self *Plot) Destroy()

func (*Plot) EnabledAxesX added in v1.2.0

func (self *Plot) EnabledAxesX() int32

func (*Plot) EnabledAxesY added in v1.2.0

func (self *Plot) EnabledAxesY() int32

func (*Plot) FitThisFrame added in v1.2.0

func (self *Plot) FitThisFrame() bool

func (*Plot) Flags added in v1.2.0

func (self *Plot) Flags() Flags

func (*Plot) FrameRect added in v1.2.0

func (self *Plot) FrameRect() imgui.Rect

func (*Plot) Handle added in v1.2.0

func (self *Plot) Handle() (result *C.ImPlotPlot, fin func())

Handle returns C version of Plot and its finalizer func.

func (*Plot) HasTitle added in v1.2.0

func (self *Plot) HasTitle() bool

func (*Plot) Held added in v1.2.0

func (self *Plot) Held() bool

func (*Plot) Hovered added in v1.2.0

func (self *Plot) Hovered() bool

func (*Plot) ID added in v1.2.0

func (self *Plot) ID() imgui.ID

func (*Plot) Initialized added in v1.2.0

func (self *Plot) Initialized() bool

func (*Plot) IsInputLocked added in v1.2.0

func (self *Plot) IsInputLocked() bool

func (*Plot) Items added in v1.2.0

func (self *Plot) Items() ItemGroup

func (*Plot) JustCreated added in v1.2.0

func (self *Plot) JustCreated() bool

func (*Plot) MouseTextFlags added in v1.2.0

func (self *Plot) MouseTextFlags() MouseTextFlags

func (*Plot) MouseTextLocation added in v1.2.0

func (self *Plot) MouseTextLocation() Location

func (*Plot) PlotRect added in v1.2.0

func (self *Plot) PlotRect() imgui.Rect

func (*Plot) PreviousFlags added in v1.2.0

func (self *Plot) PreviousFlags() Flags

func (*Plot) SelectRect added in v1.2.0

func (self *Plot) SelectRect() imgui.Rect

func (*Plot) SelectStart added in v1.2.0

func (self *Plot) SelectStart() imgui.Vec2

func (*Plot) Selected added in v1.2.0

func (self *Plot) Selected() bool

func (*Plot) Selecting added in v1.2.0

func (self *Plot) Selecting() bool

func (Plot) SetAxes added in v1.2.0

func (self Plot) SetAxes(v *[6]Axis)

func (Plot) SetAxesRect added in v1.2.0

func (self Plot) SetAxesRect(v imgui.Rect)

func (*Plot) SetAxisLabel added in v1.2.0

func (self *Plot) SetAxisLabel(axis *Axis, label string)

func (Plot) SetCanvasRect added in v1.2.0

func (self Plot) SetCanvasRect(v imgui.Rect)

func (Plot) SetContextLocked added in v1.2.0

func (self Plot) SetContextLocked(v bool)

func (Plot) SetCurrentX added in v1.2.0

func (self Plot) SetCurrentX(v AxisEnum)

func (Plot) SetCurrentY added in v1.2.0

func (self Plot) SetCurrentY(v AxisEnum)

func (Plot) SetFitThisFrame added in v1.2.0

func (self Plot) SetFitThisFrame(v bool)

func (Plot) SetFlags added in v1.2.0

func (self Plot) SetFlags(v Flags)

func (Plot) SetFrameRect added in v1.2.0

func (self Plot) SetFrameRect(v imgui.Rect)

func (Plot) SetHeld added in v1.2.0

func (self Plot) SetHeld(v bool)

func (Plot) SetHovered added in v1.2.0

func (self Plot) SetHovered(v bool)

func (Plot) SetID added in v1.2.0

func (self Plot) SetID(v imgui.ID)

func (Plot) SetInitialized added in v1.2.0

func (self Plot) SetInitialized(v bool)

func (Plot) SetItems added in v1.2.0

func (self Plot) SetItems(v ItemGroup)

func (Plot) SetJustCreated added in v1.2.0

func (self Plot) SetJustCreated(v bool)

func (Plot) SetMouseTextFlags added in v1.2.0

func (self Plot) SetMouseTextFlags(v MouseTextFlags)

func (Plot) SetMouseTextLocation added in v1.2.0

func (self Plot) SetMouseTextLocation(v Location)

func (Plot) SetPlotRect added in v1.2.0

func (self Plot) SetPlotRect(v imgui.Rect)

func (Plot) SetPreviousFlags added in v1.2.0

func (self Plot) SetPreviousFlags(v Flags)

func (Plot) SetSelectRect added in v1.2.0

func (self Plot) SetSelectRect(v imgui.Rect)

func (Plot) SetSelectStart added in v1.2.0

func (self Plot) SetSelectStart(v imgui.Vec2)

func (Plot) SetSelected added in v1.2.0

func (self Plot) SetSelected(v bool)

func (Plot) SetSelecting added in v1.2.0

func (self Plot) SetSelecting(v bool)

func (Plot) SetSetupLocked added in v1.2.0

func (self Plot) SetSetupLocked(v bool)

func (Plot) SetTextBuffer added in v1.2.0

func (self Plot) SetTextBuffer(v imgui.TextBuffer)

func (*Plot) SetTitle added in v1.2.0

func (self *Plot) SetTitle(title string)

func (Plot) SetTitleOffset added in v1.2.0

func (self Plot) SetTitleOffset(v int32)

func (*Plot) SetupLocked added in v1.2.0

func (self *Plot) SetupLocked() bool

func (*Plot) TextBuffer added in v1.2.0

func (self *Plot) TextBuffer() imgui.TextBuffer

func (*Plot) Title added in v1.2.0

func (self *Plot) Title() string

func (*Plot) TitleOffset added in v1.2.0

func (self *Plot) TitleOffset() int32

func (*Plot) XAxis added in v1.2.0

func (self *Plot) XAxis(i int32) *Axis

func (*Plot) XAxisconst added in v1.2.0

func (self *Plot) XAxisconst(i int32) *Axis

func (*Plot) YAxis added in v1.2.0

func (self *Plot) YAxis(i int32) *Axis

func (*Plot) YAxisconst added in v1.2.0

func (self *Plot) YAxisconst(i int32) *Axis

type PlotPoint

type PlotPoint struct {
	X float64
	Y float64
}

func GetPlotMousePos added in v1.2.0

func GetPlotMousePos() PlotPoint

func GetPlotMousePosV added in v1.2.0

func GetPlotMousePosV(x_axis, y_axis AxisEnum) PlotPoint

Returns the mouse position in x,y coordinates of the current plot. Passing IMPLOT_AUTO uses the current axes. GetPlotMousePosV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func NewPlotPoint

func NewPlotPoint(x, y float64) PlotPoint

func PixelsToPlotFloat added in v1.2.0

func PixelsToPlotFloat(x, y float32) PlotPoint

func PixelsToPlotFloatV added in v1.2.0

func PixelsToPlotFloatV(x, y float32, x_axis, y_axis AxisEnum) PlotPoint

PixelsToPlotFloatV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func PixelsToPlotVec2 added in v1.2.0

func PixelsToPlotVec2(pix imgui.Vec2) PlotPoint

func PixelsToPlotVec2V added in v1.2.0

func PixelsToPlotVec2V(pix imgui.Vec2, x_axis, y_axis AxisEnum) PlotPoint

Convert pixels to a position in the current plot's coordinate system. Passing IMPLOT_AUTO uses the current axes. PixelsToPlotVec2V parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func (*PlotPoint) Destroy

func (self *PlotPoint) Destroy()

func (*PlotPoint) FromC

func (i *PlotPoint) FromC(pAny unsafe.Pointer) *PlotPoint

pAny is ~C.ImPlotPoint and will be free converted!

func (PlotPoint) ToC

func (p PlotPoint) ToC() C.ImPlotPoint

type PlotTime

type PlotTime struct {
	Seconds int // second part
	FieldUs int // microsecond part
}

func AddTime added in v1.2.0

func AddTime(t PlotTime, unit TimeUnit, count int32) PlotTime

Adds or subtracts time from a timestamp. #count > 0 to add, < 0 to subtract.

func CeilTime added in v1.2.0

func CeilTime(t PlotTime, unit TimeUnit) PlotTime

Rounds a timestamp up to the nearest unit.

func CombineDateTime added in v1.2.0

func CombineDateTime(date_part, time_part PlotTime) PlotTime

Combines the date of one timestamp with the time-of-day of another timestamp.

func FloorTime added in v1.2.0

func FloorTime(t PlotTime, unit TimeUnit) PlotTime

Rounds a timestamp down to nearest unit.

func MakeTime added in v1.2.0

func MakeTime(year int32) PlotTime

func MakeTimeV added in v1.2.0

func MakeTimeV(year, month, day, hour, min, sec, us int32) PlotTime

Make a timestamp from time components. year[1970-3000], month[0-11], day[1-31], hour[0-23], min[0-59], sec[0-59], us[0,999999] MakeTimeV parameter default value hint: month: 0 day: 1 hour: 0 min: 0 sec: 0 us: 0

func NewPlotTime

func NewPlotTime(t time.Time) PlotTime

func Now added in v1.3.1

func Now() PlotTime

Get the current time as a timestamp.

func RoundTime added in v1.2.0

func RoundTime(t PlotTime, unit TimeUnit) PlotTime

Rounds a timestamp up or down to the nearest unit.

func TimeFromDouble added in v1.2.0

func TimeFromDouble(t float64) PlotTime

func Today added in v1.3.1

func Today() PlotTime

Get the current date as a timestamp.

func (*PlotTime) Destroy

func (self *PlotTime) Destroy()

func (*PlotTime) FromC

func (i *PlotTime) FromC(pAny unsafe.Pointer) *PlotTime

pAny is ~C.ImPlotTime and will be free converted!

func (*PlotTime) RollOver

func (self *PlotTime) RollOver()

func (*PlotTime) S

func (self *PlotTime) S() uint64

func (PlotTime) Time

func (i PlotTime) Time() time.Time

func (PlotTime) ToC

func (p PlotTime) ToC() C.ImPlotTime

func (*PlotTime) ToDouble

func (self *PlotTime) ToDouble() float64

func (*PlotTime) Us

func (self *PlotTime) Us() int32

type PointError added in v1.2.0

type PointError struct {
	CData *C.ImPlotPointError
}

func NewEmptyPointError added in v1.2.0

func NewEmptyPointError() *PointError

NewEmptyPointError creates PointError with its 0 value.

func NewPointErrorFromC added in v1.2.0

func NewPointErrorFromC[SRC any](cvalue SRC) *PointError

NewPointErrorFromC creates PointError from its C pointer. SRC ~= *C.ImPlotPointError

func NewPointErrorNil added in v1.5.0

func NewPointErrorNil() *PointError

func NewPointErrordouble added in v1.5.0

func NewPointErrordouble(x, y, neg, pos float64) *PointError

func (PointError) C added in v1.2.0

func (self PointError) C() (C.ImPlotPointError, func())

C is like Handle but returns plain type instead of pointer.

func (*PointError) Destroy added in v1.2.0

func (self *PointError) Destroy()

func (*PointError) Handle added in v1.2.0

func (self *PointError) Handle() (result *C.ImPlotPointError, fin func())

Handle returns C version of PointError and its finalizer func.

func (*PointError) Neg added in v1.2.0

func (self *PointError) Neg() float64

func (*PointError) Pos added in v1.2.0

func (self *PointError) Pos() float64

func (PointError) SetNeg added in v1.2.0

func (self PointError) SetNeg(v float64)

func (PointError) SetPos added in v1.2.0

func (self PointError) SetPos(v float64)

func (PointError) SetX added in v1.2.0

func (self PointError) SetX(v float64)

func (PointError) SetY added in v1.2.0

func (self PointError) SetY(v float64)

func (*PointError) X added in v1.2.0

func (self *PointError) X() float64

func (*PointError) Y added in v1.2.0

func (self *PointError) Y() float64

type PolygonFlags added in v1.5.0

type PolygonFlags int32

Flags for PlotPolygon. Used by setting ImPlotSpec::Flags. original name: ImPlotPolygonFlags_

const (
	// default (closed, convex polygon)
	PolygonFlagsNone PolygonFlags = 0
	// use concave polygon filling (slower but supports concave shapes)
	PolygonFlagsConcave PolygonFlags = 1024
)

type Prop added in v1.5.0

type Prop int32

Plotting properties. These provide syntactic sugar for creating ImPlotSpecs from (ImPlotProp,value) pairs. See ImPlotSpec documentation. original name: ImPlotProp_

const (
	// line color (applies to lines, bar edges); IMPLOT_AUTO_COL will use next Colormap color or current item color
	PropLineColor Prop = 0
	// array of colors for each line; if nullptr, use LineColor for all lines
	PropLineColors Prop = 1
	// line weight in pixels (applies to lines, bar edges, marker edges)
	PropLineWeight Prop = 2
	// fill color (applies to shaded regions, bar faces); IMPLOT_AUTO_COL will use next Colormap color or current item color
	PropFillColor Prop = 3
	// array of colors for each fill; if nullptr, use FillColor for all fills
	PropFillColors Prop = 4
	// alpha multiplier (applies to FillColor, FillColors, MarkerFillColor, and MarkerFillColors)
	PropFillAlpha Prop = 5
	// marker type; specify ImPlotMarker_Auto to use the next unused marker
	PropMarker Prop = 6
	// size of markers (radius) *in pixels*
	PropMarkerSize Prop = 7
	// array of sizes for each marker; if nullptr, use MarkerSize for all markers
	PropMarkerSizes Prop = 8
	// marker edge color; IMPLOT_AUTO_COL will use LineColor
	PropMarkerLineColor Prop = 9
	// array of colors for each marker edge; if nullptr, use MarkerLineColor for all markers
	PropMarkerLineColors Prop = 10
	// marker face color; IMPLOT_AUTO_COL will use LineColor
	PropMarkerFillColor Prop = 11
	// array of colors for each marker face; if nullptr, use MarkerFillColor for all markers
	PropMarkerFillColors Prop = 12
	// size of error bar whiskers (width or height), and digital bars (height) *in pixels*
	PropSize Prop = 13
	// data index offset
	PropOffset Prop = 14
	// data stride in bytes; IMPLOT_AUTO will result in sizeof(T) where T is the type passed to PlotX
	PropStride Prop = 15
	// optional item flags; can be composed from common ImPlotItemFlags and/or specialized ImPlotXFlags
	PropFlags Prop = 16
)

type Range added in v1.2.0

type Range struct {
	CData *C.ImPlotRange
}

func NewEmptyRange added in v1.2.0

func NewEmptyRange() *Range

NewEmptyRange creates Range with its 0 value.

func NewRangeFromC added in v1.2.0

func NewRangeFromC[SRC any](cvalue SRC) *Range

NewRangeFromC creates Range from its C pointer. SRC ~= *C.ImPlotRange

func NewRangeNil added in v1.2.0

func NewRangeNil() *Range

func NewRangedouble added in v1.2.0

func NewRangedouble(_min, _max float64) *Range

func (Range) C added in v1.2.0

func (self Range) C() (C.ImPlotRange, func())

C is like Handle but returns plain type instead of pointer.

func (*Range) Clamp added in v1.2.0

func (self *Range) Clamp(value float64) float64

func (*Range) Contains added in v1.2.0

func (self *Range) Contains(value float64) bool

func (*Range) Destroy added in v1.2.0

func (self *Range) Destroy()

func (*Range) Handle added in v1.2.0

func (self *Range) Handle() (result *C.ImPlotRange, fin func())

Handle returns C version of Range and its finalizer func.

func (*Range) Max added in v1.2.0

func (self *Range) Max() float64

func (*Range) Min added in v1.2.0

func (self *Range) Min() float64

func (Range) SetMax added in v1.2.0

func (self Range) SetMax(v float64)

func (Range) SetMin added in v1.2.0

func (self Range) SetMin(v float64)

func (*Range) Size added in v1.2.0

func (self *Range) Size() float64

type Rect added in v1.2.0

type Rect struct {
	CData *C.ImPlotRect
}

func GetPlotLimits added in v1.2.0

func GetPlotLimits() Rect

func GetPlotLimitsV added in v1.2.0

func GetPlotLimitsV(x_axis, y_axis AxisEnum) Rect

Returns the current plot axis range. GetPlotLimitsV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func GetPlotSelection added in v1.2.0

func GetPlotSelection() Rect

func GetPlotSelectionV added in v1.2.0

func GetPlotSelectionV(x_axis, y_axis AxisEnum) Rect

Returns the current plot box selection bounds. Passing IMPLOT_AUTO uses the current axes. GetPlotSelectionV parameter default value hint: x_axis: IMPLOT_AUTO y_axis: IMPLOT_AUTO

func NewEmptyRect added in v1.2.0

func NewEmptyRect() *Rect

NewEmptyRect creates Rect with its 0 value.

func NewRectFromC added in v1.2.0

func NewRectFromC[SRC any](cvalue SRC) *Rect

NewRectFromC creates Rect from its C pointer. SRC ~= *C.ImPlotRect

func NewRectNil added in v1.2.0

func NewRectNil() *Rect

func NewRectdouble added in v1.2.0

func NewRectdouble(x_min, x_max, y_min, y_max float64) *Rect

func (Rect) C added in v1.2.0

func (self Rect) C() (C.ImPlotRect, func())

C is like Handle but returns plain type instead of pointer.

func (*Rect) ClampPlotPoint added in v1.5.0

func (self *Rect) ClampPlotPoint(p PlotPoint) PlotPoint

func (*Rect) Clampdouble added in v1.2.0

func (self *Rect) Clampdouble(x, y float64) PlotPoint

func (*Rect) ContainsPlotPoint added in v1.5.0

func (self *Rect) ContainsPlotPoint(p PlotPoint) bool

func (*Rect) Containsdouble added in v1.2.0

func (self *Rect) Containsdouble(x, y float64) bool

func (*Rect) Destroy added in v1.2.0

func (self *Rect) Destroy()

func (*Rect) Handle added in v1.2.0

func (self *Rect) Handle() (result *C.ImPlotRect, fin func())

Handle returns C version of Rect and its finalizer func.

func (*Rect) Max added in v1.2.0

func (self *Rect) Max() PlotPoint

func (*Rect) Min added in v1.2.0

func (self *Rect) Min() PlotPoint

func (Rect) SetX added in v1.2.0

func (self Rect) SetX(v Range)

func (Rect) SetY added in v1.2.0

func (self Rect) SetY(v Range)

func (*Rect) Size added in v1.2.0

func (self *Rect) Size() PlotPoint

func (*Rect) X added in v1.2.0

func (self *Rect) X() Range

func (*Rect) Y added in v1.2.0

func (self *Rect) Y() Range

type Scale added in v1.2.0

type Scale int32

Axis scale original name: ImPlotScale_

const (
	// default linear scale
	ScaleLinear Scale = 0
	// date/time scale
	ScaleTime Scale = 1
	// base 10 logarithmic scale
	ScaleLog10 Scale = 2
	// symmetric log scale
	ScaleSymLog Scale = 3
)

type ScatterFlags added in v1.2.0

type ScatterFlags int32

Flags for PlotScatter. Used by setting ImPlotSpec::Flags. original name: ImPlotScatterFlags_

const (
	// default
	ScatterFlagsNone ScatterFlags = 0
	// markers on the edge of a plot will not be clipped
	ScatterFlagsNoClip ScatterFlags = 1024
)

type ShadedFlags added in v1.2.0

type ShadedFlags int32

Flags for PlotShaded (placeholder). Used by setting ImPlotSpec::Flags. original name: ImPlotShadedFlags_

const (
	// default
	ShadedFlagsNone ShadedFlags = 0
)

type Spec added in v1.5.0

type Spec struct {
	CData *C.ImPlotSpec
}

func NewEmptySpec added in v1.5.0

func NewEmptySpec() *Spec

NewEmptySpec creates Spec with its 0 value.

func NewSpec added in v1.5.0

func NewSpec() *Spec

func NewSpecFromC added in v1.5.0

func NewSpecFromC[SRC any](cvalue SRC) *Spec

NewSpecFromC creates Spec from its C pointer. SRC ~= *C.ImPlotSpec

func (Spec) C added in v1.5.0

func (self Spec) C() (C.ImPlotSpec, func())

C is like Handle but returns plain type instead of pointer.

func (*Spec) Destroy added in v1.5.0

func (self *Spec) Destroy()

func (*Spec) FillAlpha added in v1.5.0

func (self *Spec) FillAlpha() float32

func (*Spec) FillColor added in v1.5.0

func (self *Spec) FillColor() imgui.Vec4

func (*Spec) FillColors added in v1.5.0

func (self *Spec) FillColors() *uint32

func (*Spec) Flags added in v1.5.0

func (self *Spec) Flags() ItemFlags

func (*Spec) Handle added in v1.5.0

func (self *Spec) Handle() (result *C.ImPlotSpec, fin func())

Handle returns C version of Spec and its finalizer func.

func (*Spec) LineColor added in v1.5.0

func (self *Spec) LineColor() imgui.Vec4

func (*Spec) LineColors added in v1.5.0

func (self *Spec) LineColors() *uint32

func (*Spec) LineWeight added in v1.5.0

func (self *Spec) LineWeight() float32

func (*Spec) Marker added in v1.5.0

func (self *Spec) Marker() Marker

func (*Spec) MarkerFillColor added in v1.5.0

func (self *Spec) MarkerFillColor() imgui.Vec4

func (*Spec) MarkerFillColors added in v1.5.0

func (self *Spec) MarkerFillColors() *uint32

func (*Spec) MarkerLineColor added in v1.5.0

func (self *Spec) MarkerLineColor() imgui.Vec4

func (*Spec) MarkerLineColors added in v1.5.0

func (self *Spec) MarkerLineColors() *uint32

func (*Spec) MarkerSize added in v1.5.0

func (self *Spec) MarkerSize() float32

func (*Spec) MarkerSizes added in v1.5.0

func (self *Spec) MarkerSizes() *float32

func (*Spec) Offset added in v1.5.0

func (self *Spec) Offset() int32

func (Spec) SetFillAlpha added in v1.5.0

func (self Spec) SetFillAlpha(v float32)

func (Spec) SetFillColor added in v1.5.0

func (self Spec) SetFillColor(v imgui.Vec4)

func (Spec) SetFillColors added in v1.5.0

func (self Spec) SetFillColors(v *uint32)

func (Spec) SetFlags added in v1.5.0

func (self Spec) SetFlags(v ItemFlags)

func (Spec) SetLineColor added in v1.5.0

func (self Spec) SetLineColor(v imgui.Vec4)

func (Spec) SetLineColors added in v1.5.0

func (self Spec) SetLineColors(v *uint32)

func (Spec) SetLineWeight added in v1.5.0

func (self Spec) SetLineWeight(v float32)

func (Spec) SetMarker added in v1.5.0

func (self Spec) SetMarker(v Marker)

func (Spec) SetMarkerFillColor added in v1.5.0

func (self Spec) SetMarkerFillColor(v imgui.Vec4)

func (Spec) SetMarkerFillColors added in v1.5.0

func (self Spec) SetMarkerFillColors(v *uint32)

func (Spec) SetMarkerLineColor added in v1.5.0

func (self Spec) SetMarkerLineColor(v imgui.Vec4)

func (Spec) SetMarkerLineColors added in v1.5.0

func (self Spec) SetMarkerLineColors(v *uint32)

func (Spec) SetMarkerSize added in v1.5.0

func (self Spec) SetMarkerSize(v float32)

func (Spec) SetMarkerSizes added in v1.5.0

func (self Spec) SetMarkerSizes(v *float32)

func (Spec) SetOffset added in v1.5.0

func (self Spec) SetOffset(v int32)

func (*Spec) SetPropFloat added in v1.5.0

func (self *Spec) SetPropFloat(prop Prop, v float32)

func (*Spec) SetPropFloatPtr added in v1.5.0

func (self *Spec) SetPropFloatPtr(prop Prop, v *float32)

// Set a property from a float pointer value.

func (*Spec) SetPropS8 added in v1.5.0

func (self *Spec) SetPropS8(prop Prop, v int)

func (*Spec) SetPropS16 added in v1.5.0

func (self *Spec) SetPropS16(prop Prop, v int16)

func (*Spec) SetPropS32 added in v1.5.0

func (self *Spec) SetPropS32(prop Prop, v int)

func (*Spec) SetPropS64 added in v1.5.0

func (self *Spec) SetPropS64(prop Prop, v int64)

func (*Spec) SetPropU8 added in v1.5.0

func (self *Spec) SetPropU8(prop Prop, v byte)

func (*Spec) SetPropU16 added in v1.5.0

func (self *Spec) SetPropU16(prop Prop, v uint16)

func (*Spec) SetPropU32 added in v1.5.0

func (self *Spec) SetPropU32(prop Prop, v uint32)

func (*Spec) SetPropU32Ptr added in v1.5.0

func (self *Spec) SetPropU32Ptr(prop Prop, v *uint32)

// Set a property from a pointer value.

func (*Spec) SetPropU64 added in v1.5.0

func (self *Spec) SetPropU64(prop Prop, v uint64)

func (*Spec) SetPropVec4 added in v1.5.0

func (self *Spec) SetPropVec4(prop Prop, v imgui.Vec4)

// Set a property from an ImVec4 value.

func (*Spec) SetPropdouble added in v1.5.0

func (self *Spec) SetPropdouble(prop Prop, v float64)

func (Spec) SetSize added in v1.5.0

func (self Spec) SetSize(v float32)

func (Spec) SetStride added in v1.5.0

func (self Spec) SetStride(v int32)

func (*Spec) Size added in v1.5.0

func (self *Spec) Size() float32

func (*Spec) Stride added in v1.5.0

func (self *Spec) Stride() int32

type StairsFlags added in v1.2.0

type StairsFlags int32

Flags for PlotStairs. Used by setting ImPlotSpec::Flags. original name: ImPlotStairsFlags_

const (
	// default
	StairsFlagsNone StairsFlags = 0
	// the y value is continued constantly to the left from every x position, i.e. the interval (x[i-1], x[i]] has the value y[i]
	StairsFlagsPreStep StairsFlags = 1024
	// a filled region between the stairs and horizontal origin will be rendered; use PlotShaded for more advanced cases
	StairsFlagsShaded StairsFlags = 2048
)

type StemsFlags added in v1.2.0

type StemsFlags int32

Flags for PlotStems. Used by setting ImPlotSpec::Flags. original name: ImPlotStemsFlags_

const (
	// default
	StemsFlagsNone StemsFlags = 0
	// stems will be rendered horizontally on the current y-axis
	StemsFlagsHorizontal StemsFlags = 1024
)

type Style added in v1.2.0

type Style struct {
	CData *C.ImPlotStyle
}

func GetStyle added in v1.2.0

func GetStyle() *Style

Provides access to plot style structure for permanent modifications to colors, sizes, etc.

func NewEmptyStyle added in v1.2.0

func NewEmptyStyle() *Style

NewEmptyStyle creates Style with its 0 value.

func NewStyle added in v1.2.0

func NewStyle() *Style

func NewStyleFromC added in v1.2.0

func NewStyleFromC[SRC any](cvalue SRC) *Style

NewStyleFromC creates Style from its C pointer. SRC ~= *C.ImPlotStyle

func (*Style) AnnotationPadding added in v1.2.0

func (self *Style) AnnotationPadding() imgui.Vec2

func (Style) C added in v1.2.0

func (self Style) C() (C.ImPlotStyle, func())

C is like Handle but returns plain type instead of pointer.

func (*Style) Colormap added in v1.2.0

func (self *Style) Colormap() Colormap

func (*Style) Colors added in v1.2.0

func (self *Style) Colors() [16]imgui.Vec4

func (*Style) Destroy added in v1.2.0

func (self *Style) Destroy()

func (*Style) DigitalPadding added in v1.5.0

func (self *Style) DigitalPadding() float32

func (*Style) DigitalSpacing added in v1.5.0

func (self *Style) DigitalSpacing() float32

func (*Style) FitPadding added in v1.2.0

func (self *Style) FitPadding() imgui.Vec2

func (*Style) Handle added in v1.2.0

func (self *Style) Handle() (result *C.ImPlotStyle, fin func())

Handle returns C version of Style and its finalizer func.

func (*Style) LabelPadding added in v1.2.0

func (self *Style) LabelPadding() imgui.Vec2

func (*Style) LegendInnerPadding added in v1.2.0

func (self *Style) LegendInnerPadding() imgui.Vec2

func (*Style) LegendPadding added in v1.2.0

func (self *Style) LegendPadding() imgui.Vec2

func (*Style) LegendSpacing added in v1.2.0

func (self *Style) LegendSpacing() imgui.Vec2

func (*Style) MajorGridSize added in v1.2.0

func (self *Style) MajorGridSize() imgui.Vec2

func (*Style) MajorTickLen added in v1.2.0

func (self *Style) MajorTickLen() imgui.Vec2

func (*Style) MajorTickSize added in v1.2.0

func (self *Style) MajorTickSize() imgui.Vec2

func (*Style) MinorAlpha added in v1.2.0

func (self *Style) MinorAlpha() float32

func (*Style) MinorGridSize added in v1.2.0

func (self *Style) MinorGridSize() imgui.Vec2

func (*Style) MinorTickLen added in v1.2.0

func (self *Style) MinorTickLen() imgui.Vec2

func (*Style) MinorTickSize added in v1.2.0

func (self *Style) MinorTickSize() imgui.Vec2

func (*Style) MousePosPadding added in v1.2.0

func (self *Style) MousePosPadding() imgui.Vec2

func (*Style) PlotBorderSize added in v1.2.0

func (self *Style) PlotBorderSize() float32

func (*Style) PlotDefaultSize added in v1.2.0

func (self *Style) PlotDefaultSize() imgui.Vec2

func (*Style) PlotMinSize added in v1.2.0

func (self *Style) PlotMinSize() imgui.Vec2

func (*Style) PlotPadding added in v1.2.0

func (self *Style) PlotPadding() imgui.Vec2

func (Style) SetAnnotationPadding added in v1.2.0

func (self Style) SetAnnotationPadding(v imgui.Vec2)

func (Style) SetColormap added in v1.2.0

func (self Style) SetColormap(v Colormap)

func (Style) SetColors added in v1.2.0

func (self Style) SetColors(v *[16]imgui.Vec4)

func (Style) SetDigitalPadding added in v1.5.0

func (self Style) SetDigitalPadding(v float32)

func (Style) SetDigitalSpacing added in v1.5.0

func (self Style) SetDigitalSpacing(v float32)

func (Style) SetFitPadding added in v1.2.0

func (self Style) SetFitPadding(v imgui.Vec2)

func (Style) SetLabelPadding added in v1.2.0

func (self Style) SetLabelPadding(v imgui.Vec2)

func (Style) SetLegendInnerPadding added in v1.2.0

func (self Style) SetLegendInnerPadding(v imgui.Vec2)

func (Style) SetLegendPadding added in v1.2.0

func (self Style) SetLegendPadding(v imgui.Vec2)

func (Style) SetLegendSpacing added in v1.2.0

func (self Style) SetLegendSpacing(v imgui.Vec2)

func (Style) SetMajorGridSize added in v1.2.0

func (self Style) SetMajorGridSize(v imgui.Vec2)

func (Style) SetMajorTickLen added in v1.2.0

func (self Style) SetMajorTickLen(v imgui.Vec2)

func (Style) SetMajorTickSize added in v1.2.0

func (self Style) SetMajorTickSize(v imgui.Vec2)

func (Style) SetMinorAlpha added in v1.2.0

func (self Style) SetMinorAlpha(v float32)

func (Style) SetMinorGridSize added in v1.2.0

func (self Style) SetMinorGridSize(v imgui.Vec2)

func (Style) SetMinorTickLen added in v1.2.0

func (self Style) SetMinorTickLen(v imgui.Vec2)

func (Style) SetMinorTickSize added in v1.2.0

func (self Style) SetMinorTickSize(v imgui.Vec2)

func (Style) SetMousePosPadding added in v1.2.0

func (self Style) SetMousePosPadding(v imgui.Vec2)

func (Style) SetPlotBorderSize added in v1.2.0

func (self Style) SetPlotBorderSize(v float32)

func (Style) SetPlotDefaultSize added in v1.2.0

func (self Style) SetPlotDefaultSize(v imgui.Vec2)

func (Style) SetPlotMinSize added in v1.2.0

func (self Style) SetPlotMinSize(v imgui.Vec2)

func (Style) SetPlotPadding added in v1.2.0

func (self Style) SetPlotPadding(v imgui.Vec2)

func (Style) SetUse24HourClock added in v1.2.0

func (self Style) SetUse24HourClock(v bool)

func (Style) SetUseISO8601 added in v1.2.0

func (self Style) SetUseISO8601(v bool)

func (Style) SetUseLocalTime added in v1.2.0

func (self Style) SetUseLocalTime(v bool)

func (*Style) Use24HourClock added in v1.2.0

func (self *Style) Use24HourClock() bool

func (*Style) UseISO8601 added in v1.2.0

func (self *Style) UseISO8601() bool

func (*Style) UseLocalTime added in v1.2.0

func (self *Style) UseLocalTime() bool

type StyleVar added in v1.2.0

type StyleVar int32

Plot styling variables. original name: ImPlotStyleVar_

const (
	// ImVec2, default size used when ImVec2(0,0) is passed to BeginPlot
	StyleVarPlotDefaultSize StyleVar = 0
	// ImVec2, minimum size plot frame can be when shrunk
	StyleVarPlotMinSize StyleVar = 1
	// float,  thickness of border around plot area
	StyleVarPlotBorderSize StyleVar = 2
	// float,  alpha multiplier applied to minor axis grid lines
	StyleVarMinorAlpha StyleVar = 3
	// ImVec2, major tick lengths for X and Y axes
	StyleVarMajorTickLen StyleVar = 4
	// ImVec2, minor tick lengths for X and Y axes
	StyleVarMinorTickLen StyleVar = 5
	// ImVec2, line thickness of major ticks
	StyleVarMajorTickSize StyleVar = 6
	// ImVec2, line thickness of minor ticks
	StyleVarMinorTickSize StyleVar = 7
	// ImVec2, line thickness of major grid lines
	StyleVarMajorGridSize StyleVar = 8
	// ImVec2, line thickness of minor grid lines
	StyleVarMinorGridSize StyleVar = 9
	// ImVec2, padding between widget frame and plot area, labels, or outside legends (i.e. main padding)
	StyleVarPlotPadding StyleVar = 10
	// ImVec2, padding between axes labels, tick labels, and plot edge
	StyleVarLabelPadding StyleVar = 11
	// ImVec2, legend padding from plot edges
	StyleVarLegendPadding StyleVar = 12
	// ImVec2, legend inner padding from legend edges
	StyleVarLegendInnerPadding StyleVar = 13
	// ImVec2, spacing between legend entries
	StyleVarLegendSpacing StyleVar = 14
	// ImVec2, padding between plot edge and interior info text
	StyleVarMousePosPadding StyleVar = 15
	// ImVec2, text padding around annotation labels
	StyleVarAnnotationPadding StyleVar = 16
	// ImVec2, additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to the fit extents of X and Y)
	StyleVarFitPadding StyleVar = 17
	// float,  digital plot padding from bottom in pixels
	StyleVarDigitalPadding StyleVar = 18
	// float,  digital plot spacing gap in pixels
	StyleVarDigitalSpacing StyleVar = 19
	StyleVarCOUNT          StyleVar = 20
)

type Subplot added in v1.2.0

type Subplot struct {
	CData *C.ImPlotSubplot
}

func NewEmptySubplot added in v1.2.0

func NewEmptySubplot() *Subplot

NewEmptySubplot creates Subplot with its 0 value.

func NewSubplot added in v1.2.0

func NewSubplot() *Subplot

func NewSubplotFromC added in v1.2.0

func NewSubplotFromC[SRC any](cvalue SRC) *Subplot

NewSubplotFromC creates Subplot from its C pointer. SRC ~= *C.ImPlotSubplot

func (Subplot) C added in v1.2.0

func (self Subplot) C() (C.ImPlotSubplot, func())

C is like Handle but returns plain type instead of pointer.

func (*Subplot) CellSize added in v1.2.0

func (self *Subplot) CellSize() imgui.Vec2

func (*Subplot) ColAlignmentData added in v1.2.0

func (self *Subplot) ColAlignmentData() vectors.Vector[AlignmentData]

func (*Subplot) ColLinkData added in v1.2.0

func (self *Subplot) ColLinkData() vectors.Vector[Range]

func (*Subplot) ColRatios added in v1.2.0

func (self *Subplot) ColRatios() vectors.Vector[float32]

func (*Subplot) Cols added in v1.2.0

func (self *Subplot) Cols() int32

func (*Subplot) CurrentIdx added in v1.2.0

func (self *Subplot) CurrentIdx() int32

func (*Subplot) Destroy added in v1.2.0

func (self *Subplot) Destroy()

func (*Subplot) Flags added in v1.2.0

func (self *Subplot) Flags() SubplotFlags

func (*Subplot) FrameHovered added in v1.2.0

func (self *Subplot) FrameHovered() bool

func (*Subplot) FrameRect added in v1.2.0

func (self *Subplot) FrameRect() imgui.Rect

func (*Subplot) GridRect added in v1.2.0

func (self *Subplot) GridRect() imgui.Rect

func (*Subplot) Handle added in v1.2.0

func (self *Subplot) Handle() (result *C.ImPlotSubplot, fin func())

Handle returns C version of Subplot and its finalizer func.

func (*Subplot) HasTitle added in v1.2.0

func (self *Subplot) HasTitle() bool

func (*Subplot) ID added in v1.2.0

func (self *Subplot) ID() imgui.ID

func (*Subplot) Items added in v1.2.0

func (self *Subplot) Items() ItemGroup

func (*Subplot) PreviousFlags added in v1.2.0

func (self *Subplot) PreviousFlags() SubplotFlags

func (*Subplot) RowAlignmentData added in v1.2.0

func (self *Subplot) RowAlignmentData() vectors.Vector[AlignmentData]

func (*Subplot) RowLinkData added in v1.2.0

func (self *Subplot) RowLinkData() vectors.Vector[Range]

func (*Subplot) RowRatios added in v1.2.0

func (self *Subplot) RowRatios() vectors.Vector[float32]

func (*Subplot) Rows added in v1.2.0

func (self *Subplot) Rows() int32

func (Subplot) SetCellSize added in v1.2.0

func (self Subplot) SetCellSize(v imgui.Vec2)

func (Subplot) SetColAlignmentData added in v1.2.0

func (self Subplot) SetColAlignmentData(v vectors.Vector[AlignmentData])

func (Subplot) SetColLinkData added in v1.2.0

func (self Subplot) SetColLinkData(v vectors.Vector[Range])

func (Subplot) SetColRatios added in v1.2.0

func (self Subplot) SetColRatios(v vectors.Vector[float32])

func (Subplot) SetCols added in v1.2.0

func (self Subplot) SetCols(v int32)

func (Subplot) SetCurrentIdx added in v1.2.0

func (self Subplot) SetCurrentIdx(v int32)

func (Subplot) SetFlags added in v1.2.0

func (self Subplot) SetFlags(v SubplotFlags)

func (Subplot) SetFrameHovered added in v1.2.0

func (self Subplot) SetFrameHovered(v bool)

func (Subplot) SetFrameRect added in v1.2.0

func (self Subplot) SetFrameRect(v imgui.Rect)

func (Subplot) SetGridRect added in v1.2.0

func (self Subplot) SetGridRect(v imgui.Rect)

func (Subplot) SetHasTitle added in v1.2.0

func (self Subplot) SetHasTitle(v bool)

func (Subplot) SetID added in v1.2.0

func (self Subplot) SetID(v imgui.ID)

func (Subplot) SetItems added in v1.2.0

func (self Subplot) SetItems(v ItemGroup)

func (Subplot) SetPreviousFlags added in v1.2.0

func (self Subplot) SetPreviousFlags(v SubplotFlags)

func (Subplot) SetRowAlignmentData added in v1.2.0

func (self Subplot) SetRowAlignmentData(v vectors.Vector[AlignmentData])

func (Subplot) SetRowLinkData added in v1.2.0

func (self Subplot) SetRowLinkData(v vectors.Vector[Range])

func (Subplot) SetRowRatios added in v1.2.0

func (self Subplot) SetRowRatios(v vectors.Vector[float32])

func (Subplot) SetRows added in v1.2.0

func (self Subplot) SetRows(v int32)

func (Subplot) SetTempSizes added in v1.2.0

func (self Subplot) SetTempSizes(v *[2]float32)

func (*Subplot) TempSizes added in v1.2.0

func (self *Subplot) TempSizes() [2]float32

type SubplotFlags added in v1.2.0

type SubplotFlags int32

Options for subplots (see BeginSubplot) original name: ImPlotSubplotFlags_

const (
	// default
	SubplotFlagsNone SubplotFlags = 0
	// the subplot title will not be displayed (titles are also hidden if preceded by double hashes, e.g. "##MySubplot")
	SubplotFlagsNoTitle SubplotFlags = 1
	// the legend will not be displayed (only applicable if ImPlotSubplotFlags_ShareItems is enabled)
	SubplotFlagsNoLegend SubplotFlags = 2
	// the user will not be able to open context menus with right-click
	SubplotFlagsNoMenus SubplotFlags = 4
	// resize splitters between subplot cells will be not be provided
	SubplotFlagsNoResize SubplotFlags = 8
	// subplot edges will not be aligned vertically or horizontally
	SubplotFlagsNoAlign SubplotFlags = 16
	// items across all subplots will be shared and rendered into a single legend entry
	SubplotFlagsShareItems SubplotFlags = 32
	// link the y-axis limits of all plots in each row (does not apply to auxiliary axes)
	SubplotFlagsLinkRows SubplotFlags = 64
	// link the x-axis limits of all plots in each column (does not apply to auxiliary axes)
	SubplotFlagsLinkCols SubplotFlags = 128
	// link the x-axis limits in every plot in the subplot (does not apply to auxiliary axes)
	SubplotFlagsLinkAllX SubplotFlags = 256
	// link the y-axis limits in every plot in the subplot (does not apply to auxiliary axes)
	SubplotFlagsLinkAllY SubplotFlags = 512
	// subplots are added in column major order instead of the default row major order
	SubplotFlagsColMajor SubplotFlags = 1024
)

type Tag added in v1.2.0

type Tag struct {
	CData *C.ImPlotTag
}

func NewEmptyTag added in v1.2.0

func NewEmptyTag() *Tag

NewEmptyTag creates Tag with its 0 value.

func NewTag added in v1.5.0

func NewTag() *Tag

func NewTagFromC added in v1.2.0

func NewTagFromC[SRC any](cvalue SRC) *Tag

NewTagFromC creates Tag from its C pointer. SRC ~= *C.ImPlotTag

func (*Tag) Axis added in v1.2.0

func (self *Tag) Axis() AxisEnum

func (Tag) C added in v1.2.0

func (self Tag) C() (C.ImPlotTag, func())

C is like Handle but returns plain type instead of pointer.

func (*Tag) ColorBg added in v1.2.0

func (self *Tag) ColorBg() uint32

func (*Tag) ColorFg added in v1.2.0

func (self *Tag) ColorFg() uint32

func (*Tag) Destroy added in v1.5.0

func (self *Tag) Destroy()

func (*Tag) Handle added in v1.2.0

func (self *Tag) Handle() (result *C.ImPlotTag, fin func())

Handle returns C version of Tag and its finalizer func.

func (Tag) SetAxis added in v1.2.0

func (self Tag) SetAxis(v AxisEnum)

func (Tag) SetColorBg added in v1.2.0

func (self Tag) SetColorBg(v uint32)

func (Tag) SetColorFg added in v1.2.0

func (self Tag) SetColorFg(v uint32)

func (Tag) SetTextOffset added in v1.2.0

func (self Tag) SetTextOffset(v int32)

func (Tag) SetValue added in v1.2.0

func (self Tag) SetValue(v float64)

func (*Tag) TextOffset added in v1.2.0

func (self *Tag) TextOffset() int32

func (*Tag) Value added in v1.2.0

func (self *Tag) Value() float64

type TagCollection added in v1.2.0

type TagCollection struct {
	CData *C.ImPlotTagCollection
}

func NewEmptyTagCollection added in v1.2.0

func NewEmptyTagCollection() *TagCollection

NewEmptyTagCollection creates TagCollection with its 0 value.

func NewTagCollection added in v1.2.0

func NewTagCollection() *TagCollection

func NewTagCollectionFromC added in v1.2.0

func NewTagCollectionFromC[SRC any](cvalue SRC) *TagCollection

NewTagCollectionFromC creates TagCollection from its C pointer. SRC ~= *C.ImPlotTagCollection

func (*TagCollection) Append added in v1.2.0

func (self *TagCollection) Append(axis AxisEnum, value float64, bg, fg uint32, fmt string)

func (*TagCollection) Append0 added in v1.6.0

func (self *TagCollection) Append0(axis AxisEnum, value float64, bg, fg uint32, fmt string)

func (TagCollection) C added in v1.2.0

func (self TagCollection) C() (C.ImPlotTagCollection, func())

C is like Handle but returns plain type instead of pointer.

func (*TagCollection) Destroy added in v1.2.0

func (self *TagCollection) Destroy()

func (*TagCollection) Handle added in v1.2.0

func (self *TagCollection) Handle() (result *C.ImPlotTagCollection, fin func())

Handle returns C version of TagCollection and its finalizer func.

func (*TagCollection) Reset added in v1.2.0

func (self *TagCollection) Reset()

func (TagCollection) SetSize added in v1.2.0

func (self TagCollection) SetSize(v int32)

func (TagCollection) SetTags added in v1.2.0

func (self TagCollection) SetTags(v vectors.Vector[Tag])

func (TagCollection) SetTextBuffer added in v1.2.0

func (self TagCollection) SetTextBuffer(v imgui.TextBuffer)

func (*TagCollection) Size added in v1.2.0

func (self *TagCollection) Size() int32

func (*TagCollection) Tags added in v1.2.0

func (self *TagCollection) Tags() vectors.Vector[Tag]

func (*TagCollection) Text added in v1.2.0

func (self *TagCollection) Text(idx int32) string

func (*TagCollection) TextBuffer added in v1.2.0

func (self *TagCollection) TextBuffer() imgui.TextBuffer

type TextFlags added in v1.2.0

type TextFlags int32

Flags for PlotText. Used by setting ImPlotSpec::Flags. original name: ImPlotTextFlags_

const (
	// default
	TextFlagsNone TextFlags = 0
	// text will be rendered vertically
	TextFlagsVertical TextFlags = 1024
)

type Tick added in v1.2.0

type Tick struct {
	CData *C.ImPlotTick
}

func NewEmptyTick added in v1.2.0

func NewEmptyTick() *Tick

NewEmptyTick creates Tick with its 0 value.

func NewTickFromC added in v1.2.0

func NewTickFromC[SRC any](cvalue SRC) *Tick

NewTickFromC creates Tick from its C pointer. SRC ~= *C.ImPlotTick

func NewTickNil added in v1.5.0

func NewTickNil() *Tick

func NewTickdouble added in v1.5.0

func NewTickdouble(value float64, major bool, level int32, show_label bool) *Tick

func (Tick) C added in v1.2.0

func (self Tick) C() (C.ImPlotTick, func())

C is like Handle but returns plain type instead of pointer.

func (*Tick) Destroy added in v1.2.0

func (self *Tick) Destroy()

func (*Tick) Handle added in v1.2.0

func (self *Tick) Handle() (result *C.ImPlotTick, fin func())

Handle returns C version of Tick and its finalizer func.

func (*Tick) Idx added in v1.2.0

func (self *Tick) Idx() int32

func (*Tick) LabelSize added in v1.2.0

func (self *Tick) LabelSize() imgui.Vec2

func (*Tick) Level added in v1.2.0

func (self *Tick) Level() int32

func (*Tick) Major added in v1.2.0

func (self *Tick) Major() bool

func (*Tick) PixelPos added in v1.2.0

func (self *Tick) PixelPos() float32

func (*Tick) PlotPos added in v1.2.0

func (self *Tick) PlotPos() float64

func (Tick) SetIdx added in v1.2.0

func (self Tick) SetIdx(v int32)

func (Tick) SetLabelSize added in v1.2.0

func (self Tick) SetLabelSize(v imgui.Vec2)

func (Tick) SetLevel added in v1.2.0

func (self Tick) SetLevel(v int32)

func (Tick) SetMajor added in v1.2.0

func (self Tick) SetMajor(v bool)

func (Tick) SetPixelPos added in v1.2.0

func (self Tick) SetPixelPos(v float32)

func (Tick) SetPlotPos added in v1.2.0

func (self Tick) SetPlotPos(v float64)

func (Tick) SetShowLabel added in v1.2.0

func (self Tick) SetShowLabel(v bool)

func (Tick) SetTextOffset added in v1.2.0

func (self Tick) SetTextOffset(v int32)

func (*Tick) ShowLabel added in v1.2.0

func (self *Tick) ShowLabel() bool

func (*Tick) TextOffset added in v1.2.0

func (self *Tick) TextOffset() int32

type Ticker added in v1.2.0

type Ticker struct {
	CData *C.ImPlotTicker
}

func NewEmptyTicker added in v1.2.0

func NewEmptyTicker() *Ticker

NewEmptyTicker creates Ticker with its 0 value.

func NewTicker added in v1.2.0

func NewTicker() *Ticker

func NewTickerFromC added in v1.2.0

func NewTickerFromC[SRC any](cvalue SRC) *Ticker

NewTickerFromC creates Ticker from its C pointer. SRC ~= *C.ImPlotTicker

func (*Ticker) AddTickPlotTick added in v1.2.0

func (self *Ticker) AddTickPlotTick(tick Tick) *Tick

func (*Ticker) AddTickdoublePlotFormatter added in v1.2.0

func (self *Ticker) AddTickdoublePlotFormatter(value float64, major bool, level int32, show_label bool, formatter Formatter, data uintptr) *Tick

func (*Ticker) AddTickdoubleStr added in v1.2.0

func (self *Ticker) AddTickdoubleStr(value float64, major bool, level int32, show_label bool, label string) *Tick

func (Ticker) C added in v1.2.0

func (self Ticker) C() (C.ImPlotTicker, func())

C is like Handle but returns plain type instead of pointer.

func (*Ticker) Destroy added in v1.2.0

func (self *Ticker) Destroy()

func (*Ticker) Handle added in v1.2.0

func (self *Ticker) Handle() (result *C.ImPlotTicker, fin func())

Handle returns C version of Ticker and its finalizer func.

func (*Ticker) LateSize added in v1.2.0

func (self *Ticker) LateSize() imgui.Vec2

func (*Ticker) Levels added in v1.2.0

func (self *Ticker) Levels() int32

func (*Ticker) MaxSize added in v1.2.0

func (self *Ticker) MaxSize() imgui.Vec2

func (*Ticker) OverrideSizeLate added in v1.2.0

func (self *Ticker) OverrideSizeLate(size imgui.Vec2)

func (*Ticker) Reset added in v1.2.0

func (self *Ticker) Reset()

func (Ticker) SetLateSize added in v1.2.0

func (self Ticker) SetLateSize(v imgui.Vec2)

func (Ticker) SetLevels added in v1.2.0

func (self Ticker) SetLevels(v int32)

func (Ticker) SetMaxSize added in v1.2.0

func (self Ticker) SetMaxSize(v imgui.Vec2)

func (Ticker) SetTextBuffer added in v1.2.0

func (self Ticker) SetTextBuffer(v imgui.TextBuffer)

func (Ticker) SetTicks added in v1.2.0

func (self Ticker) SetTicks(v vectors.Vector[Tick])

func (*Ticker) TextBuffer added in v1.2.0

func (self *Ticker) TextBuffer() imgui.TextBuffer

func (*Ticker) TextInt added in v1.2.0

func (self *Ticker) TextInt(idx int32) string

func (*Ticker) TextPlotTick added in v1.2.0

func (self *Ticker) TextPlotTick(tick Tick) string

func (*Ticker) TickCount added in v1.2.0

func (self *Ticker) TickCount() int32

func (*Ticker) Ticks added in v1.2.0

func (self *Ticker) Ticks() vectors.Vector[Tick]

type TimeFmt added in v1.2.0

type TimeFmt int32

original name: ImPlotTimeFmt_

const (
	TimeFmtNone TimeFmt = 0
	// .428 552       [ .428 552     ]
	TimeFmtUs TimeFmt = 1
	// :29.428 552    [ :29.428 552  ]
	TimeFmtSUs TimeFmt = 2
	// :29.428        [ :29.428      ]
	TimeFmtSMs TimeFmt = 3
	// :29            [ :29          ]
	TimeFmtS TimeFmt = 4
	// 21:29.428      [ 21:29.428    ]
	TimeFmtMinSMs TimeFmt = 5
	// 7:21:29.428pm  [ 19:21:29.428 ]
	TimeFmtHrMinSMs TimeFmt = 6
	// 7:21:29pm      [ 19:21:29     ]
	TimeFmtHrMinS TimeFmt = 7
	// 7:21pm         [ 19:21        ]
	TimeFmtHrMin TimeFmt = 8
	// 7pm            [ 19:00        ]
	TimeFmtHr TimeFmt = 9
)

type TimeUnit added in v1.2.0

type TimeUnit int32

original name: ImPlotTimeUnit_

const (
	// microsecond
	TimeUnitUs TimeUnit = 0
	// millisecond
	TimeUnitMs TimeUnit = 1
	// second
	TimeUnitS TimeUnit = 2
	// minute
	TimeUnitMin TimeUnit = 3
	// hour
	TimeUnitHr TimeUnit = 4
	// day
	TimeUnitDay TimeUnit = 5
	// month
	TimeUnitMo TimeUnit = 6
	// year
	TimeUnitYr    TimeUnit = 7
	TimeUnitCOUNT TimeUnit = 8
)

type Tm

type Tm struct {
	Seconds int32
	Minutes int32
	Hours   int32
	MDay    int32
	Month   int32
	Year    int32
	WDay    int32
	YDay    int32
	IsDST   int32
}

Tm is an implemenation of tm C type ref: https://en.cppreference.com/w/c/chrono/tm

func NewTm

func NewTm(S, M, H, MD, MO, Y, WD, YD, DST int32) Tm

func (*Tm) FromC

func (i *Tm) FromC(pAny unsafe.Pointer) *Tm

func (Tm) ToC

func (i Tm) ToC() C.struct_tm

type Transform added in v1.2.0

type Transform func(value float64, user_data unsafe.Pointer) float64

func NewTransformFromC added in v1.2.0

func NewTransformFromC(cvalue *C.ImPlotTransform) *Transform

func (Transform) C added in v1.2.0

func (c Transform) C() (C.ImPlotTransform, func())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL