I have a display issue with the chart in vision 8.1. I have a vector that is substantially longer than the number of pixels I have to display it, and I am concerned that we are missing some datapoints based on however the chart is doing its own downscaling, but I can't prove it.
To check / fix, I need to extract the actual chart size in pixels from the object so that I can downsample the input data appropriately. I can't seem to find anything better than .width on the main widget, which doesn't include anything about the margins or the actual width of the plot. Does anyone know how to get access to this information?
I am using "Chart", and the data is coming in over an OPCUA server and going through a tag change event script to unstripe it from a 1d vector into a 2d vector. I have over 2000 data points, but my entire HMI is not even that many pixels wide. I want to max downsample and I already have the code for that, my main issue is determining what the length of the downsampled vector needs to be.
This isn't historical data and I am not recording it using Ignition, so the available EasyChart historian pens are not available to me, unfortunately.