In Runtime Mode, I could hide or unhide each pen from pen area control ( Red area 1 in picture).
But I want to do this by 2 button ( Red area 2 in picture). How can I do that?
As I know that, The historial data of trend window was store in Table1 at Taghistorian dataset.
Please see below picture
Can I create other table to store historial data of trend window because I have many Trend window in my project, And I want each trend window store at seperate table.
Best
1- Just to confirm, do you want to hide a pen using a specific button to each pen? Have you tried to use this Template, there are many examples using Trend:
Yes. I want to hide and unhide a pen using a specific button to each pen
About Trend template. I knew it and Tried to created with this template.
This project can add pen via asset but not from button.
Please help me create button to hide and unhide pen.
Best.
We understand that you mentioned the term “cell in Trend Window” but we were unsure of what you meant by it as the Trend Window object draws the pen values on a graph and does not have cells.
If you are referring to these cells on the TrendWindow configuration window, their values are the pen properties, and can be obtained through code:
If you were not talking about the TrendWindow configuration cells, could you provide more details on which cell you are referring to? It would be great if you could send us a screenshot of the element you are trying to obtain the value from. This will help us to better understand your concern and provide you with the appropriate solution.