How to get buffer data? #519
Unanswered
davidlampach
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to get one of the basic chart examples to work with the BitmapBackend::with_buffer function. The exact same code works well when I am exporting a file (an unaltered example from this repo). But if I change it to output to a buffer, I can't seem to find the data. The buffer is just an empty array of zero values. How can I access and manipulate the buffer? I have also tried the following with root_area and it also doesn't have any data.
fn main() {
Beta Was this translation helpful? Give feedback.
All reactions