I am attempting to create a dynamic stacked chart. The user will select if they want a stacked chart via a dropdown list and then the chart will update with their selection. An example is included of something close to what it should be. The uncommented out data is what I would like to use but the commented out data is okay as well. I would like to at least have model remain the same otherwise it would be a different object created each time.