pub struct ChartsPanelProps<'__a> {
pub d: &'__a Dashboard,
pub metric: Metric,
pub base: &'__a str,
pub animate: bool,
pub click_bucket: Option<&'__a Signal<String>>,
pub click_project: Option<&'__a Signal<String>>,
}Expand description
Stacked bars over time and the share donut, both clickable.
Fields§
§d: &'__a Dashboard§metric: Metric§base: &'__a str§animate: bool§click_bucket: Option<&'__a Signal<String>>§click_project: Option<&'__a Signal<String>>Implementations§
Source§impl<'__a> ChartsPanelProps<'__a>
impl<'__a> ChartsPanelProps<'__a>
Sourcepub fn builder() -> ChartsPanelPropsBuilder<'__a, d, metric, base, animate, click_bucket, click_project>
pub fn builder() -> ChartsPanelPropsBuilder<'__a, d, metric, base, animate, click_bucket, click_project>
Returns a ChartsPanelPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> Freeze for ChartsPanelProps<'__a>
impl<'__a> RefUnwindSafe for ChartsPanelProps<'__a>
impl<'__a> Send for ChartsPanelProps<'__a>
impl<'__a> Sync for ChartsPanelProps<'__a>
impl<'__a> Unpin for ChartsPanelProps<'__a>
impl<'__a> UnsafeUnpin for ChartsPanelProps<'__a>
impl<'__a> UnwindSafe for ChartsPanelProps<'__a>
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