# CImGui.PlotLines and CImGui.PlotHistogram problems

**URL:** <https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831>\
**Category:** General Usage\
**Tags:** question, array\
**Created:** [September 16, 2019, 9:55pm UTC](https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831 "2019-09-16T21:55:20Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [September 19, 2019, 7:52am UTC](https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831/8 "2019-09-19T07:52:37Z")

</div>

Ok, I used this SetTooltip instead of beginTooltip which I usually use and it works.

```julia
if CImGui.IsItemHovered()
    region_x = Cint(div(length(x)*(io.MousePos.x - pos.x),img_width)+1)
    CImGui.SetTooltip(@sprintf("X = %g m \n B = %.2f", x[region_x], Bplane[region_x]))
end

```

Thank you. Still have problem with Greek characters, if you could help, here’s my other problem [CImGui Greek Characters](https://discourse.julialang.org/t/cimgui-greek-characters/28918).

---

_[View the full topic](https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831)._
