updated Apexcharts to 3.26.2

This commit is contained in:
pvictor 2021-05-10 14:11:18 +02:00
parent 1e42e587af
commit 36a537a79b
No known key found for this signature in database
GPG Key ID: 31124C9F3F9268B8
5 changed files with 74 additions and 8 deletions

View File

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

View File

@ -56,6 +56,7 @@ apexchart <- function(ax_opts = list(), auto_update = TRUE, width = NULL, height
)
}
# dput(tools::file_path_sans_ext(list.files("inst/htmlwidgets/lib/apexcharts-locales/")))
#' @importFrom jsonlite fromJSON
add_locale_apex <- function(widget) {
if (!is.null(widget$x$ax_opts$chart$defaultLocale)) {
@ -63,8 +64,9 @@ add_locale_apex <- function(widget) {
defaultLocale <- match.arg(
arg = defaultLocale,
choices = c("ca", "cs", "de", "el", "en", "es", "fi", "fr", "he", "hi",
"hr", "hy", "id", "it", "ko", "lt", "nb", "nl", "pl", "pt-br",
"pt", "ru", "se", "sk", "sl", "th", "tr", "ua")
"hr", "hu", "hy", "id", "it", "ja", "ka", "ko", "lt", "nb", "nl",
"pl", "pt-br", "pt", "rs", "ru", "se", "sk", "sl", "sq", "th",
"tr", "ua", "zh-cn")
)
if (!is.null(widget$x$ax_opts$chart$locales)) {
warning(

View File

@ -1,6 +1,6 @@
dependencies:
- name: apexcharts
version: 3.26.1
version: 3.26.2
src: htmlwidgets/lib/apexcharts-3.26
script: apexcharts.min.js
- name: apexcharter-css

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,64 @@
{
"name": "hu",
"options": {
"months": [
"január",
"február",
"március",
"április",
"május",
"június",
"július",
"augusztus",
"szeptember",
"október",
"november",
"december"
],
"shortMonths": [
"jan",
"feb",
"mar",
"ápr",
"máj",
"jún",
"júl",
"aug",
"szept",
"okt",
"nov",
"dec"
],
"days": [
"hétfő",
"kedd",
"szerda",
"csütörtök",
"péntek",
"szombat",
"vasárnap"
],
"shortDays": [
"H",
"K",
"Sze",
"Cs",
"P",
"Szo",
"V"
],
"toolbar": {
"exportToSVG": "Exportálás SVG-be",
"exportToPNG": "Exportálás PNG-be",
"exportToCSV": "Exportálás CSV-be",
"menu": "Fő ajánlat",
"download": "SVG letöltése",
"selection": "Kiválasztás",
"selectionZoom": "Nagyító kiválasztása",
"zoomIn": "Nagyítás",
"zoomOut": "Kicsinyítés",
"pan": "Képcsúsztatás",
"reset": "Nagyító visszaállítása"
}
}
}