I currently have two single select dropdowns - one where the user selects a product and one where the user selects a test based on the product. I populate a ChartRangeSelector with the chosen options and dates. I also have a TimeSeriesChart that goes with the ChartRangeSelector. I want to have a multi-select dropdown instead for the test options to choose from. I am not sure how to go about populating the data for ChartRangeSelector or the data for the TimeSeriesChart data dynamically based on the chosen test options. I am currently using a named query to populate the data. I understand how the data needs to be organized via time first column and a new column after that for different test results for the chosen product and test(s), but how do I dynamically see how many tests were chosen from the multi-select dropdown, then populate a table.