Skip to content

Commit

Permalink
adding prefix and seting dataframe selector for plots
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellfundi committed Jun 16, 2016
1 parent 112d7c0 commit d6e7036
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
6 changes: 4 additions & 2 deletions instat/dlgBarAndPieChart.vb
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,15 @@ Public Class dlgBarAndPieChart
ucrSecondReceiver.Selector = ucrBarChartSelector
ucrSecondReceiver.SetIncludedDataTypes({"factor"})

'sdgBarChart.SetBarChartFunction(clsRgeom_barchart)
sdgPieChartOptions.SetPieChartFunction(clsTempRFunc)

sdgPlots.SetRSyntax(ucrBase.clsRsyntax)
ucrBase.clsRsyntax.iCallType = 0
ucrBase.iHelpTopicID = 327


ucrSaveBar.SetDataFrameSelector(ucrBarChartSelector.ucrAvailableDataFrames)
ucrSaveBar.strPrefix = "Graph"

End Sub

Private Sub ReopenDialog()
Expand Down
4 changes: 4 additions & 0 deletions instat/dlgCumulativeDistribution.vb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Public Class dlgCumulativeDistribution
ucrVariablesAsFactorforCumDist.SetSelector(ucrCumDistSelector)
ucrVariablesAsFactorforCumDist.SetIncludedDataType({"numeric"})


ucrSaveCumDist.SetDataFrameSelector(ucrCumDistSelector.ucrAvailableDataFrames)
ucrSaveCumDist.strPrefix = "Graph"

End Sub

Private Sub SetDefaults()
Expand Down
3 changes: 1 addition & 2 deletions instat/dlgDotPlot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ Public Class dlgDotPlot
ucrBase.iHelpTopicID = 134

ucrSaveDotPlot.SetDataFrameSelector(ucrDotPlotSelector.ucrAvailableDataFrames)
ucrSaveDotPlot.ucrInputGraphName.SetPrefix("Graph")

ucrSaveDotPlot.strPrefix = "Graph"
End Sub

Private Sub TestOkEnabled()
Expand Down
2 changes: 2 additions & 0 deletions instat/dlgPlot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ Public Class dlgPlot
ucrVariablesAsFactorForLinePlot.SetSelector(ucrLinePlotSelector)
ucrVariablesAsFactorForLinePlot.SetIncludedDataType({"numeric"})

ucrSaveLinePlot.SetDataFrameSelector(ucrLinePlotSelector.ucrAvailableDataFrames)
ucrSaveLinePlot.strPrefix = "Graph"
End Sub
Private Sub TeskOkEnabled()
If ucrReceiverX.IsEmpty() = True Or ucrVariablesAsFactorForLinePlot.IsEmpty() Then
Expand Down
4 changes: 4 additions & 0 deletions instat/dlgScatterPlot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Public Class dlgScatterPlot
ucrVariablesAsFactorForScatter.SetExcludedDataTypes({"numeric"})
sdgPlots.SetRSyntax(ucrBase.clsRsyntax)
ucrBase.iHelpTopicID = 16


ucrSaveScatterPlot.SetDataFrameSelector(ucrSelectorForScatter.ucrAvailableDataFrames)
ucrSaveScatterPlot.strPrefix = "Graph"
End Sub
Private Sub SetDefaults()
'setDefaults
Expand Down
3 changes: 3 additions & 0 deletions instat/dlgSummaryBarOrPieChart.vb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Public Class dlgSummaryBarOrPieChart
ucrYReceiver.SetMeAsReceiver()
ucrBase.clsRsyntax.iCallType = 0
sdgPlots.SetRSyntax(ucrBase.clsRsyntax)

ucrSaveSummaryBar.SetDataFrameSelector(ucrSummarybarSelector.ucrAvailableDataFrames)
ucrSaveSummaryBar.strPrefix = "Graph"
End Sub
Private Sub SetDefaults()
ucrSummarybarSelector.Reset()
Expand Down

0 comments on commit d6e7036

Please sign in to comment.