Vision Easy Chart Pen Display and Aggregation

Hi all,

A customer asked me a detailed question for which I don't have an answer. Apologies if this is already answered but my searches of the forum didn't find it.

How does an Easy Chart draw the trend line when Min/Max aggregation is selected? It can only draw one point per pen per timestamp but the dataset has two rows for each time. Does it use the mean between the two values to calculate the position of the point on the y-axis?

Thanks for your thoughts!

I don't think it aggregates on the pen. I picked a historical tag and made a few pens with different aggregates: Closest, MinMax, Min, Max. In all instances, it uses the raw value.

Then I added min and max calculated pens, which drew lines for the data in view.
image

Ah, so maybe it just aggregates when you click the disk icon to save chart data to Excel?

Thanks!

Not sure. The easy chart doesn't seem to have any way to enter a sample size to create a time slice to use for the aggregate. :man_shrugging:

The chart's resolution property does this. Default of 300. -1 does raw data queries with no aggregation.

1 Like