Time Series Chart: Selectable Pen/Tag Visualization Based on User Requirement

Hello everyone,

I am using the Time Series Chart component in Ignition 8.3 to visualize batch data. The data is being fetched from the database using a Named Query, which is bound to the chart’s data property.

Currently, the chart displays all the data columns from the table, but I would like to make the data selectable based on user requirements.

For example, if the dataset contains tags such as PT101, TT101, and TT102, I would like the user to be able to choose which tags to visualize—similar to how tag selection works in the Power Chart component.

Has anyone implemented something similar using the Time Series Chart, or does anyone have suggestions on how this can be achieved?

Below is the query I am currently using:

SQL

SELECT TOP 1000

t_stamp AS time,

PT101,

SOV102,

SOV101,

TT101,

TT102,

TT103

FROM Batchdata

WHERE t_stamp BETWEEN :startDate AND :endDate

ORDER BY t_stamp

Show more lines

I have also attached screenshots of the data table for reference.

Any guidance or ideas would be greatly appreciated.
Thank you in advance.