Enum google_api_proto::google::monitoring::dashboard::v1::xy_chart::data_set::PlotType
source · #[repr(i32)]pub enum PlotType {
Unspecified = 0,
Line = 1,
StackedArea = 2,
StackedBar = 3,
Heatmap = 4,
}
Expand description
The types of plotting strategies for data sets.
Variants§
Unspecified = 0
Plot type is unspecified. The view will default to LINE
.
Line = 1
The data is plotted as a set of lines (one line per series).
StackedArea = 2
The data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis). Since the areas do not overlap, each is filled with a different opaque color.
StackedBar = 3
The data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). Since the boxes do not overlap, each is filled with a different opaque color.
Heatmap = 4
The data is plotted as a heatmap. The series being plotted must have a
DISTRIBUTION
value type. The value of each bucket in the distribution
is displayed as a color. This type is not currently available in the
Stackdriver Monitoring application.
Implementations§
source§impl PlotType
impl PlotType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for PlotType
impl Ord for PlotType
source§impl PartialEq for PlotType
impl PartialEq for PlotType
source§impl PartialOrd for PlotType
impl PartialOrd for PlotType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for PlotType
impl TryFrom<i32> for PlotType
§type Error = DecodeError
type Error = DecodeError
impl Copy for PlotType
impl Eq for PlotType
impl StructuralPartialEq for PlotType
Auto Trait Implementations§
impl Freeze for PlotType
impl RefUnwindSafe for PlotType
impl Send for PlotType
impl Sync for PlotType
impl Unpin for PlotType
impl UnwindSafe for PlotType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request