MCPcopy Create free account

hub / github.com/donkeyteethUX/iced_plot / functions

Functions611 in github.com/donkeyteethUX/iced_plot

↓ 1 callersMethodset_cursor_overlay
Enable or disable the small cursor-position overlay shown in the lower-left corner of the plot. Disabled by default.
src/plot_widget.rs:794
↓ 1 callersMethodset_cursor_provider
Provide a custom formatter for the cursor overlay. Called with (x, y) world coordinates and should return the formatted string.
src/plot_widget.rs:800
↓ 1 callersMethodset_data_aspect
Set the data aspect ratio (y units per x unit). Use 1.0 for square pixels.
src/plot_widget.rs:183
↓ 1 callersMethodset_double_click
(&mut self, button: mouse::Button, action: ClickAction, enabled: bool)
examples/controls_toggles.rs:124
↓ 1 callersMethodset_id_map
(&mut self, map: Vec<(u32, u32)>)
src/picking.rs:527
↓ 1 callersMethodset_pick_highlight_provider
Set a custom highlighter for picked point.
src/plot_widget.rs:783
↓ 1 callersMethodset_render_strategy
Set the rendering strategy used by the plot.
src/plot_widget.rs:810
↓ 1 callersMethodset_render_strategy
(&mut self, strategy: PlotRenderStrategy)
examples/auto_backend.rs:123
↓ 1 callersMethodset_scale_factor
(&mut self, scale: f32)
src/plot_renderer/shader.rs:439
↓ 1 callersMethodset_series_point_colors
Set per-point colors for an existing series.
src/plot_widget.rs:892
↓ 1 callersMethodset_style
Set a style function for the plot widget.
src/plot_widget.rs:193
↓ 1 callersMethodset_view
(&mut self, w: u32, h: u32, scale: f32)
src/picking.rs:521
↓ 1 callersMethodset_x_axis_formatter
Set a custom formatter for the x-axis tick labels. The formatter receives a GridMark (containing the tick value and step size) and the current visible
src/plot_widget.rs:857
↓ 1 callersMethodset_x_axis_label
Set the x-axis label.
src/plot_widget.rs:268
↓ 1 callersMethodset_x_axis_link
Link the x-axis to other plots. When the x-axis is panned or zoomed, all plots sharing this link will update synchronously.
src/plot_widget.rs:309
↓ 1 callersMethodset_x_axis_scale
Set the x-axis scale mode. This does not modify tick producer/formatter settings.
src/plot_widget.rs:287
↓ 1 callersMethodset_x_lim
Set the x-axis limits (min, max) for the plot. If set, these will override autoscaling for the x-axis.
src/plot_widget.rs:280
↓ 1 callersMethodset_x_tick_producer
Set a custom tick producer for generating tick positions along both axes.
src/plot_widget.rs:869
↓ 1 callersMethodset_y_axis_formatter
Set a custom formatter for the y-axis tick labels. The formatter receives a GridMark (containing the tick value and step size) and the current visible
src/plot_widget.rs:864
↓ 1 callersMethodset_y_axis_label
Set the y-axis label.
src/plot_widget.rs:273
↓ 1 callersMethodset_y_axis_link
Link the y-axis to other plots. When the y-axis is panned or zoomed, all plots sharing this link will update synchronously.
src/plot_widget.rs:315
↓ 1 callersMethodset_y_axis_scale
Set the y-axis scale mode. This does not modify tick producer/formatter settings.
src/plot_widget.rs:302
↓ 1 callersMethodset_y_lim
Set the y-axis limits (min, max) for the plot. If set, these will override autoscaling for the y-axis.
src/plot_widget.rs:295
↓ 1 callersMethodset_y_tick_producer
Set a custom tick producer for generating tick positions along the y-axis.
src/plot_widget.rs:874
↓ 1 callersFunctionstack_with_labels
Stack the element with the labels on the bottom and left.
src/axes_labels.rs:7
↓ 1 callersFunctionsubmit_request
(instance_id: u64, req: GpuPickRequest)
src/picking.rs:282
↓ 1 callersMethodsync
(&mut self, device: &Device, queue: &Queue, state: &PlotState)
src/plot_renderer/shader.rs:503
↓ 1 callersFunctiontake_latest_request
(instance_id: u64)
src/picking.rs:296
↓ 1 callersFunctiontake_result
(instance_id: u64)
src/picking.rs:291
↓ 1 callersFunctiontarget_attachment
(target: &TextureView)
src/plot_renderer/shader.rs:70
↓ 1 callersMethodtoggle_visibility
(&mut self, id: &ShapeId)
src/plot_widget.rs:1149
↓ 1 callersMethodtop_shapes
(&self)
examples/plot_overlays.rs:86
↓ 1 callersMethodunbind_click
Remove a mouse click binding.
src/controls.rs:194
↓ 1 callersMethodunbind_double_click
Remove a mouse double-click binding.
src/controls.rs:215
↓ 1 callersMethodupdate
(&mut self, message: Message)
examples/auto_backend.rs:53
↓ 1 callersFunctionupdate_cursor_overlay_on_move
( widget: &PlotWidget, state: &PlotState, effects: &mut UpdateEffects, )
src/plot_widget.rs:1333
↓ 1 callersMethodupdate_frame
(&mut self)
examples/bad_apple.rs:116
↓ 1 callersFunctionupdate_plot
(widget: &mut PlotWidget, message: PlotUiMessage)
examples/auto_backend.rs:147
↓ 1 callersMethodupdate_series
Update a data series by its id.
src/plot_widget.rs:223
↓ 1 callersMethodupdate_ticks
( &mut self, x_tick_producer: Option<&TickProducer>, y_tick_producer: Option<&TickProd
src/plot_state.rs:386
↓ 1 callersFunctionupdate_ticks_and_build_payload
( widget: &PlotWidget, state: &mut PlotState, effects: &mut UpdateEffects, first_time_widget_v
src/plot_widget.rs:1420
↓ 1 callersMethodupdate_tooltip_positions
Update tooltip positions for all hovered and picked points This should be called when the plot canvas position changes
src/plot_widget.rs:397
↓ 1 callersMethodvalidate
(&self)
src/series.rs:499
↓ 1 callersMethodview_plot_area
( &'a self, shapes_bottom: impl Iterator<Item = Element<'a, Message>>, shapes_top: imp
src/plot_widget.rs:714
↓ 1 callersMethodview_tick_labels
(&self)
src/plot_widget.rs:1087
↓ 1 callersMethodview_tooltip_overlay
( &'a self, payload: &'a Option<TooltipUiPayload>, camera_bounds: &Option<(Camera, Rec
src/plot_widget.rs:978
↓ 1 callersMethodview_top_right_overlay
(&self, has_legend: bool)
src/plot_widget.rs:1040
↓ 1 callersMethodview_with_shapes
View the plot widget with external Iced elements anchored to plot coordinates.
src/plot_widget.rs:642
↓ 1 callersFunctionwidget_has_any_tooltips
(widget: &PlotWidget)
src/plot_widget.rs:1258
↓ 1 callersFunctionwidget_needs_camera_bounds
(widget: &PlotWidget)
src/plot_widget.rs:1266
↓ 1 callersMethodwith_anchor_offset
Set a pixel offset applied after anchor projection. Positive x moves the overlay right; positive y moves it up.
src/plot_overlay.rs:50
↓ 1 callersMethodwith_autoscale_on_updates
Enable or disable autoscaling of the plot when new data is added.
src/plot_widget_builder.rs:94
↓ 1 callersMethodwith_line_type
Set the line type while preserving the current width.
src/series.rs:92
↓ 1 callersMethodwith_render_strategy
Select which rendering path the plot should use.
src/plot_widget_builder.rs:156
↓ 1 callersMethodwith_world_width
Set the line width in world units.
src/series.rs:86
↓ 1 callersMethodwith_x_scale
Set the x-axis scale mode. Hint: For log-style ticks, consider also setting the tick producer and formatter to use [`crate::log_tick_producer`] and [
src/plot_widget_builder.rs:196
↓ 1 callersMethodwith_x_tick_labels
Set whether tick labels for the x axis will be shown.
src/plot_widget_builder.rs:268
↓ 1 callersMethodwith_y_scale
Set the y-axis scale mode. Hint: For log-style ticks, consider also setting the tick producer and formatter to use [`crate::log_tick_producer`] and [
src/plot_widget_builder.rs:212
↓ 1 callersMethodwith_y_tick_labels
Set whether tick labels for the y axis will be shown.
src/plot_widget_builder.rs:274
↓ 1 callersMethodwithout_grid
Disable background grid lines and ticks on both axes.
src/plot_widget_builder.rs:337
↓ 1 callersMethodworld_per_pixel
(&self, camera: &crate::camera::Camera)
src/plot_renderer/shader.rs:405
↓ 1 callersMethodworld_to_ndc
(&self, world: [f64; 2], camera: &crate::camera::Camera)
src/plot_renderer/shader.rs:379
↓ 1 callersMethodwrite_line_vertex
(&mut self, vertex: LineVertex<'_>)
src/plot_renderer/shader.rs:244
↓ 1 callersMethodzoom_at_cursor
(&mut self, scroll_y: f32, viewport: DVec2)
src/plot_state.rs:875
Methodaffine
Convert a data value with `value * scale + translate` before axis scaling.
src/transform.rs:141
Functionaffine_transform_normalizes_axis_position
()
src/transform.rs:357
Methodalign_to_anchor_horizontal
Set the overlay's horizontal position relative to its anchor.
src/plot_overlay.rs:90
Methodalign_to_anchor_vertical
Set the overlay's vertical position relative to its anchor.
src/plot_overlay.rs:96
Functionannotation_style
(theme: &Theme)
examples/plot_overlays.rs:214
Functionarrow_keys_do_not_pan_when_disabled
()
src/plot_state.rs:1444
Functionarrow_keys_use_configured_pan_fraction_when_enabled_and_hovered
()
src/plot_state.rs:1408
Methodarrows_to_pan_enabled
Return whether all arrow keys are currently bound to pan actions.
src/controls.rs:372
Functionavailable_cursor_uses_absolute_bounds_for_drag_start
()
src/plot_state.rs:1650
Methodaxes
Interpret values as normalized positions inside the plot area. `0.0` is the low edge of the axis and `1.0` is the high edge. A point using `PositionT
src/transform.rs:133
Functionaxes_transform_maps_normalized_value_into_axis_range
()
src/transform.rs:386
Functionaxes_transform_series_maps_to_camera_range_and_skips_autoscale_bounds
()
src/plot_state.rs:1390
Functionaxis_scale_is_applied_after_data_transform
()
src/transform.rs:366
Methodcircle
(size: f32)
src/series.rs:186
Methodcircles
Create a new series with circle markers.
src/series.rs:367
Methodclear_hover
Clear all hover points from the plot.
src/plot_widget.rs:495
Functionclick_action_label
(action: ClickAction)
src/controls.rs:486
Methodclick_enabled
(&self, button: mouse::Button, action: ClickAction)
examples/controls_toggles.rs:120
Functioncomposite_transform_inverts_in_reverse_order
()
src/transform.rs:375
Functionconfigured_key_autoscales_when_hovered
()
src/plot_state.rs:1882
Functionconfigured_mouse_button_starts_and_stops_drag_pan
()
src/plot_state.rs:1471
Functioncontrol
( label: &'a str, options: &'a [T], selected: T, on_selected: impl Fn(T) -> Message + 'a, )
examples/themes_and_styles.rs:94
Methodcontrols_help_enabled
Return whether the in-canvas controls/help UI is enabled.
src/plot_widget.rs:850
Methodcoordinate_system
Return the transform's source coordinate system.
src/transform.rs:165
Functioncpu_pick_skips_unpickable_series
()
src/picking.rs:798
Methoddashed
Create a dashed line style with the given dash length in logical pixels.
src/series.rs:66
Methoddefault
()
src/plot_state.rs:84
Methoddefault
()
src/camera.rs:37
Methoddefault
()
src/controls.rs:104
Methoddefault
()
src/grid.rs:201
Methoddefault
()
src/picking.rs:347
Methoddefault
()
src/plot_widget.rs:114
Methoddefault
()
src/series.rs:38
Functiondefault_formatter
A default formatter that displays values with reasonable precision.
src/ticks.rs:46
Methoddefault_hover_highlight_provider
Default hover highlight provider that shows the tooltip text with series label, x and y coordinates of the point.
src/plot_widget_builder.rs:344
Functiondefault_tick_producer
A default tick producer that generates tick positions with appropriate spacing.
src/ticks.rs:73
← previousnext →301–400 of 611, ranked by callers