compute chart types that can work for a ds, based on term type and data type availability. e.g. if survival term is present, allow survival chart. this computing only generate common chart types.
return allowed chart types per subcohort. mass client will show chart buttons solely based on this
optionally, apply ds overrides from a new structure below. addCharts will add things, hideCharts will hide things. this is a better design than allowedChartTypes[] that does two things and lead to excessive config on datasets
getSupportedChartTypes() does two things:
bySubcohort{}
is chart type list per subcohort, this will be used for profile which has a subcohort-specific chart type we have to supportlist[]
is a flat list