Skip to content

Commit

Permalink
Fix typo in decimal place setting
Browse files Browse the repository at this point in the history
  • Loading branch information
katieb1 committed Apr 29, 2024
1 parent 929515f commit 867232c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/chartXAxis.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ setMethod("chartXAxis", signature(chart = "Chart"),
if (!is.null(decimals) && is.numeric(decimals)){
allNULL <- FALSE
if ((decimals >= 0) && (decimals <= 8)){
PanelXAxisDecimalPlaces
ds[ds$ChartId == chartCID,]$PanelYAxisDecimalPlaces <- decimals
} else {
stop("decimals should be an integer between 0 and 8.")
}
Expand Down
2 changes: 1 addition & 1 deletion R/chartYAxis.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ setMethod("chartYAxis", signature(chart = "Chart"),
if (!is.null(decimals) && is.numeric(decimals)){
allNULL <- FALSE
if ((decimals >= 0) && (decimals <= 8)){
PanelYAxisDecimalPlaces
ds[ds$ChartId == chartCID,]$PanelYAxisDecimalPlaces <- decimals
} else {
stop("decimals should be an integer between 0 and 8.")
}
Expand Down

0 comments on commit 867232c

Please sign in to comment.