Show / hide bar or line

    Hi.

    In my example I try to show or hide columns according to the selection made by the user.

    I would like that you cooperate, adding improvements at the example. If you are interested in the content.

    I attached the sample file.

    The idea is to create a table in the script, with the names of the expressions that i want to display, which can be one or more, then to display in the bar graph or line graph, the expressions selected.

    Suggestions and improvements are welcome.

    Thank You.

     

    Regards.