04-30-2020 01:39 AM
i want to display machine data in the form of a bar chart or any other visualization technique.
lets say a data labeled "A" is being stored from machine. My front end user wants to visualize the trend of "A" within a selected interval of date. the date range can be one day, few days, whole month or even years.
what is the best way to create an adaptable visualization depending on monthly yearly weekly or daily data bar chart?
04-30-2020 01:54 AM
Hi Sibangi,
LabVIEW graphs also support "bar plots" when you configure the plot properties.
@SibangiB wrote:
what is the best way to create an adaptable visualization depending on monthly yearly weekly or daily data bar chart?
So all you need to do is to collect/filter the data you want to visualize and the plot them on a graph…
04-30-2020 01:58 AM
if i consider my x-axis to be the time line, and want to visualize my data points over a year, i cannot represent 365 datas on x-axis. in this particular case my application should automatically create a monthly data visualization with 12 data points on my axis.
this flexibility i want to achieve
04-30-2020 02:02 AM
Hi Sibangi,
@SibangiB wrote:
if i consider my x-axis to be the time line, and want to visualize my data points over a year, i cannot represent 365 datas on x-axis. in this particular case my application should automatically create a monthly data visualization with 12 data points on my axis.
So you need a simple case structure:
IF ArraySize(plotdata) > limit THEN
Decimate plotdata as needed
ENDIF
Is there any specific problem with your code?
04-30-2020 02:03 AM
this idea might be helpful!
i will try to create the code and get back if it works.
thank you in advance!!