update ApexCharts to 1.2.0

This commit is contained in:
pvictor 2018-08-08 10:48:03 +02:00
parent 81dfd86a48
commit df11003915
18 changed files with 44 additions and 37 deletions

View File

@ -12,6 +12,6 @@ LazyData: true
ByteCompile: true
Imports:
htmlwidgets
RoxygenNote: 6.0.1
RoxygenNote: 6.1.0
URL: https://github.com/dreamRs/apexcharter
BugReports: https://github.com/dreamRs/apexcharter/issues

View File

@ -38,7 +38,7 @@ ax_annotations <- function(ax,
#' @param type Specify the chart type. Available Options: \code{"bar"}, \code{"column"}, \code{"line"},
#' \code{"histogram"}, \code{"pie"}, \code{"donut"}, \code{"radialBar"}, \code{"scatter"}, \code{"bubble"}, \code{"heatmap"}.
#' @param stacked Logical. Enables stacked option for axis charts.
#' @param stackType When stacked, should the stacking be percentage based or normal stacking. Available options: \code{"normal"} or \code{"100%"}
#' @param stackType When stacked, should the stacking be percentage based or normal stacking. Available options: \code{"normal"} or \code{"100\%"}
#' @param animations List.
#' @param background Background color for the chart area. If you want to set background with css, use \code{.apexcharts-canvas} to set it.
#' @param foreColor Sets the text color for the chart. Defaults to \code{#373d3f}.
@ -49,8 +49,8 @@ ax_annotations <- function(ax,
#' @param scroller List.
#' @param selection List.
#' @param sparkline List. Sparkline hides all the elements of the charts other than the primary paths. Helps to visualize data in small areas. .
#' @param toolbar
#' @param zoom
#' @param toolbar List.
#' @param zoom List.
#' @param width Width of the chart.
#' @param height Height of the chart.
#' @param ... Additional parameters.

View File

@ -1,5 +1,5 @@
dependencies:
- name: apexcharts
version: 1.1.2
src: htmlwidgets/lib/apexcharts-1.1.2
version: 1.2.0
src: htmlwidgets/lib/apexcharts-1.2.0
script: apexcharts.min.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,8 +4,8 @@
\alias{apexcharter}
\title{Create a apexcharts.js widget}
\usage{
apexcharter(ax_opts = list(), data = NULL, width = NULL, height = NULL,
elementId = NULL)
apexcharter(ax_opts = list(), data = NULL, width = NULL,
height = NULL, elementId = NULL)
}
\arguments{
\item{ax_opts}{A \code{list} in JSON format with chart parameters}

View File

@ -7,8 +7,8 @@
ax_chart(ax, type = NULL, stacked = NULL, stackType = NULL,
animations = NULL, background = NULL, foreColor = NULL,
dropShadow = NULL, events = NULL, offsetX = NULL, offsetY = NULL,
scroller = NULL, selection = NULL, sparkline = NULL, toolbar = NULL,
zoom = NULL, width = NULL, height = NULL, ...)
scroller = NULL, selection = NULL, sparkline = NULL,
toolbar = NULL, zoom = NULL, width = NULL, height = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}
@ -18,6 +18,8 @@ ax_chart(ax, type = NULL, stacked = NULL, stackType = NULL,
\item{stacked}{Logical. Enables stacked option for axis charts.}
\item{stackType}{When stacked, should the stacking be percentage based or normal stacking. Available options: \code{"normal"} or \code{"100\%"}}
\item{animations}{List.}
\item{background}{Background color for the chart area. If you want to set background with css, use \code{.apexcharts-canvas} to set it.}
@ -38,7 +40,9 @@ ax_chart(ax, type = NULL, stacked = NULL, stackType = NULL,
\item{sparkline}{List. Sparkline hides all the elements of the charts other than the primary paths. Helps to visualize data in small areas. .}
\item{zoom}{}
\item{toolbar}{List.}
\item{zoom}{List.}
\item{width}{Width of the chart.}

View File

@ -4,8 +4,8 @@
\alias{ax_fill}
\title{Fill property}
\usage{
ax_fill(ax, type = NULL, colors = NULL, opacity = NULL, gradient = NULL,
image = NULL, pattern = NULL, ...)
ax_fill(ax, type = NULL, colors = NULL, opacity = NULL,
gradient = NULL, image = NULL, pattern = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -4,8 +4,8 @@
\alias{ax_stroke}
\title{Stroke properties}
\usage{
ax_stroke(ax, show = NULL, curve = NULL, lineCap = NULL, width = NULL,
colors = NULL, dashArray = NULL, ...)
ax_stroke(ax, show = NULL, curve = NULL, lineCap = NULL,
width = NULL, colors = NULL, dashArray = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -5,7 +5,8 @@
\title{Chart's subtitle}
\usage{
ax_subtitle(ax, text = NULL, align = NULL, margin = NULL,
offsetX = NULL, offsetY = NULL, floating = NULL, style = NULL, ...)
offsetX = NULL, offsetY = NULL, floating = NULL, style = NULL,
...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -4,8 +4,9 @@
\alias{ax_title}
\title{Chart's title}
\usage{
ax_title(ax, text = NULL, align = NULL, margin = NULL, offsetX = NULL,
offsetY = NULL, floating = NULL, style = NULL, ...)
ax_title(ax, text = NULL, align = NULL, margin = NULL,
offsetX = NULL, offsetY = NULL, floating = NULL, style = NULL,
...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -6,8 +6,9 @@
\usage{
ax_tooltip(ax, enabled = NULL, shared = NULL, followCursor = NULL,
intersect = NULL, inverseOrder = NULL, custom = NULL,
fillSeriesColor = NULL, onDatasetHover = NULL, theme = NULL, x = NULL,
y = NULL, z = NULL, marker = NULL, items = NULL, fixed = NULL, ...)
fillSeriesColor = NULL, onDatasetHover = NULL, theme = NULL,
x = NULL, y = NULL, z = NULL, marker = NULL, items = NULL,
fixed = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -5,9 +5,10 @@
\title{X-axis options}
\usage{
ax_xaxis(ax, type = NULL, categories = NULL, labels = NULL,
axisBorder = NULL, axisTicks = NULL, tickAmount = NULL, min = NULL,
max = NULL, range = NULL, floating = NULL, position = NULL,
title = NULL, crosshairs = NULL, tooltip = NULL, ...)
axisBorder = NULL, axisTicks = NULL, tickAmount = NULL,
min = NULL, max = NULL, range = NULL, floating = NULL,
position = NULL, title = NULL, crosshairs = NULL, tooltip = NULL,
...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -4,9 +4,10 @@
\alias{ax_yaxis}
\title{Y-axis options}
\usage{
ax_yaxis(ax, opposite = NULL, tickAmount = NULL, max = NULL, min = NULL,
floating = NULL, labels = NULL, axisBorder = NULL, axisTicks = NULL,
title = NULL, tooltip = NULL, crosshairs = NULL, ...)
ax_yaxis(ax, opposite = NULL, tickAmount = NULL, max = NULL,
min = NULL, floating = NULL, labels = NULL, axisBorder = NULL,
axisTicks = NULL, title = NULL, tooltip = NULL,
crosshairs = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

@ -4,8 +4,8 @@
\alias{heatmapOpts}
\title{Heatmap options}
\usage{
heatmapOpts(radius = NULL, enableShades = NULL, shadeIntensity = NULL,
colorScale = NULL, ...)
heatmapOpts(radius = NULL, enableShades = NULL,
shadeIntensity = NULL, colorScale = NULL, ...)
}
\arguments{
\item{radius}{Numeric. Radius of the rectangle inside heatmap.}

View File

@ -4,8 +4,8 @@
\alias{pieOpts}
\title{Pie options}
\usage{
pieOpts(size = NULL, donut = NULL, customScale = NULL, offsetX = NULL,
offsetY = NULL, dataLabels = NULL, ...)
pieOpts(size = NULL, donut = NULL, customScale = NULL,
offsetX = NULL, offsetY = NULL, dataLabels = NULL, ...)
}
\arguments{
\item{size}{Numeric. Custom size of the pie which will override the default size calculations.}

View File

@ -4,9 +4,9 @@
\alias{scrollerOpts}
\title{Options for scroller}
\usage{
scrollerOpts(enabled = NULL, height = NULL, track = NULL, thumb = NULL,
scrollButtons = NULL, padding = NULL, offsetX = NULL, offsetY = NULL,
...)
scrollerOpts(enabled = NULL, height = NULL, track = NULL,
thumb = NULL, scrollButtons = NULL, padding = NULL,
offsetX = NULL, offsetY = NULL, ...)
}
\arguments{
\item{enabled}{}