pub struct RadarConfig {
pub labels: Vec<String>,
pub max: Option<f64>,
pub rings: u8,
pub fill_opacity: f32,
}Expand description
Layout of radar charts. One series draws one closed polygon; several series overlay.
Fields§
§labels: Vec<String>Names around the ring; indexed by each point’s x. Numbers are used when empty.
max: Option<f64>Fixed maximum; automatic when None.
rings: u8Grid rings.
fill_opacity: f32Fill opacity of each series, 0–1.
Implementations§
Source§impl RadarConfig
impl RadarConfig
Sourcepub fn new(labels: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn new(labels: impl IntoIterator<Item = impl Into<String>>) -> Self
A radar with labels around the ring.
Trait Implementations§
Source§impl Clone for RadarConfig
impl Clone for RadarConfig
Source§impl Debug for RadarConfig
impl Debug for RadarConfig
Source§impl Default for RadarConfig
impl Default for RadarConfig
Source§impl<'de> Deserialize<'de> for RadarConfig
Available on crate feature serde only.
impl<'de> Deserialize<'de> for RadarConfig
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RadarConfig
impl PartialEq for RadarConfig
Source§impl Serialize for RadarConfig
Available on crate feature serde only.
impl Serialize for RadarConfig
Available on crate feature
serde only.impl StructuralPartialEq for RadarConfig
Auto Trait Implementations§
impl Forget for RadarConfig
impl Freeze for RadarConfig
impl Move for RadarConfig
impl RefUnwindSafe for RadarConfig
impl Send for RadarConfigwhere
RawVecInner: Send,
impl Sync for RadarConfigwhere
RawVecInner: Sync,
impl Unpin for RadarConfig
impl UnsafeUnpin for RadarConfig
impl UnwindSafe for RadarConfigwhere
RawVecInner: UnwindSafe,
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more