From 867232c8d41916a42795f079fea79b64ac97c8b9 Mon Sep 17 00:00:00 2001 From: katieb1 Date: Mon, 29 Apr 2024 15:10:16 -0700 Subject: [PATCH] Fix typo in decimal place setting --- R/chartXAxis.R | 2 +- R/chartYAxis.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/chartXAxis.R b/R/chartXAxis.R index f0034007..5d723951 100644 --- a/R/chartXAxis.R +++ b/R/chartXAxis.R @@ -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.") } diff --git a/R/chartYAxis.R b/R/chartYAxis.R index 41bfc32f..55807ec5 100644 --- a/R/chartYAxis.R +++ b/R/chartYAxis.R @@ -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.") }