GE Lua Documentation

Press F to search!

PlotHistogram1

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:808
function M.PlotHistogram1(string_label, float_values, int_values_count, int_values_offset, string_overlay_text, float_scale_min, float_scale_max, ImVec2_graph_size, int_stride)
  if int_values_offset == nil then int_values_offset = 0 end
  -- string_overlay_text is optional and can be nil
  if float_scale_min == nil then float_scale_min = FLT_MAX end
  if float_scale_max == nil then float_scale_max = FLT_MAX end
  if ImVec2_graph_size == nil then ImVec2_graph_size = ImVec2(0,0) end
  if int_stride == nil then int_stride = ffi.sizeof('float') end
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'PlotHistogram1' cannot be nil, as the c type is 'const char *'") ; return end
  if float_values == nil then log("E", "", "Parameter 'float_values' of function 'PlotHistogram1' cannot be nil, as the c type is 'const float *'") ; return end
  imgui.PlotHistogram1(string_label, float_values, int_values_count, int_values_offset, string_overlay_text, float_scale_min, float_scale_max, ImVec2_graph_size, int_stride)
end

Callers

@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if float_values == nil then log("E", "", "Parameter 'float_values' of function 'PlotHistogram1' cannot be nil, as the c type is 'const float *'") ; return end
  imgui.PlotHistogram1(string_label, float_values, int_values_count, int_values_offset, string_overlay_text, float_scale_min, float_scale_max, ImVec2_graph_size, int_stride)
end