Hey uh so I was wondering if I could make a histogram meter that shows the covid graph like on this websitehttps://www.worldometers.info/coronavirus/country/india/(does webparser even work with histograms?) I'm kinda confused about the regexp options here and do I need to search the whole html file of the website in order to find that particular graph?
Here is my overall code
The short answer is "No". Those charts are generated in a JavaScript from data on the page. You cannot capture the graphs as they appear on the webpage; you would have to capture all of the data for each graph and create your own chart (not a histogram) for each desired graph.
The data is in the code, but it is more than the 99 elements limit for straightforward 'StringIndex'; you would have to capture all of the data in first webparser measure, then use StringIndex2 on that measure to obtain each data point; which looks like there are hundreds for each graph!
In my view, the amount of work needed to re-create graphs is going to be more than it is worth. I would look for websites that show those details in images that you could capture.
Alloutofmercy wrote: ↑January 15th, 2022, 7:17 am
Can I define W and H like a normal image in bitmap?
You can, but not as on an Image meter. W and H won't resize the Bitmap meter as they do an Image meter. Bitmaps can be resized with TransformationMatrx. Here is a very good description on how you have to work with TransformationMatrix. It's not quite easy, however can be done. Please let me know if you need assistance.
As you can see my gif or rather bitmap images can be seen moving but like only a small portion of it. Can you please tell me how I could make it all visible? And yes I have no clue about transfomatrix
Alloutofmercy wrote: ↑January 15th, 2022, 8:16 am
As you can see my gif or rather bitmap images can be seen moving but like only a small portion of it. Can you please tell me how I could make it all visible? And yes I have no clue about transfomatrix
First, post please the @Resources\Twwtwo\Frame0.png image.
Alloutofmercy wrote: ↑January 15th, 2022, 9:06 am
Here is the drive link
But that's not a bitmap. There are 52 individual frames (.png images), which can be used on an Image meter. And that Image meter can be easily resized through the W and H options, no need to use TransformationMatrix. You said you want to use Bitmap meter, which is a completely different thing.
Additionally, it's almost impossible to download all those 52 images, one by one. Sorry, but I definitely won't do this...