Marc Kupietz | cd7acbd | 2020-12-10 14:02:52 +0100 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/highcharter-themes.R |
| 3 | \name{hc_theme_ids_dark} |
| 4 | \alias{hc_theme_ids_dark} |
| 5 | \title{Dark IDS theme for \link[highcharter]{highcharter}} |
| 6 | \usage{ |
| 7 | hc_theme_ids_dark( |
| 8 | fontFamily = "Fira Sans Condensed", |
| 9 | fontSize = "medium", |
Marc Kupietz | 5214481 | 2020-12-14 23:41:56 +0100 | [diff] [blame] | 10 | textColor = textColorDark, |
| 11 | lowContrastColor = lowContrastColorDark, |
| 12 | highContrastColor = highContrastColorDark, |
| 13 | palette = idsPalette, |
Marc Kupietz | cd7acbd | 2020-12-10 14:02:52 +0100 | [diff] [blame] | 14 | backgroundColor = list(linearGradient = list(x1 = 0, y1 = 1, x2 = 1, y2 = 0), stops = |
| 15 | list(list(0, "#2a2a2b"), list(1, "#3e3e3e"))), |
| 16 | titleColor = textColor, |
| 17 | subtitleColor = titleColor, |
| 18 | gridLineColor = lowContrastColor, |
| 19 | axisLabelColor = textColor, |
| 20 | axisLineColor = lowContrastColor, |
| 21 | minorGridLineColor = "#505053", |
| 22 | tickColor = lowContrastColor, |
| 23 | axisTitleColor = axisLabelColor, |
| 24 | tooltipBackgroundColor = "rgba(0, 0, 0, 0.85)", |
| 25 | tooltipColor = textColor, |
| 26 | dataLabelColor = textColor, |
| 27 | boxplotFillColor = "#505053", |
| 28 | candlestickColor = highContrastColor, |
| 29 | errorbarColor = candlestickColor, |
| 30 | legendColor = textColor, |
| 31 | legendHoverColor = highContrastColor, |
| 32 | legendHiddenColor = lowContrastColor, |
| 33 | creditsColor = lowContrastColor, |
| 34 | burgerMenuBackground = backgroundColor, |
| 35 | ... |
| 36 | ) |
| 37 | } |
| 38 | \arguments{ |
| 39 | \item{fontFamily}{font family} |
| 40 | |
| 41 | \item{fontSize}{default font size} |
| 42 | |
| 43 | \item{textColor}{default text color} |
| 44 | |
| 45 | \item{lowContrastColor}{color with low contrast to background} |
| 46 | |
| 47 | \item{highContrastColor}{color with high contrast to background} |
| 48 | |
| 49 | \item{palette}{array of colors to be used for different series} |
| 50 | |
| 51 | \item{backgroundColor}{background color} |
| 52 | |
| 53 | \item{titleColor}{color of the title text} |
| 54 | |
| 55 | \item{subtitleColor}{color of the subtitle text} |
| 56 | |
| 57 | \item{gridLineColor}{color of grid lines} |
| 58 | |
| 59 | \item{axisLabelColor}{color of the axis labels} |
| 60 | |
| 61 | \item{axisLineColor}{color of the axis lines} |
| 62 | |
| 63 | \item{minorGridLineColor}{color of minor grid lines} |
| 64 | |
| 65 | \item{tickColor}{color of axis ticks} |
| 66 | |
| 67 | \item{axisTitleColor}{color of axis titles} |
| 68 | |
| 69 | \item{tooltipBackgroundColor}{background color for tool tips} |
| 70 | |
| 71 | \item{tooltipColor}{foreground color for tool tips} |
| 72 | |
| 73 | \item{dataLabelColor}{color of data point labels} |
| 74 | |
| 75 | \item{boxplotFillColor}{color for box plot fills} |
| 76 | |
| 77 | \item{candlestickColor}{color the candle stick part of error bars} |
| 78 | |
| 79 | \item{errorbarColor}{error bar color} |
| 80 | |
| 81 | \item{legendColor}{series legend label color} |
| 82 | |
| 83 | \item{legendHoverColor}{mouse over series legend label color} |
| 84 | |
| 85 | \item{legendHiddenColor}{hidden series legend label color} |
| 86 | |
| 87 | \item{creditsColor}{color of the credits} |
| 88 | |
| 89 | \item{burgerMenuBackground}{burger menu background color} |
| 90 | |
| 91 | \item{...}{named arguments to modify the theme} |
| 92 | } |
| 93 | \description{ |
| 94 | Dark IDS theme for \link[highcharter]{highcharter} |
| 95 | } |
| 96 | \examples{ |
| 97 | library(tidyverse) |
| 98 | library(highcharter) |
| 99 | highcharts_demo() \%>\% |
| 100 | hc_add_theme(hc_theme_ids_dark()) |
| 101 | } |