Skip to content

Commit

Permalink
fix issue with connected lines
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Apr 28, 2021
1 parent 07d651f commit b38c6e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: mschart
Type: Package
Title: Chart Generation for 'Microsoft Word' and 'Microsoft PowerPoint' Documents
Version: 0.3.1.003
Version: 0.3.1.004
Authors@R: c(
person("David", "Gohel", role = c("aut", "cre"),
email = "david.gohel@ardata.fr"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Expand Up @@ -7,6 +7,7 @@
## Issues

* fix issue with scattercharts and ordering in the Excel dataset
* fix issue with scattercharts when points should be joined by a line

# mschart 0.3.0

Expand Down
2 changes: 1 addition & 1 deletion R/to_pml.R
Expand Up @@ -189,7 +189,7 @@ to_pml.ms_scatterchart <- function(x, id_x, id_y, sheetname = "sheet1", add_ns =
sheetname = sheetname )
str_series_ <- sapply( series, function(serie, has_line, has_marker ){

if( !has_line ){
if( !has_line || serie$line_style %in% "none" || serie$line_width < 1){
line_str <- "<c:spPr><a:ln><a:noFill/></a:ln></c:spPr>"
} else {
line_properties <- fp_border(color = serie$stroke, style = serie$line_style, width = serie$line_width)
Expand Down

0 comments on commit b38c6e8

Please sign in to comment.