File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,34 @@ function CentileChart({
723
723
} )
724
724
}
725
725
726
+ {
727
+ // nondisjunction lines uk90->uk-who->uk-who
728
+ nondisjunctionThresholds !== null &&
729
+ nondisjunctionThresholds . map ( ( dataArray ) => {
730
+ if ( dataArray [ 0 ] . x > domains . x [ 0 ] && dataArray [ 1 ] . x < domains . x [ 1 ] ) {
731
+ return (
732
+ < VictoryLine
733
+ key = { dataArray [ 0 ] . x }
734
+ name = { `nondisjunction-${ dataArray [ 0 ] . x } ` }
735
+ style = { styles . nondisjunctionThresholdLine }
736
+ data = { dataArray }
737
+ labelComponent = {
738
+ < VictoryLabel
739
+ textAnchor = "start"
740
+ angle = { - 90 }
741
+ dx = { 5 }
742
+ dy = { 10 }
743
+ style = { styles . nondisjunctionThresholdLabel }
744
+ />
745
+ }
746
+ />
747
+ ) ;
748
+ } else {
749
+ return null ;
750
+ }
751
+ } )
752
+ }
753
+
726
754
{ /* create a series for each child measurements data point: a circle for chronological age, a cross for corrected */ }
727
755
{ /* If data points are close together, reduce the size of the point */ }
728
756
You can’t perform that action at this time.
0 commit comments