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 ByteCompile: true
Imports: Imports:
htmlwidgets htmlwidgets
RoxygenNote: 6.0.1 RoxygenNote: 6.1.0
URL: https://github.com/dreamRs/apexcharter URL: https://github.com/dreamRs/apexcharter
BugReports: https://github.com/dreamRs/apexcharter/issues 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"}, #' @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"}. #' \code{"histogram"}, \code{"pie"}, \code{"donut"}, \code{"radialBar"}, \code{"scatter"}, \code{"bubble"}, \code{"heatmap"}.
#' @param stacked Logical. Enables stacked option for axis charts. #' @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 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 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}. #' @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 scroller List.
#' @param selection 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 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 toolbar List.
#' @param zoom #' @param zoom List.
#' @param width Width of the chart. #' @param width Width of the chart.
#' @param height Height of the chart. #' @param height Height of the chart.
#' @param ... Additional parameters. #' @param ... Additional parameters.

View File

@ -1,5 +1,5 @@
dependencies: dependencies:
- name: apexcharts - name: apexcharts
version: 1.1.2 version: 1.2.0
src: htmlwidgets/lib/apexcharts-1.1.2 src: htmlwidgets/lib/apexcharts-1.2.0
script: apexcharts.min.js 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} \alias{apexcharter}
\title{Create a apexcharts.js widget} \title{Create a apexcharts.js widget}
\usage{ \usage{
apexcharter(ax_opts = list(), data = NULL, width = NULL, height = NULL, apexcharter(ax_opts = list(), data = NULL, width = NULL,
elementId = NULL) height = NULL, elementId = NULL)
} }
\arguments{ \arguments{
\item{ax_opts}{A \code{list} in JSON format with chart parameters} \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, ax_chart(ax, type = NULL, stacked = NULL, stackType = NULL,
animations = NULL, background = NULL, foreColor = NULL, animations = NULL, background = NULL, foreColor = NULL,
dropShadow = NULL, events = NULL, offsetX = NULL, offsetY = NULL, dropShadow = NULL, events = NULL, offsetX = NULL, offsetY = NULL,
scroller = NULL, selection = NULL, sparkline = NULL, toolbar = NULL, scroller = NULL, selection = NULL, sparkline = NULL,
zoom = NULL, width = NULL, height = NULL, ...) toolbar = NULL, zoom = NULL, width = NULL, height = NULL, ...)
} }
\arguments{ \arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.} \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{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{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.} \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{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.} \item{width}{Width of the chart.}

View File

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

View File

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

View File

@ -5,7 +5,8 @@
\title{Chart's subtitle} \title{Chart's subtitle}
\usage{ \usage{
ax_subtitle(ax, text = NULL, align = NULL, margin = NULL, 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{ \arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.} \item{ax}{A \code{apexcharts} \code{htmlwidget} object.}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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