I have a problem with these CImGui functions.
It should plot my Array, but it take every second second value from my Array, and every second value from “I don’t know?” I checked my array values and there’s any problem with that. Even on the image which I uploaded the maximum value of Bplane array is equal 29.17 A/m and some of these bars are even order of 7 or more for example this 3.117e+007 which is seen on this image.
It looks like that:
I have one more question. Is any way to display a tooltip text in this CImGui.PlotLines in different format. It means for example I have two tables. One is this value table(Bplane) and second is x table(coordinate table). So I want to display instead this what is showed on this uploaded image(24: 3.117e+007) in format (-5.2: 3.117e+007) or even better(X=-5.2 m B=3.117e+007 A/m). That -5.2 is taken from x=-10:0.2:10 steprange eventually x=collect(-10:0.2:10) Array/List. Now this tooltip show something like values for every i point hovered in format: ("$i: $(Bplane[i])") and I want it in format: ("$(x[i]): $(Bplane[i])") or better ("X=$(x[i]) m: B=$(Bplane[i]) A/m").
I know this, but that’s need this extra CImGui.ItemHovered statement and this build-in tooltip with PlotLines/PlotHistogram is almost completed. And if I would use this overlay as a tooltip I would have to clear this PlotLines/PlotHistogram Tooltip.
I’m not familiar with those font-related stuff too(and I can’t even distinguish Greek and Latin characters ). As this is a question about Dear IMGUI itself, I guess you would get more help if you post this to Dear IMGUI’s discourse forum.