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.") }