pub struct ScatterPlot { /* private fields */ }Expand description
ScatterPlot visualization component
Implementations§
Source§impl ScatterPlot
impl ScatterPlot
Sourcepub fn new(data: Vec<ScatterPoint>) -> Self
pub fn new(data: Vec<ScatterPoint>) -> Self
Create a new scatter plot
Trait Implementations§
Source§impl Clone for ScatterPlot
impl Clone for ScatterPlot
Source§fn clone(&self) -> ScatterPlot
fn clone(&self) -> ScatterPlot
Returns a duplicate of the value. Read more
1.0.0 · 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 ScatterPlot
impl DashboardComponent for ScatterPlot
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 component_type(&self) -> &'static str
fn component_type(&self) -> &'static str
Get component type name for debugging
Source§fn complexity_score(&self) -> u8
fn complexity_score(&self) -> u8
Get complexity score (0-100)
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
Auto Trait Implementations§
impl Freeze for ScatterPlot
impl RefUnwindSafe for ScatterPlot
impl Send for ScatterPlot
impl Sync for ScatterPlot
impl Unpin for ScatterPlot
impl UnwindSafe for ScatterPlot
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