pub struct EuvChartProps {
pub id: &'static str,
pub config: Vec<(&'static str, &'static str)>,
}Expand description
Props for the euv_chart component.
The container carries the identifier that ties the plot to its colours and the configuration that names every series in it. Each entry of the configuration pairs a series with the colour it is drawn in, and the colour 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 EuvChartProps
impl Clone for EuvChartProps
Source§impl Debug for EuvChartProps
impl Debug for EuvChartProps
Auto Trait Implementations§
impl Forget for EuvChartProps
impl Freeze for EuvChartProps
impl Move for EuvChartProps
impl RefUnwindSafe for EuvChartProps
impl Send for EuvChartProps
impl Sync for EuvChartProps
impl Unpin for EuvChartProps
impl UnsafeUnpin for EuvChartProps
impl UnwindSafe for EuvChartProps
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