How to make gtsave do not ignore borderlines?

26 Views Asked by At

I need to create a table in gt. In my code which I run through output you can see dotted lines.

enter image description here But in file saved using gtsave there are no such lines. enter image description here

Why and to change it? Lines where produced

tab_style(
style = cell_borders(
  sides = c("bottom"),
  color = "gray",
  weight = px(1.5),
  style = "dotted"
),
locations = cells_body(rows = c(3, 6, 9, 12, 15, 18, 21))) 

And to save it:

gtsave(tab1, "tab1.png")
0

There are 0 best solutions below