-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from africanmathsinitiative/master
Pulling changes from the main
- Loading branch information
Showing
7 changed files
with
385 additions
and
264 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
|
||
' Instat-R | ||
' Copyright (C) 2015 | ||
' | ||
' This program is free software: you can redistribute it and/or modify | ||
' it under the terms of the GNU General Public License as published by | ||
' the Free Software Foundation, either version 3 of the License, or | ||
' (at your option) any later version. | ||
' | ||
' This program is distributed in the hope that it will be useful, | ||
' but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
' GNU General Public License for more details. | ||
' | ||
' You should have received a copy of the GNU General Public License k | ||
' along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
Imports instat.Translations | ||
|
||
Public Class dlgDotPlot | ||
Private Sub dlgDotPlot_Load(sender As Object, e As EventArgs) Handles MyBase.Load | ||
ucrBase.clsRsyntax.SetFunction("dotchart") | ||
UcrReceiverSingle1.Selector = ucrAddRemove | ||
UcrReceiverSingle1.SetMeAsReceiver() | ||
ucrBase.clsRsyntax.iCallType = 0 | ||
autoTranslate(Me) | ||
ucrReceiverSingle.Selector = ucrAddRemove | ||
ucrReceiverSingle.SetMeAsReceiver() | ||
End Sub | ||
|
||
Private Sub ucrBase_ClickOk(sender As Object, e As EventArgs) Handles ucrBase.ClickOk | ||
ucrBase.clsRsyntax.AddParameter("x", "data$" & UcrReceiverSingle1.txtReceiverSingle.Text & "") | ||
ucrBase.clsRsyntax.AddParameter("main", Chr(34) & txtTittle.Text & Chr(34)) | ||
frmMain.clsRInterface.RunScript(ucrBase.clsRsyntax.GetScript(), 0) | ||
Private Sub txtTitle_Leave(sender As Object, e As EventArgs) Handles txtTitle.Leave | ||
ucrBase.clsRsyntax.AddParameter("main", Chr(34) & txtTitle.Text & Chr(34)) | ||
End Sub | ||
|
||
Private Sub UcrReceiverSingle1_Leave(sender As Object, e As EventArgs) Handles ucrReceiverSingle.LeftText | ||
ucrBase.clsRsyntax.AddParameter("x", "data$" & ucrReceiverSingle.txtReceiverSingle.Text & "") | ||
End Sub | ||
|
||
End Class |
Oops, something went wrong.