Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
zwemtijden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tools
swimming
zwemtijden
Commits
41f07597
Commit
41f07597
authored
1 year ago
by
Berinda van Dijk
Browse files
Options
Downloads
Patches
Plain Diff
changed fontsize of the heatmap and set dragmode=FALSE in the heatmap and in the last_entry table.
parent
7e77c22a
Branches
Branches containing commit
No related tags found
1 merge request
!12
Small improvements and bugfixes, mainly in the tijdlijn_alles.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code.R
+5
-4
5 additions, 4 deletions
code.R
with
5 additions
and
4 deletions
code.R
+
5
−
4
View file @
41f07597
...
...
@@ -118,12 +118,13 @@ doId <- function(input) {
filter
(
points
==
max
(
points
,
na.rm
=
TRUE
))
%>%
filter
(
time
==
min
(
time
,
na.rm
=
TRUE
))
kleurentabel
_prs
<-
ggplot
(
tabel_Prs_small
,
aes
(
distance
,
stroke
))
+
heatmap
_prs
<-
ggplot
(
tabel_Prs_small
,
aes
(
distance
,
stroke
,
text
=
date
))
+
geom_tile
(
aes
(
fill
=
points
))
+
geom_text
(
aes
(
label
=
points
))
+
geom_text
(
aes
(
label
=
points
)
,
size
=
7
)
+
labs
(
title
=
"Heatmap punten per slag en afstand"
)
+
theme_bw
()
appendPlot
(
kleurentabel_prs
)
heatmap_prs
<-
ggplotly
(
heatmap_prs
,
tooltip
=
c
(
'text'
))
%>%
layout
(
dragmode
=
FALSE
)
appendPlotly
(
heatmap_prs
)
tabel_LastEntrys
<-
zonder_split
%>%
group_by
(
distance
,
stroke
,
poolType
)
%>%
...
...
@@ -163,7 +164,7 @@ doId <- function(input) {
tabel_lasts
=
tabel_lasts
[
tabel_lasts
$
points
!=
0
,]
facetwrap_lasts
=
tabel_lasts
%>%
split
(
.
$
stroke
)
%>%
map
(
barplot_facets
)
facetwrap_lasts
=
facetwrap_lasts
%>%
subplot
(
widths
=
breedte_perslag
,
margin
=
0.01
,
shareY
=
TRUE
)
%>%
layout
(
showlegend
=
FALSE
,
title
=
'Last entrys'
)
layout
(
showlegend
=
FALSE
,
dragmode
=
FALSE
,
title
=
'Last entrys'
)
appendPlotly
(
facetwrap_lasts
)
stippenplot_sizes
<-
ggplot
(
bovennul
,
aes
(
x
=
date
,
y
=
points
,
color
=
stroke
,
size
=
distance
,
group
=
AfstandSlag
))
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment