Skip to content

Commit

Permalink
custom plot for participants view only
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Oct 13, 2023
1 parent 257a12c commit 56d0b5e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const getPlotConfig = (tableId: string) => {
xtitle: 'Age (years)',
ytitle: '',
// barmode: ''
showlegend: 'false',
showlegend: false,
onCustomPlotClick: handlePlotClick,
}
return plotConfig
Expand Down Expand Up @@ -119,9 +119,6 @@ export const individualsView: SynapseConfig = {
},
}

const filesTableId = SynapseUtilityFunctions.parseEntityIdFromSqlStatement(
cohortBuilderFilesSql,
)
export const filesView: SynapseConfig = {
name: 'QueryWrapperPlotNav',
props: {
Expand All @@ -141,7 +138,6 @@ export const filesView: SynapseConfig = {
minFacetColumn: 'minAge',
maxFacetColumn: 'maxAge',
},
customPlots: [getPlotConfig(filesTableId)],
tableConfiguration: {
showAccessColumn: true,
showDownloadColumn: true,
Expand Down

0 comments on commit 56d0b5e

Please sign in to comment.