pub struct EuvChartContainerProps {
pub id: &'static str,
pub config: Vec<(&'static str, &'static str)>,
}Expand description
Props for the euv_chart_container component.
The container is the box the plot is drawn in. It carries the identifier that ties the plot to its colours and the configuration that names every series in it, and the colour of each series is written into a custom property the plot reads.
The plot itself is passed as children.
Fields§
§id: &'static strThe identifier that ties the plot to its colours.
config: Vec<(&'static str, &'static str)>The colour of every series in the chart.
Each entry pairs the name of a series with the colour it is
drawn in. The colour is a CSS value, so a theme token such as
var(--primary) follows the theme.
Trait Implementations§
Source§impl Clone for EuvChartContainerProps
impl Clone for EuvChartContainerProps
Source§impl Debug for EuvChartContainerProps
impl Debug for EuvChartContainerProps
Auto Trait Implementations§
impl Forget for EuvChartContainerProps
impl Freeze for EuvChartContainerProps
impl Move for EuvChartContainerProps
impl RefUnwindSafe for EuvChartContainerProps
impl Send for EuvChartContainerProps
impl Sync for EuvChartContainerProps
impl Unpin for EuvChartContainerProps
impl UnsafeUnpin for EuvChartContainerProps
impl UnwindSafe for EuvChartContainerProps
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