2021-12-10 17:17:40 +01:00
<!DOCTYPE html>
2023-05-05 10:08:10 +02:00
<!-- Generated by pkgdown: do not edit by hand --> < html lang = "en" > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" > < meta charset = "utf-8" > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" > < meta name = "description" content = "X-axis options" > < title > X-axis options — ax_xaxis • apexcharter< / title > < script src = "../deps/jquery-3.6.0/jquery-3.6.0.min.js" > < / script > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" > < link href = "../deps/bootstrap-5.2.2/bootstrap.min.css" rel = "stylesheet" > < script src = "../deps/bootstrap-5.2.2/bootstrap.bundle.min.js" > < / script > < link href = "../deps/Poppins-0.4.6/font.css" rel = "stylesheet" > <!-- Font Awesome icons --> < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity = "sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin = "anonymous" > < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity = "sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin = "anonymous" > <!-- bootstrap - toc --> < script src = "https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity = "sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin = "anonymous" > < / script > <!-- headroom.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity = "sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity = "sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin = "anonymous" > < / script > <!-- clipboard.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity = "sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin = "anonymous" > < / script > <!-- search --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity = "sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity = "sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity = "sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin = "anonymous" > < / script > <!-- pkgdown --> < script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "X-axis options — ax_xaxis" > < meta property = "og:description" content = "X-axis options" > <!-- mathjax --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity = "sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity = "sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin = "anonymous" > < / script > <!-- [if lt IE 9]>
2021-12-10 17:17:40 +01:00
< script src = "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
2023-06-12 10:00:18 +02:00
<![endif]--> <!-- dependencies from examples --> < script src = "libs/htmlwidgets-1.6.2/htmlwidgets.js" > < / script > < script src = "libs/apexcharter-binding-0.4.0.9300/apexcharter.js" > < / script > < / head > < body >
2021-12-10 17:17:40 +01:00
< a href = "#main" class = "visually-hidden-focusable" > Skip to contents< / a >
< nav class = "navbar fixed-top navbar-dark navbar-expand-lg bg-primary" > < div class = "container" >
< a class = "navbar-brand me-2" href = "../index.html" > apexcharter< / a >
2023-06-12 10:00:18 +02:00
< small class = "nav-text text-muted me-auto" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "" > 0.4.0.9300< / small >
2021-12-10 17:17:40 +01:00
< button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbar" aria-controls = "navbar" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
2022-02-27 17:23:59 +01:00
< div id = "navbar" class = "collapse navbar-collapse ms-3" >
2021-12-10 17:17:40 +01:00
< ul class = "navbar-nav me-auto" > < li class = "nav-item" >
< a class = "nav-link" href = "../articles/apexcharter.html" > Get started< / a >
< / li >
< li class = "active nav-item" >
< a class = "nav-link" href = "../reference/index.html" > Reference< / a >
< / li >
< li class = "nav-item dropdown" >
< a href = "#" class = "nav-link dropdown-toggle" data-bs-toggle = "dropdown" role = "button" aria-expanded = "false" aria-haspopup = "true" id = "dropdown-articles" > Articles< / a >
< div class = "dropdown-menu" aria-labelledby = "dropdown-articles" >
< a class = "dropdown-item" href = "../articles/extra/advanced-configuration.html" > Advanced configuration examples< / a >
< a class = "dropdown-item" href = "../articles/extra/chart-options.html" > Customize chart options< / a >
< a class = "dropdown-item" href = "../articles/extra/facets.html" > Create grid of charts< / a >
< a class = "dropdown-item" href = "../articles/extra/shiny-integration.html" > Use in Shiny application< / a >
< a class = "dropdown-item" href = "../articles/extra/spark-box.html" > Create boxes with sparklines< / a >
< a class = "dropdown-item" href = "../articles/extra/sync-charts.html" > Synchronize charts with each other< / a >
< / div >
< / li >
< li class = "nav-item" >
< a class = "nav-link" href = "../news/index.html" > Changelog< / a >
< / li >
< / ul > < form class = "form-inline my-2 my-lg-0" role = "search" >
< input type = "search" class = "form-control me-sm-2" aria-label = "Toggle navigation" name = "search-input" data-search-index = "../search.json" id = "search-input" placeholder = "Search for" autocomplete = "off" > < / form >
< ul class = "navbar-nav" > < li class = "nav-item" >
< a class = "external-link nav-link" href = "https://github.com/dreamRs/apexcharter/" aria-label = "github" >
< span class = "fab fa fab fa-github fa-lg" > < / span >
< / a >
< / li >
< / ul > < / div >
< / div >
< / nav > < div class = "container template-reference-topic" >
< div class = "row" >
< main id = "main" class = "col-md-9" > < div class = "page-header" >
< img src = "" class = "logo" alt = "" > < h1 > X-axis options< / h1 >
< small class = "dont-index" > Source: < a href = "https://github.com/dreamRs/apexcharter/blob/HEAD/R/apex-utils.R" class = "external-link" > < code > R/apex-utils.R< / code > < / a > < / small >
< div class = "d-none name" > < code > ax_xaxis.Rd< / code > < / div >
< / div >
< div class = "ref-description section level2" >
< p > X-axis options< / p >
< / div >
< div class = "section level2" >
< h2 id = "ref-usage" > Usage< a class = "anchor" aria-label = "anchor" href = "#ref-usage" > < / a > < / h2 >
2022-12-01 14:31:31 +01:00
< div class = "sourceCode" > < pre class = "sourceCode r" > < code > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > < / span >
< span > < span class = "va" > ax< / span > ,< / span >
< span > type < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > categories < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > labels < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > axisBorder < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > axisTicks < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > tickAmount < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > min < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > max < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > range < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > floating < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > position < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > title < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > crosshairs < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > tooltip < span class = "op" > =< / span > < span class = "cn" > NULL< / span > ,< / span >
< span > < span class = "va" > ...< / span > < / span >
< span > < span class = "op" > )< / span > < / span > < / code > < / pre > < / div >
2021-12-10 17:17:40 +01:00
< / div >
< div class = "section level2" >
< h2 id = "arguments" > Arguments< a class = "anchor" aria-label = "anchor" href = "#arguments" > < / a > < / h2 >
< dl > < dt > ax< / dt >
< dd > < p > An < code > < a href = "apexchart.html" > apexchart()< / a > < / code > < code > htmlwidget< / code > object.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > type< / dt >
< dd > < p > Character. Available Options : < code > "categories"< / code > and < code > "datetime"< / code > .< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > categories< / dt >
< dd > < p > Categories are labels which are displayed on the x-axis.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > labels< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > axisBorder< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > axisTicks< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > tickAmount< / dt >
< dd > < p > Number of Tick Intervals to show.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > min< / dt >
< dd > < p > Lowest number to be set for the x-axis. The graph drawing beyond this number will be clipped off.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > max< / dt >
< dd > < p > Highest number to be set for the x-axis. The graph drawing beyond this number will be clipped off.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > range< / dt >
< dd > < p > Range takes the max value of x-axis, subtracts the provided range value and gets the min value based on that.
So, technically it helps to keep the same range when min and max values gets updated dynamically.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > floating< / dt >
< dd > < p > Logical. Floating takes x-axis is taken out of normal flow and places x-axis on svg element directly,
similar to an absolutely positioned element. Set the offsetX and offsetY then to adjust the position manually< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > position< / dt >
< dd > < p > Setting this option allows you to change the x-axis position. Available options: < code > "top"< / code > and < code > "bottom"< / code > .< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > title< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > crosshairs< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > tooltip< / dt >
< dd > < p > A list of parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< dt > ...< / dt >
< dd > < p > Additional parameters.< / p > < / dd >
2022-12-01 14:31:31 +01:00
2021-12-10 17:17:40 +01:00
< / dl > < / div >
< div class = "section level2" >
< h2 id = "value" > Value< a class = "anchor" aria-label = "anchor" href = "#value" > < / a > < / h2 >
2022-12-01 14:31:31 +01:00
< p > An < code > < a href = "apexchart.html" > apexchart()< / a > < / code > < / p >
< p > < / p >
< p > < code > htmlwidget< / code > object.< / p >
2021-12-10 17:17:40 +01:00
< / div >
< div class = "section level2" >
< h2 id = "note" > Note< a class = "anchor" aria-label = "anchor" href = "#note" > < / a > < / h2 >
< p > See < a href = "https://apexcharts.com/docs/options/xaxis/" class = "external-link" > https://apexcharts.com/docs/options/xaxis/< / a > < / p >
< / div >
< div class = "section level2" >
< h2 id = "ref-examples" > Examples< a class = "anchor" aria-label = "anchor" href = "#ref-examples" > < / a > < / h2 >
2022-12-01 14:31:31 +01:00
< div class = "sourceCode" > < pre class = "sourceCode r" > < code > < span class = "r-in" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/data.html" class = "external-link" > data< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "mpg"< / span > , package < span class = "op" > =< / span > < span class = "st" > "ggplot2"< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < / span > < / span >
< span class = "r-in" > < span > < span class = "co" > # X axis title< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "apex.html" > apex< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > data < span class = "op" > =< / span > < span class = "va" > mpg< / span > ,< / span > < / span >
< span class = "r-in" > < span > mapping < span class = "op" > =< / span > < span class = "fu" > < a href = "apexcharter-exports.html" > aes< / a > < / span > < span class = "op" > (< / span > x < span class = "op" > =< / span > < span class = "va" > manufacturer< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < span class = "op" > < a href = "apexcharter-exports.html" > %> %< / a > < / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > title < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > text < span class = "op" > =< / span > < span class = "st" > "Car's manufacturer"< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span > < / span >
2023-06-12 10:00:18 +02:00
< div id = "htmlwidget-179823059d7913053d9a" style = "width:700px;height:432.632880098888px;" class = "apexcharter html-widget " > < / div >
< script type = "application/json" data-for = "htmlwidget-179823059d7913053d9a" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : [ ] , "type" : "bar" , "data" : [ { "x" : "audi" , "y" : 18 } , { "x" : "chevrolet" , "y" : 19 } , { "x" : "dodge" , "y" : 37 } , { "x" : "ford" , "y" : 25 } , { "x" : "honda" , "y" : 9 } , { "x" : "hyundai" , "y" : 14 } , { "x" : "jeep" , "y" : 8 } , { "x" : "land rover" , "y" : 4 } , { "x" : "lincoln" , "y" : 3 } , { "x" : "mercury" , "y" : 4 } , { "x" : "nissan" , "y" : 13 } , { "x" : "pontiac" , "y" : 5 } , { "x" : "subaru" , "y" : 14 } , { "x" : "toyota" , "y" : 34 } , { "x" : "volkswagen" , "y" : 27 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } , "tooltip" : { "shared" : true , "intersect" : false , "followCursor" : true } , "grid" : { "yaxis" : { "lines" : { "show" : true } } , "xaxis" : { "lines" : { "show" : false } } } , "yaxis" : { "labels" : { "style" : { "colors" : "#848484" } } } , "xaxis" : { "labels" : { "style" : { "colors" : "#848484" } } , "title" : { "text" : "Car's manufacturer" } } } , "auto_update" : { "series_animate" : true , "update_options" : false , "options_animate" : true , "options_redrawPaths" : true , "update_synced_charts" : false } , "sparkbox" : false , "xaxis" : { "min" : "audi" , "max" : "volkswagen" } , "type" : "column" } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < span class = "r-in" > < span > < / span > < / span >
2022-12-01 14:31:31 +01:00
< span class = "r-in" > < span > < span class = "co" > # force labels to rotate and increase height< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "apex.html" > apex< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > data < span class = "op" > =< / span > < span class = "va" > mpg< / span > ,< / span > < / span >
< span class = "r-in" > < span > mapping < span class = "op" > =< / span > < span class = "fu" > < a href = "apexcharter-exports.html" > aes< / a > < / span > < span class = "op" > (< / span > x < span class = "op" > =< / span > < span class = "va" > manufacturer< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < span class = "op" > < a href = "apexcharter-exports.html" > %> %< / a > < / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > labels < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > rotateAlways < span class = "op" > =< / span > < span class = "cn" > TRUE< / span > , maxHeight < span class = "op" > =< / span > < span class = "fl" > 180< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span > < / span >
2023-06-12 10:00:18 +02:00
< div id = "htmlwidget-ad258cf658617430590f" style = "width:700px;height:432.632880098888px;" class = "apexcharter html-widget " > < / div >
< script type = "application/json" data-for = "htmlwidget-ad258cf658617430590f" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : [ ] , "type" : "bar" , "data" : [ { "x" : "audi" , "y" : 18 } , { "x" : "chevrolet" , "y" : 19 } , { "x" : "dodge" , "y" : 37 } , { "x" : "ford" , "y" : 25 } , { "x" : "honda" , "y" : 9 } , { "x" : "hyundai" , "y" : 14 } , { "x" : "jeep" , "y" : 8 } , { "x" : "land rover" , "y" : 4 } , { "x" : "lincoln" , "y" : 3 } , { "x" : "mercury" , "y" : 4 } , { "x" : "nissan" , "y" : 13 } , { "x" : "pontiac" , "y" : 5 } , { "x" : "subaru" , "y" : 14 } , { "x" : "toyota" , "y" : 34 } , { "x" : "volkswagen" , "y" : 27 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } , "tooltip" : { "shared" : true , "intersect" : false , "followCursor" : true } , "grid" : { "yaxis" : { "lines" : { "show" : true } } , "xaxis" : { "lines" : { "show" : false } } } , "yaxis" : { "labels" : { "style" : { "colors" : "#848484" } } } , "xaxis" : { "labels" : { "style" : { "colors" : "#848484" } , "rotateAlways" : true , "maxHeight" : 180 } } } , "auto_update" : { "series_animate" : true , "update_options" : false , "options_animate" : true , "options_redrawPaths" : true , "update_synced_charts" : false } , "sparkbox" : false , "xaxis" : { "min" : "audi" , "max" : "volkswagen" } , "type" : "column" } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < span class = "r-in" > < span > < / span > < / span >
2022-12-01 14:31:31 +01:00
< span class = "r-in" > < span > < span class = "co" > # force to not rotate< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "apex.html" > apex< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > data < span class = "op" > =< / span > < span class = "va" > mpg< / span > ,< / span > < / span >
< span class = "r-in" > < span > mapping < span class = "op" > =< / span > < span class = "fu" > < a href = "apexcharter-exports.html" > aes< / a > < / span > < span class = "op" > (< / span > x < span class = "op" > =< / span > < span class = "va" > manufacturer< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < span class = "op" > < a href = "apexcharter-exports.html" > %> %< / a > < / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > labels < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > rotate < span class = "op" > =< / span > < span class = "fl" > 0< / span > , trim < span class = "op" > =< / span > < span class = "cn" > FALSE< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span > < / span >
2023-06-12 10:00:18 +02:00
< div id = "htmlwidget-03916b349162f4a03fbd" style = "width:700px;height:432.632880098888px;" class = "apexcharter html-widget " > < / div >
< script type = "application/json" data-for = "htmlwidget-03916b349162f4a03fbd" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : [ ] , "type" : "bar" , "data" : [ { "x" : "audi" , "y" : 18 } , { "x" : "chevrolet" , "y" : 19 } , { "x" : "dodge" , "y" : 37 } , { "x" : "ford" , "y" : 25 } , { "x" : "honda" , "y" : 9 } , { "x" : "hyundai" , "y" : 14 } , { "x" : "jeep" , "y" : 8 } , { "x" : "land rover" , "y" : 4 } , { "x" : "lincoln" , "y" : 3 } , { "x" : "mercury" , "y" : 4 } , { "x" : "nissan" , "y" : 13 } , { "x" : "pontiac" , "y" : 5 } , { "x" : "subaru" , "y" : 14 } , { "x" : "toyota" , "y" : 34 } , { "x" : "volkswagen" , "y" : 27 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } , "tooltip" : { "shared" : true , "intersect" : false , "followCursor" : true } , "grid" : { "yaxis" : { "lines" : { "show" : true } } , "xaxis" : { "lines" : { "show" : false } } } , "yaxis" : { "labels" : { "style" : { "colors" : "#848484" } } } , "xaxis" : { "labels" : { "style" : { "colors" : "#848484" } , "rotate" : 0 , "trim" : false } } } , "auto_update" : { "series_animate" : true , "update_options" : false , "options_animate" : true , "options_redrawPaths" : true , "update_synced_charts" : false } , "sparkbox" : false , "xaxis" : { "min" : "audi" , "max" : "volkswagen" } , "type" : "column" } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < span class = "r-in" > < span > < / span > < / span >
2022-12-01 14:31:31 +01:00
< span class = "r-in" > < span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/data.html" class = "external-link" > data< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "economics"< / span > , package < span class = "op" > =< / span > < span class = "st" > "ggplot2"< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < / span > < / span >
< span class = "r-in" > < span > < span class = "co" > # Custom crosshair< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "apex.html" > apex< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > data < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/head.html" class = "external-link" > tail< / a > < / span > < span class = "op" > (< / span > < span class = "va" > economics< / span > , < span class = "fl" > 50< / span > < span class = "op" > )< / span > ,< / span > < / span >
< span class = "r-in" > < span > mapping < span class = "op" > =< / span > < span class = "fu" > < a href = "apexcharter-exports.html" > aes< / a > < / span > < span class = "op" > (< / span > x < span class = "op" > =< / span > < span class = "va" > date< / span > , y < span class = "op" > =< / span > < span class = "va" > psavert< / span > < span class = "op" > )< / span > ,< / span > < / span >
< span class = "r-in" > < span > type < span class = "op" > =< / span > < span class = "st" > "line"< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < span class = "op" > < a href = "apexcharter-exports.html" > %> %< / a > < / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > crosshairs < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > opacity < span class = "op" > =< / span > < span class = "fl" > 1< / span > ,< / span > < / span >
< span class = "r-in" > < span > width < span class = "op" > =< / span > < span class = "fl" > 2< / span > ,< / span > < / span >
< span class = "r-in" > < span > fill < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > color < span class = "op" > =< / span > < span class = "st" > "red"< / span > < span class = "op" > )< / span > ,< / span > < / span >
< span class = "r-in" > < span > stroke < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > width < span class = "op" > =< / span > < span class = "fl" > 0< / span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < / span > < / span >
2023-06-12 10:00:18 +02:00
< div id = "htmlwidget-ca98ae57a38cbb40cd0f" style = "width:700px;height:432.632880098888px;" class = "apexcharter html-widget " > < / div >
< script type = "application/json" data-for = "htmlwidget-ca98ae57a38cbb40cd0f" > { "x" : { "ax_opts" : { "chart" : { "type" : "line" } , "series" : [ { "name" : "psavert" , "type" : "line" , "data" : [ [ 1298937600000 , 7 ] , [ 1301616000000 , 6.9 ] , [ 1304208000000 , 6.9 ] , [ 1306886400000 , 7.2 ] , [ 1309478400000 , 7.3 ] , [ 1312156800000 , 7.2 ] , [ 1314835200000 , 6.8 ] , [ 1317427200000 , 6.8 ] , [ 1320105600000 , 7 ] , [ 1322697600000 , 7.8 ] , [ 1325376000000 , 8 ] , [ 1328054400000 , 8 ] , [ 1330560000000 , 8.5 ] , [ 1333238400000 , 8.699999999999999 ] , [ 1335830400000 , 8.800000000000001 ] , [ 1338508800000 , 9.1 ] , [ 1341100800000 , 8.199999999999999 ] , [ 1343779200000 , 8 ] , [ 1346457600000 , 8.199999999999999 ] , [ 1349049600000 , 8.800000000000001 ] , [ 1351728000000 , 9.699999999999999 ] , [ 1354320000000 , 12 ] , [ 1356998400000 , 6.3 ] , [ 1359676800000 , 5.8 ] , [ 1362096000000 , 5.9 ] , [ 1364774400000 , 6.4 ] , [ 1367366400000 , 6.7 ] , [ 1370044800000 , 6.8 ] , [ 1372636800000 , 6.6 ] , [ 1375315200000 , 6.7 ] , [ 1377993600000 , 6.8 ] , [ 1380585600000 , 6.3 ] , [ 1383264000000 , 6.2 ] , [ 1385856000000 , 6.4 ] , [ 1388534400000 , 7.1 ] , [ 1391212800000 , 7.3 ] , [ 1393632000000 , 7.4 ] , [ 1396310400000 , 7.4 ] , [ 1398902400000 , 7.4 ] , [ 1401580800000 , 7.4 ] , [ 1404172800000 , 7.5 ] , [ 1406851200000 , 7.2 ] , [ 1409529600000 , 7.4 ] , [ 1412121600000 , 7.2 ] , [ 1414800000000 , 7.3 ] , [ 1417392000000 , 7.6 ] , [ 1420070400000 , 7.7 ] , [ 1422748800000 , 7.9 ] , [ 1425168000000 , 7.4 ] , [ 1427846400000 , 7.6 ] ] } ] , "dataLabels" : { "enabled" : false } , "stroke" : { "curve" : "straight" , "width" : 2 } , "yaxis" : { "decimalsInFloat" : 2 , "labels" : { "style" : { "colors" : "#848484" } } } , "xaxis" : { "type" : "datetime" , "labels" : { "style" : { "colors" : "#848484" } } , "crosshairs" : { "opacity" : 1 , "width" : 2 , "fill" : { "color" : "red" } , "stroke" : { "width" : 0 } } } } , "auto_update" : { "series_animate" : true , "update_options" : false , "options_animate" : true , "options_redrawPaths" : true , "update_synced_charts" : false } , "sparkbox" : false , "xaxis" : { "min" : "2011-03-01" , "max" : "2015-04-01" } , "type" : "line" } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < span class = "r-in" > < span > < / span > < / span >
2022-12-01 14:31:31 +01:00
< span class = "r-in" > < span > < / span > < / span >
< span class = "r-in" > < span > < span class = "co" > # Date format (zoom to see changes)< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > < a href = "apex.html" > apex< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > data < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/head.html" class = "external-link" > tail< / a > < / span > < span class = "op" > (< / span > < span class = "va" > economics< / span > , < span class = "fl" > 150< / span > < span class = "op" > )< / span > ,< / span > < / span >
< span class = "r-in" > < span > mapping < span class = "op" > =< / span > < span class = "fu" > < a href = "apexcharter-exports.html" > aes< / a > < / span > < span class = "op" > (< / span > x < span class = "op" > =< / span > < span class = "va" > date< / span > , y < span class = "op" > =< / span > < span class = "va" > psavert< / span > < span class = "op" > )< / span > ,< / span > < / span >
< span class = "r-in" > < span > type < span class = "op" > =< / span > < span class = "st" > "line"< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < span class = "op" > < a href = "apexcharter-exports.html" > %> %< / a > < / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "fu" > ax_xaxis< / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > labels < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > datetimeFormatter < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/list.html" class = "external-link" > list< / a > < / span > < span class = "op" > (< / span > < / span > < / span >
< span class = "r-in" > < span > year < span class = "op" > =< / span > < span class = "st" > "yyyy-MM"< / span > ,< / span > < / span >
< span class = "r-in" > < span > month < span class = "op" > =< / span > < span class = "st" > "yyyy-MM-dd"< / span > ,< / span > < / span >
< span class = "r-in" > < span > day < span class = "op" > =< / span > < span class = "st" > "yyyy-MM-dd HH:mm"< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < / span > < / span >
< span class = "r-in" > < span > < span class = "op" > )< / span > < / span > < / span >
2023-06-12 10:00:18 +02:00
< div id = "htmlwidget-b25746a28ffd1a0183eb" style = "width:700px;height:432.632880098888px;" class = "apexcharter html-widget " > < / div >
< script type = "application/json" data-for = "htmlwidget-b25746a28ffd1a0183eb" > { "x" : { "ax_opts" : { "chart" : { "type" : "line" } , "series" : [ { "name" : "psavert" , "type" : "line" , "data" : [ [ 1036108800000 , 5.7 ] , [ 1038700800000 , 5.5 ] , [ 1041379200000 , 5.5 ] , [ 1044057600000 , 5.6 ] , [ 1046476800000 , 5.3 ] , [ 1049155200000 , 5.3 ] , [ 1051747200000 , 5.8 ] , [ 1054425600000 , 5.6 ] , [ 1057017600000 , 6.3 ] , [ 1059696000000 , 6 ] , [ 1062374400000 , 5.2 ] , [ 1064966400000 , 5.3 ] , [ 1067644800000 , 5.4 ] , [ 1070236800000 , 5.4 ] , [ 1072915200000 , 5 ] , [ 1075593600000 , 5 ] , [ 1078099200000 , 4.9 ] , [ 1080777600000 , 5.3 ] , [ 1083369600000 , 5.3 ] , [ 1086048000000 , 5.8 ] , [ 1088640000000 , 5.3 ] , [ 1091318400000 , 5.2 ] , [ 1093996800000 , 4.6 ] , [ 1096588800000 , 4.5 ] , [ 1099267200000 , 4.1 ] , [ 1101859200000 , 6.9 ] , [ 1104537600000 , 3.7 ] , [ 1107216000000 , 3.4 ] , [ 1109635200000 , 3.6 ] , [ 1112313600000 , 3.1 ] , [ 1114905600000 , 3.5 ] , [ 1117584000000 , 2.9 ] , [ 1120176000000 , 2.2 ] , [ 1122854400000 , 2.7 ] , [ 1125532800000 , 2.7 ] , [ 1128124800000 , 3.1 ] , [ 1130803200000 , 3.5 ] , [ 1133395200000 , 3.7 ] , [ 1136073600000 , 4.2 ] , [ 1138752000000 , 4.2 ] , [ 1141171200000 , 4.2 ] , [ 1143849600000 , 4 ] , [ 1146441600000 , 3.8 ] , [ 1149120000000 , 4 ] , [ 1151712000000 , 3.4 ] , [ 1154390400000 , 3.6 ] , [ 1157068800000 , 3.6 ] , [ 1159660800000 , 3.6 ] , [ 1162339200000 , 3.9 ] , [ 1164931200000 , 3.7 ] , [ 1167609600000 , 3.7 ] , [ 1170288000000 , 4.1 ] , [ 1172707200000 , 4.4 ] , [ 1175385600000 , 4.2 ] , [ 1177977600000 , 4 ] , [ 1180656000000 , 3.8 ] , [ 1183248000000 , 3.7 ] , [ 1185926400000 , 3.4 ] , [ 1188604800000 , 3.5 ] , [ 1191196800000 , 3.4 ] , [ 1193875200000 , 3.1 ] , [ 1196467200000 , 3.6 ] , [ 1199145600000 , 3.7 ] , [ 1201824000000 , 4.1 ] , [ 1204329600000 , 4 ] , [ 1207008000000 , 3.4 ] , [ 1209600000000 , 7.8 ] , [ 1212278400000 , 5.5 ] , [ 1214870400000 , 4.4 ] , [ 1217548800000 , 3.8 ] , [ 1220227200000 , 4.7 ] , [ 1222819200000 , 5.5 ] , [ 1225497600000 , 6.4 ] , [ 1228089600000 , 6.4 ] , [ 1230768000000 , 6.2 ] , [ 1233446400000 , 5.5 ] , [ 1235865600000 , 5.9 ] , [ 1238544000000 , 6.8 ] , [ 1241136000000 , 8.199999999999999 ] , [ 1243814400000 , 6.7 ] , [ 1246406400000 , 6 ] , [ 1249084800000 , 4.9 ] , [ 1251763200000 , 5.9 ] , [ 1254355200000 , 5.4 ] , [ 1257033600000 , 5.9 ] , [ 1259625600000 , 5.9 ] , [ 1262304000000 , 6.1 ] , [ 1264982400000 , 5.8 ] , [ 1267401600000 , 5.7 ] , [ 1270080000000 , 6.4 ] , [ 1272672000000 , 7 ] , [ 1275350400000 , 6.9 ] , [ 1277942400000 , 6.8 ] , [ 1280620800000 , 6.9 ] , [ 1283299200000 , 6.7 ] , [ 1285891200000 , 6.6 ] , [ 1288569600000 , 6.6 ] , [ 1291161600000 , 7.1 ] , [ 1293840000000 , 7.4 ] , [ 1296518400000 , 7.6 ] , [ 1298937600000 , 7 ] , [ 1301616000000 , 6.9 ] , [ 1304208000000 , 6.9 ] , [ 1306886400000 , 7.2 ] , [ 1309478400000 , 7.3 ] , [ 1312156800000 , 7.2 ] , [ 1314835200000 , 6.8 ] , [ 1317427200000 , 6.8 ] , [ 1320105600000 , 7 ] , [ 1322697600000 , 7.8 ] , [ 1325376000000 , 8 ] , [ 1328054400000 , 8 ] , [ 1330560000000 , 8.5 ] , [ 1333238400000 , 8.699999999999999 ] , [ 1335830400000 , 8.800000000000001 ] , [ 1338508800000 , 9.1 ] , [ 1341100800000 , 8.199999999999999 ] , [ 1343779200000 , 8 ] , [ 1346457600000 , 8.199999999999999 ] , [ 1349049600000 , 8.800000000000001 ] , [ 1351728000000 , 9.699999999999999 ] , [ 1354320000000 , 12 ] , [ 1356998400000 , 6.3 ] , [ 1359676800000 , 5.8 ] , [ 1362096000000 , 5.9 ] , [ 1364774400000 , 6.4 ] , [ 1367366400000 , 6.7 ] , [ 1370044800000 , 6.8 ] , [ 1372636800000 , 6.6 ] , [ 1375315200000 , 6.7 ] , [ 1377993600000 , 6.8 ] , [ 1380585600000 , 6.3 ] , [ 1383264000000 , 6.2 ] , [ 1385856000000 , 6.4 ] , [ 1388534400000 , 7.1 ] , [ 1391212800000 , 7.3 ] , [ 1393632000000 , 7.4 ] , [ 1396310400000 , 7.4 ] , [ 1398902400000 , 7.4 ] , [ 1401580800000 , 7.4 ] , [ 1404172800000 , 7.5 ] , [ 1406851200000 , 7.2 ] , [ 1409529600000 , 7.4 ] , [ 1412121600000 , 7.2 ] , [ 1414800000000 , 7.3 ] , [ 1417392000000 , 7.6 ] , [ 1420070400000 , 7.7 ] , [ 1422748800000 , 7.9 ] , [ 1425168000000 , 7.4 ] , [ 1427846400000 , 7.6 ] ] } ] , "dataLabels" : { "enabled" : false } , "stroke" : { "curve" : "straight" , "width" : 2 } , "yaxis" : { "decimalsInFloat" : 2 , "labels" : { "style" : { "colors" : "#848484" } } } , "xaxis" : { "type" : "datetime" , "labels" : { "style" : { "colors" : "#848484" } , "datetimeFormatter" : { "year" : "yyyy-MM" , "month" : "yyyy-MM-dd" , "day" : "yyyy-MM-dd HH:mm" } } } } , "auto_update" : { "series_animate" : true , "update_options" : false , "options_animate" : true , "options_redrawPaths" : true , "update_synced_charts" : false } , "sparkbox" : false , "xaxis" : { "min" : "2002-11-01" , "max" : "2015-04-01" } , "type" : "line" } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < / code > < / pre > < / div >
2021-12-10 17:17:40 +01:00
< / div >
< / main > < aside class = "col-md-3" > < nav id = "toc" > < h2 > On this page< / h2 >
< / nav > < / aside > < / div >
< footer > < div class = "pkgdown-footer-left" >
< p > < / p > < p > Developed by < a href = "https://twitter.com/_pvictorr" class = "external-link" > < img src = "https://pbs.twimg.com/profile_images/844237339404722177/E1U61aM8_normal.jpg" > Victor Perrier< / a > , < a href = "https://twitter.com/_mfaan" class = "external-link" > < img src = "https://pbs.twimg.com/profile_images/912313931326218240/o1-wvA18_normal.jpg" > Fanny Meyer< / a > .< / p >
< / div >
< div class = "pkgdown-footer-right" >
2023-01-08 18:49:46 +01:00
< p > < / p > < p > Site built with < a href = "https://pkgdown.r-lib.org/" class = "external-link" > pkgdown< / a > 2.0.7.< / p >
2021-12-10 17:17:40 +01:00
< / div >
< / footer > < / div >
< / body > < / html >