FlexPro Forum – Discuss Your Topic!

Change the name of the elements within a list

Home > Community > General > Change the name of the elements within a list

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22240
    Darren LimDarren Lim
    Participant

    Hi,

    I was wondering if there is a way i could change the name of the element inside a list.

    E.g. My list contains 7 elements and when i create a line graph of all 7 elements, each curve has the name ‘List1 , List2, etc..’ which forbids me to differentiate which curve belongs to which element.

     

    I tried using the AssignListElementNames but it keeps coming up with an error

     

    any advise is appreicated thanks!

    #22241
    Bernhard KantzBernhard Kantz
    Participant

    Hi!

    What error message do you get? I tried a little example using three synthetic signals in a small formula:

    Dim SourceData = [ Signal, <B> Signal2, <C> Signal3]
    AssignListElementNames(SourceData, { "Sine", "Rectangle", "Triangle" })
    

    The resulting lists element names are those specified in the string dataset.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.