Ignition Perspective Time Series Chart

Hi All,
I would like to know if any chance for consuructing bar chart in ignition perspective with the dataset as follow,


Thank you in advance!

Have a look at Perspective - XY Chart - Ignition User Manual 8.1 - Ignition Documentation.

For bar chart you need to set props.series.0.render: column.

You probably need to remove the [ ] around your values too.

Thanks @Transistor ,
I have changed the datatype and binded those datasets to datasources as given in manual
but i cannot show the data in chart

can you guide me how to do this

Did you read the manual link and try to set it up? Where did you get stuck?

Hi @Transistor,

Sorry for the delay in reply, I was on Leave , so i could not reply you back

i have tried appending those datasets in the datasources as example then changed the series field as below but data is not visible,

image

Regards,
Sri Haran S

Hi Sri_Haran,

Did you find a solution? I have the same question.....

Hi @Ignition_Tourists,
Have done this with the help of my colleague instead of changing the value as dataset you need to convert it as array then you need to bind the same in xy chart

xy_chart_data = []
for day,consumption in zip(week_data,consumption_list):
	data_value = {"t_stamp":day,"process_temp":consumption }
	xy_chart_data.append(data_value)

you can refer this for better understanding

Regards,
Sri Haran S

Thank you for your help! :wink:

1 Like