Description Usage Arguments Examples
Build a materialize rating
1 2 3 4 5 6 |
inputId |
String. The input identifier used to access the value. |
value |
Double. A floating point number that represents the current value of the measured range. This must be between the min and the max value (if specified). |
min |
Double Indicates the lower bound of the measured range. This must be less than the max value (if specified). If unspecified, the minimum value is 0. |
max |
Double. Indicates the upper bound of the measured range. This must be greater than the min value (if specified). If unspecified, the maximum value is 1.0. |
high |
Double. It represents the lower bound of the high end of the measured range. This must be less than the max attribute, but greater than the low and min value (if specified). If unspecified, or if greater than the max value, the high value is equal to the max value. |
low |
Double. It represents the upper bound of the low end of the measured range. This must be greater than the min attribute, but less than the high and max value (if specified). If unspecified, or if less than the minimum value, the low value is equal to the min value. |
optimum |
Double. This attribute indicates the optimum value and must be within the range of min and max values. When used with the low and high attribute, it indicates the preferred zone for a given range. |
width |
String. The width of the meter. Could be any css length. |
height |
String. Could be any css length |
... |
tagList. Aditional arguments |
session |
Shiny default reactive domain. |
1 2 3 4 5 6 7 | require(materializer)
material_meter(
inputId = "examplemeter",
value = 0.5,
min = 0,
max = 1
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.