Skip to content

Commit

Permalink
Set expandedDefaultValue: false, see #89
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 20, 2024
1 parent 7dffb5a commit ee1d963
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/least-squares-regression/view/BestFitLineAccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default class BestFitLineAccordionBox extends AccordionBox {
} ),
titleXMargin: 0,
contentXMargin: 10,
contentYMargin: 10
contentYMargin: 10,
expandedDefaultValue: false
}, providedOptions );

// Create the chart (barometer) displaying the sum of the squares
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export default class CorrelationCoefficientAccordionBox extends AccordionBox {
} ),
titleAlignY: 'top',
contentXMargin: 10,
contentYMargin: 10
contentYMargin: 10,
expandedDefaultValue: false
}, options );

const textOptions = { font: LeastSquaresRegressionConstants.PEARSON_COEFFICIENT_TEXT_FONT };
Expand Down

0 comments on commit ee1d963

Please sign in to comment.