i am creating a drop down list using combo box. the idea is choosing a particular item/option from that list should create a corresponding bar plot.
in the attached code, Tool_time_wf is the function that is supposed to create the plot by using the argument/prompt/equipment name[variable choice] from the combo box. Each item/option in the combo box myListbox is already a column name in the data table (attached) from which the bar plot should be generated as week[column 1 in the data table] vs. equipment name/column name [column 2 and onwards in the data table].
the user is ideally choosing a equipment name/column name from the drop down , and the same equipment name exists as column name in the data table (see attached untitled 90 data table) that will be plotted as week vs. column name/equipment name. although the attached data table here only shows 2 column name or, 2 equipment name. but the actual table will have 100 column name/100 equipment name. SO i need a function (this is where i am stuck now) that will create the plot using the selection from drop down of 100 equipment name/column name.
any help would be appreciated. best regards.