Skip to content

Commit

Permalink
Merge pull request #6 from Vitalis95/test3
Browse files Browse the repository at this point in the history
Test3
  • Loading branch information
Fidel365 authored Feb 29, 2024
2 parents 302a751 + cc6309e commit 0fc12de
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 51 deletions.
31 changes: 2 additions & 29 deletions instat/dlgBarAndPieChart.Designer.vb

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

44 changes: 22 additions & 22 deletions instat/dlgBarAndPieChart.vb
Original file line number Diff line number Diff line change
Expand Up @@ -295,34 +295,34 @@ Public Class dlgBarAndPieChart
ucrInputPlace.SetLinkedDisplayControl(lblPlace)
ucrReceiverLabel.SetLinkedDisplayControl(lblLabel)

ucrInputLollipopColour.SetParameter(New RParameter("point.colour", 0))
dctLollipopColours.Add("SteelBlue", Chr(34) & "steelBlue" & Chr(34))
dctLollipopColours.Add("Black", Chr(34) & "black" & Chr(34))
dctLollipopColours.Add("White", Chr(34) & "white" & Chr(34))
dctLollipopColours.Add("Blue", Chr(34) & "blue" & Chr(34))
dctLollipopColours.Add("Red", Chr(34) & "red" & Chr(34))
dctLollipopColours.Add("Yellow", Chr(34) & "yellow" & Chr(34))
dctLollipopColours.Add("Purple", Chr(34) & "purple" & Chr(34))
dctLollipopColours.Add("Green", Chr(34) & "green" & Chr(34))
dctLollipopColours.Add("Orange", Chr(34) & "orange" & Chr(34))
dctLollipopColours.Add("Grey", Chr(34) & "grey" & Chr(34))
dctLollipopColours.Add("Brown", Chr(34) & "brown" & Chr(34))
dctLollipopColours.Add("Pink", Chr(34) & "pink" & Chr(34))
ucrInputLollipopColour.SetItems(dctLollipopColours)
ucrInputLollipopColour.bAllowNonConditionValues = True
'ucrInputLollipopColour.SetParameter(New RParameter("point.colour", 0))
'dctLollipopColours.Add("SteelBlue", Chr(34) & "steelBlue" & Chr(34))
'dctLollipopColours.Add("Black", Chr(34) & "black" & Chr(34))
'dctLollipopColours.Add("White", Chr(34) & "white" & Chr(34))
'dctLollipopColours.Add("Blue", Chr(34) & "blue" & Chr(34))
'dctLollipopColours.Add("Red", Chr(34) & "red" & Chr(34))
'dctLollipopColours.Add("Yellow", Chr(34) & "yellow" & Chr(34))
'dctLollipopColours.Add("Purple", Chr(34) & "purple" & Chr(34))
'dctLollipopColours.Add("Green", Chr(34) & "green" & Chr(34))
'dctLollipopColours.Add("Orange", Chr(34) & "orange" & Chr(34))
'dctLollipopColours.Add("Grey", Chr(34) & "grey" & Chr(34))
'dctLollipopColours.Add("Brown", Chr(34) & "brown" & Chr(34))
'dctLollipopColours.Add("Pink", Chr(34) & "pink" & Chr(34))
'ucrInputLollipopColour.SetItems(dctLollipopColours)
'ucrInputLollipopColour.bAllowNonConditionValues = True

ucrNudLollipopSize.SetParameter(New RParameter("point.size", 1))
ucrNudLollipopSize.DecimalPlaces = 0
ucrNudLollipopSize.Increment = 1
ucrNudLollipopSize.Minimum = 1
ucrNudLollipopSize.Maximum = 15

ucrChkLollipop.SetText("Lollipop")
ucrChkLollipop.AddParameterPresentCondition(True, "geom_lollipop")
ucrChkLollipop.AddParameterPresentCondition(False, "geom_lollipop", False)
ucrChkLollipop.AddToLinkedControls({ucrNudLollipopSize, ucrInputLollipopColour}, {True}, bNewLinkedHideIfParameterMissing:=True)
ucrNudLollipopSize.SetLinkedDisplayControl(lblLollipopSize)
ucrInputLollipopColour.SetLinkedDisplayControl(lblLollipopColour)
'ucrChkLollipop.SetText("Lollipop")
'ucrChkLollipop.AddParameterPresentCondition(True, "geom_lollipop")
'ucrChkLollipop.AddParameterPresentCondition(False, "geom_lollipop", False)
'ucrChkLollipop.AddToLinkedControls({ucrNudLollipopSize, ucrInputLollipopColour}, {True}, bNewLinkedHideIfParameterMissing:=True)
'ucrNudLollipopSize.SetLinkedDisplayControl(lblLollipopSize)
'ucrInputLollipopColour.SetLinkedDisplayControl(lblLollipopColour)

ucrInputAddReorder.SetItems({strAscending, strDescending, strReverse, strNone})
ucrInputAddReorder.SetDropDownStyleAsNonEditable()
Expand Down Expand Up @@ -683,7 +683,7 @@ Public Class dlgBarAndPieChart
ucrInputLabelPosition.SetRCode(clsGeomTextFunction, bReset)
ucrInputLabelSize.SetRCode(clsGeomTextFunction, bReset)
ucrNudLollipopSize.SetRCode(clsGeomLollipopFunction, bReset)
ucrInputLollipopColour.SetRCode(clsGeomLollipopFunction, bReset)
'ucrInputLollipopColour.SetRCode(clsGeomLollipopFunction, bReset)
ucrChkLollipop.SetRCode(clsBaseOperator, bReset)
ucrReceiverArea.SetRCode(clsAsNumericFunction, bReset)
ucrReceiverFill.SetRCode(clsGeomTreemapAesFunction, bReset)
Expand Down

0 comments on commit 0fc12de

Please sign in to comment.