pub struct DashboardLineChart { /* private fields */ }Expand description
Wrapper for LineChart that implements DashboardComponent
Implementations§
Trait Implementations§
Source§impl Clone for DashboardLineChart
impl Clone for DashboardLineChart
Source§fn clone(&self) -> DashboardLineChart
fn clone(&self) -> DashboardLineChart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DashboardComponent for DashboardLineChart
impl DashboardComponent for DashboardLineChart
Source§fn render(
&self,
page: &mut Page,
position: ComponentPosition,
_theme: &DashboardTheme,
) -> Result<(), PdfError>
fn render( &self, page: &mut Page, position: ComponentPosition, _theme: &DashboardTheme, ) -> Result<(), PdfError>
Render the component to a PDF page at the specified position
Source§fn get_span(&self) -> ComponentSpan
fn get_span(&self) -> ComponentSpan
Get the column span for this component (1-12)
Source§fn set_span(&mut self, span: ComponentSpan)
fn set_span(&mut self, span: ComponentSpan)
Set the column span for this component
Source§fn preferred_height(&self, _available_width: f64) -> f64
fn preferred_height(&self, _available_width: f64) -> f64
Get the preferred height for this component in points
Source§fn minimum_width(&self) -> f64
fn minimum_width(&self) -> f64
Get the minimum width required for this component
Source§fn estimated_render_time_ms(&self) -> u32
fn estimated_render_time_ms(&self) -> u32
Estimate rendering time in milliseconds
Source§fn estimated_memory_mb(&self) -> f64
fn estimated_memory_mb(&self) -> f64
Estimate memory usage in MB
Source§fn complexity_score(&self) -> u8
fn complexity_score(&self) -> u8
Get complexity score (0-100)
Source§fn component_type(&self) -> &'static str
fn component_type(&self) -> &'static str
Get component type name for debugging
Auto Trait Implementations§
impl Freeze for DashboardLineChart
impl RefUnwindSafe for DashboardLineChart
impl Send for DashboardLineChart
impl Sync for DashboardLineChart
impl Unpin for DashboardLineChart
impl UnsafeUnpin for DashboardLineChart
impl UnwindSafe for DashboardLineChart
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