-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added missing Geoms to the plot options in the Climatic>Mapping>Map sub dialog #7506
Added missing Geoms to the plot options in the Climatic>Mapping>Map sub dialog #7506
Conversation
@EstherNjeriLiberatta very well done, that looks great. |
@EstherNjeriLiberatta thanks for this, is it ready again for review? |
@rdstern The error was coming about when you edit into the sub dialogue which was causing the data to be lost in the geom_point or geom_label_repel code. It is now fixed by adding the dataset to the ggplot() function. The order of the geoms is also fixed. This is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EstherNjeriLiberatta that's good and seems to work fine.
Ideally, the Point Options and Label Repel options would also be included in the drop-down.
If that is tricky, then we could merge this and consider the extra geoms as an additional issue?
@rdstern I suggest we open another issue on this and merge this one. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EstherNjeriLiberatta that's good and seems to work fine.
Ideally, the Point Options and Label Repel options would also be included in the drop-down.
If that is tricky, then we could merge this and consider the extra geoms as an additional issue?
After your comment I am approving and perhaps you could make a new issue of the point about adding the remaining geoms into the pull-down.
ChangeSize() | ||
|
||
End Sub | ||
|
||
Private Sub SetDefaults() | ||
clsParamOperator.Clear() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also delete declaration on line 48?
instat/dlgClimaticStationMaps.vb
Outdated
Else | ||
clsGGplotOperator.RemoveParameterByName("geom_label") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameter already removed above. Do we need these lines?
instat/dlgClimaticStationMaps.vb
Outdated
Else | ||
clsGGplotOperator.RemoveParameterByName("facets") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameter already removed above. Do we need these lines?
instat/dlgClimaticStationMaps.vb
Outdated
Else | ||
clsGGplotOperator.RemoveParameterByName("scale_shape_manual") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameter already removed above. Do we need these lines?
@lloyddewit I have resolved your comments above. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EstherNjeriLiberatta Thank you, looks good
@rdstern Some code changes since your last approval. In theory, the functionality should not be affected. If you can test/reapprove, then we can merge. Thanks |
Fixes #7494
@rdstern @africanmathsinitiative/developers This is ready for review.