remove non-ascii & bump version

This commit is contained in:
pvictor 2020-03-03 17:32:30 +01:00
parent ec890de767
commit e3d9c9ffc9
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Package: apexcharter Package: apexcharter
Version: 0.1.3.920 Version: 0.1.3.930
Title: Create Interactive Chart with the JavaScript 'ApexCharts' Library Title: Create Interactive Chart with the JavaScript 'ApexCharts' Library
Description: Provides an 'htmlwidgets' interface to 'apexcharts.js'. Description: Provides an 'htmlwidgets' interface to 'apexcharts.js'.
'Apexcharts' is a modern JavaScript charting library to build interactive charts and visualizations with simple API. 'Apexcharts' is a modern JavaScript charting library to build interactive charts and visualizations with simple API.

View File

@ -1125,7 +1125,7 @@ ax_xaxis <- function(ax,
#' apex(temperature, aes(month, tp), "line") %>% #' apex(temperature, aes(month, tp), "line") %>%
#' ax_yaxis( #' ax_yaxis(
#' labels = list( #' labels = list(
#' formatter = htmlwidgets::JS("function(value) {return value + '°C';}") #' formatter = htmlwidgets::JS("function(value) {return value + '\u00b0C';}")
#' ) #' )
#' ) #' )
ax_yaxis <- function(ax, ax_yaxis <- function(ax,

View File

@ -137,7 +137,7 @@ apexchart(ax_opts = list(
yaxis = list( yaxis = list(
title = list(text = "Temperature"), title = list(text = "Temperature"),
labels = list( labels = list(
formatter = htmlwidgets::JS("function(value) {return value + '\u00b0CC';}") formatter = htmlwidgets::JS("function(value) {return value + '\u00b0C';}")
) )
) )
)) ))

View File

@ -76,7 +76,7 @@ temperature <- data.frame(
apex(temperature, aes(month, tp), "line") \%>\% apex(temperature, aes(month, tp), "line") \%>\%
ax_yaxis( ax_yaxis(
labels = list( labels = list(
formatter = htmlwidgets::JS("function(value) {return value + '°C';}") formatter = htmlwidgets::JS("function(value) {return value + '\u00b0C';}")
) )
) )
} }