Skip to content

Commit

Permalink
Merge pull request #2954 from dippindots/fix_survival_plot_shift
Browse files Browse the repository at this point in the history
fix issue: x-axis in survival plot shifted in study view
  • Loading branch information
alisman authored Dec 31, 2019
2 parents bf6f497 + d6e0844 commit 4cf6943
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/resultsView/survival/SurvivalChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export default class SurvivalChart extends React.Component<ISurvivalChartProps,

<VictoryChart containerComponent={<VictoryZoomContainer responsive={false}
disable={true}
zoomDomain={{x: [0, this.sliderValue]}}
zoomDomain={this.props.showSlider ? {x: [0, this.sliderValue]} : undefined}
onZoomDomainChange={_.debounce((domain: any) => {
this.scatterFilter = domain as SurvivalPlotFilters;
}, 1000)}
Expand Down

0 comments on commit 4cf6943

Please sign in to comment.