gaugechart | R Documentation |
Creates a gauge chart of an integer or a numeric value.
gaugechart(
gauge_value,
max_value,
type,
mode,
title,
title_size,
axis_tick_width,
border_width,
threshold_width,
threshold_thickness,
font_family,
primary_color,
secondary_color,
tertiary_color,
quaternary_color,
quinary_color,
senary_color
)
gauge_value |
An integer or a numeric value |
max_value |
An integer or a numeric value |
type |
The type of the gauge chart |
mode |
The mode of the gauge chart |
title |
The title of the gauge chart |
title_size |
The size of the title of the gauge chart |
axis_tick_width |
The tick width of the axis of the gauge chart |
border_width |
The border width of the gauge chart |
threshold_width |
The threshold width |
threshold_thickness |
The thickness of the threshold |
font_family |
The font family of the text in the gauge chart |
primary_color |
The primary color |
secondary_color |
The secondary color |
tertiary_color |
The tertiary color |
quaternary_color |
The quaternary color |
quinary_color |
The quinary color |
senary_color |
The senary color |
This function creates a gauge chart based on an integer or a numeric value.
A gauge chart
Ruben Vanhecke
at import ggplot2 at import plotly
## Not run:
gaugechart(25, 100,
"indicator", "gauge+number",
"Visitors inside",
24, 1, 2, 4, 0.75,
"Arial",
"#004D9A", "#002142", "#0069D2",
"#0180FF", "#4FA7FF",
"#A7D3FF")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.