-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Bindings: ImPlot plot methods with length #261
Comments
This can be done, but there's one issue. In about half of the methods, there is an optional Since I don't use this functionality, I'm curious to hear other perspective on what would be the more convenient approach. cc @calvertdw (I know you're actively using ImPlot in your app, so this might be relevant for you as well.) |
Do you mean the |
Yes, that seems like a viable solution. However, I'm interested in your use case. How do you use ImPlot functions in your work? |
A common theme for me is visualization of real-time streaming data. Incoming new data is appended to a |
I haven't had time to look at it yet, but just to say I'm open to changes! It's not hard for me fix them as we upgrade. I'll take a closer look in a bit. P.S. @SpaiR I just saw the latest release, I'm so hyped to upgrade!! It's been a long wait :P |
Finally got a chance to take a minute and understand this. I am completely on board with @phraktle's suggestion:
If that works, either you specify offset and length, or nothing. That would be perfect. I don't really like either appending a random letter or using a long. Using the long would be particularly bad, because it'd be really easy to accidentally pass the length as an int. I also share the use case of real-time streaming and use the same approach of reusing larger buffers. |
I implemented the approach we discussed here. I believe that should help. |
Thank you @SpaiR, 1.87.3 works well (and pretty fonts are also back :) |
Version
1.87.1
What part of the binding has gaps?
implot
What is missing?
1.86.x exposed the
length
parameter onplot*
methods. This is no longer available in 1.87.0 bindings, so one can only plot the full buffer. However there are legitimate use-cases where one needs this (eg. resizable buffers).The text was updated successfully, but these errors were encountered: