Skip to content

Commit

Permalink
Merge pull request #59 from africanmathsinitiative/master
Browse files Browse the repository at this point in the history
updating master
  • Loading branch information
Vitalis95 authored May 26, 2022
2 parents ebd3a82 + cf7e4f8 commit 2a21144
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 130 deletions.
10 changes: 5 additions & 5 deletions instat/dlgClimaticBoxPlot.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions instat/dlgClimaticBoxPlot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Public Class dlgClimaticBoxPlot
Private strNone As String = "None"

Private bUpdateComboOptions As Boolean = True
Private bContainsFacet As Boolean = False
Private bUpdatingParameters As Boolean = False
Private dctComboReceiver As New Dictionary(Of ucrInputComboBox, ucrReceiverSingle)

Expand Down Expand Up @@ -336,6 +337,9 @@ Public Class dlgClimaticBoxPlot
End Sub

Private Sub cmdOptions_Click(sender As Object, e As EventArgs) Handles cmdOptions.Click
If Not IsNothing(clsBaseOperator.GetParameter("facets")) Then
bContainsFacet = True
End If
sdgPlots.SetRCode(clsBaseOperator, clsNewCoordPolarFunction:=clsCoordPolarFunction, clsNewCoordPolarStartOperator:=clsCoordPolarStartOperator,
clsNewThemeFunction:=clsThemeFunction, dctNewThemeFunctions:=dctThemeFunctions, clsNewGlobalAesFunction:=clsRaesFunction,
clsNewXScalecontinuousFunction:=clsXScaleContinuousFunction, clsNewYScalecontinuousFunction:=clsYScaleContinuousFunction,
Expand All @@ -349,6 +353,11 @@ Public Class dlgClimaticBoxPlot
sdgPlots.tbpFacet.Enabled = True
ucrChkHorizontalBoxplot.SetRCode(clsBaseOperator, bReset)
bResetSubdialog = False

If bContainsFacet Then
clsBaseOperator.AddParameter("facets", clsRFunctionParameter:=clsFacetFunction)
bContainsFacet = False
End If
End Sub

Private Sub ucrPnlPlots_ControlValueChanged() Handles ucrPnlPlots.ControlValueChanged
Expand Down
Loading

0 comments on commit 2a21144

Please sign in to comment.