Fix formatting
This commit is contained in:
8
server.R
8
server.R
@@ -270,13 +270,15 @@ server <- function(input, output, session) {
|
|||||||
) %>%
|
) %>%
|
||||||
layout(
|
layout(
|
||||||
autosize = TRUE,
|
autosize = TRUE,
|
||||||
|
separators = ",.",
|
||||||
xaxis = list(
|
xaxis = list(
|
||||||
title = "<br><br><b>Straftat<b>",
|
title = "<br><br><b>Straftat<b>",
|
||||||
tickangle = 0,
|
tickangle = 0,
|
||||||
ticklabeloverflow = "allow"
|
ticklabeloverflow = "allow"
|
||||||
),
|
),
|
||||||
yaxis = list(
|
yaxis = list(
|
||||||
title = "<b>Anzahl erfasster Fälle<b>"
|
title = "<b>Anzahl erfasster Fälle<b>",
|
||||||
|
tickformat=",.0d"
|
||||||
),
|
),
|
||||||
margin = list(pad = 5)
|
margin = list(pad = 5)
|
||||||
) %>%
|
) %>%
|
||||||
@@ -332,9 +334,11 @@ server <- function(input, output, session) {
|
|||||||
plot <- plot_ly() %>%
|
plot <- plot_ly() %>%
|
||||||
layout(
|
layout(
|
||||||
barmode = 'group',
|
barmode = 'group',
|
||||||
|
separators = ",.",
|
||||||
colorway = blue_palette(6),
|
colorway = blue_palette(6),
|
||||||
xaxis = list(
|
xaxis = list(
|
||||||
title = "<b>Anzahl erfasster Fälle<b>"
|
title = "<b>Anzahl erfasster Fälle<b>",
|
||||||
|
tickformat=",.0d"
|
||||||
),
|
),
|
||||||
yaxis = list(
|
yaxis = list(
|
||||||
title = "<b>Straftat<b>",
|
title = "<b>Straftat<b>",
|
||||||
|
|||||||
Reference in New Issue
Block a user