MCPcopy Create free account

hub / github.com/donkeyteethUX/iced_plot / functions

Functions611 in github.com/donkeyteethUX/iced_plot

↓ 259 callersFunctionnew
()
examples/fills.rs:23
↓ 61 callersMethodmap
Map the overlay's message type into another message type.
src/plot_overlay.rs:102
↓ 57 callersMethodwith_color
Set fill color, including opacity.
src/fill.rs:43
↓ 54 callersMethodwith_label
Set a label for this fill (shown in legend when non-empty).
src/fill.rs:34
↓ 44 callersMethodis_empty
(&self)
src/plot_renderer/shader.rs:262
↓ 42 callersMethodget
Get the current position and half extent
src/axis_link.rs:27
↓ 41 callersMethodadd_series
Add a data series to the plot. If there exists a series with the same `item.id` ([ShapeId]), the old one will be replaced.
src/plot_widget.rs:175
↓ 25 callersFunctionwith_alpha
(color: Color, alpha: f32)
examples/themes_and_styles.rs:391
↓ 20 callersMethodbuild
Build the PlotWidget; validates series and duplicate labels via PlotWidget::add_series.
src/plot_widget_builder.rs:365
↓ 16 callersMethodnearest_point_horizontal
Find the nearest point to a given x-coordinate in the plot.
src/plot_widget.rs:449
↓ 15 callersMethodhandle_mouse_event
( &mut self, event: Event, cursor: mouse::Cursor, widget: &PlotWidget,
src/plot_state.rs:494
↓ 15 callersMethodsize
(&self)
src/plot_overlay.rs:176
↓ 14 callersFunctiondata_value_to_plot_with_axis_range
( value: f64, axis_scale: AxisScale, transform: Option<&Transform>, axis_range: Option<[f64; 2
src/transform.rs:285
↓ 14 callersMethodwrite_f32
(&mut self, value: f32)
src/plot_renderer/shader.rs:224
↓ 13 callersMethodwith_x_label
Set the x-axis label for the plot.
src/plot_widget_builder.rs:76
↓ 12 callersMethodget_controls_mut
Get the mutable full interaction controls behavior for the plot.
src/plot_widget.rs:830
↓ 12 callersMethodwith_cursor_overlay
Enable or disable the small cursor position overlay shown in the lower-left corner of the plot. By default it's disabled when not set.
src/plot_widget_builder.rs:134
↓ 12 callersMethodwith_y_label
Set the y-axis label for the plot.
src/plot_widget_builder.rs:85
↓ 12 callersFunctionworld_to_canvas_point
(world: [f64; 2], camera: &Camera, bounds: &Rectangle)
src/plot_renderer/canvas.rs:578
↓ 11 callersMethoddraw
(&'a self, pass: &mut RenderPass<'a>, camera_bind_group: &'a BindGroup)
src/grid.rs:186
↓ 11 callersMethodwith_width
Set the line width in either logical pixels or world units.
src/series.rs:74
↓ 10 callersMethodbind_key
Bind a key trigger to an action.
src/controls.rs:230
↓ 10 callersMethoddata_to_plot
Transform raw data value into plot-space value.
src/axis_scale.rs:19
↓ 10 callersMethodpoint_position
Get the position of a point in the plot.
src/plot_widget.rs:422
↓ 10 callersFunctionstyled_panel
( style: iced::widget::container::Style, background: Color, border_color: Color, radius: f32,
examples/themes_and_styles.rs:359
↓ 10 callersMethodthen
(self, next: TransformOperation)
src/transform.rs:39
↓ 10 callersMethodwith_hover_highlight_provider
Provide a custom highlighter for hovered point. If not provided, a default hover highlight provider will be used that shows the tooltip text with ser
src/plot_widget_builder.rs:124
↓ 10 callersMethodwith_pixel_width
Set the line width in logical pixels.
src/series.rs:80
↓ 9 callersMethodall
(&mut self)
src/plot_widget.rs:1243
↓ 9 callersFunctiondata_point_to_plot_with_transform
( point: [f64; 2], x_scale: AxisScale, y_scale: AxisScale, transform: &PositionTransform,
src/transform.rs:314
↓ 9 callersMethodupdate
(&mut self, message: Message)
examples/backends.rs:39
↓ 9 callersMethodview
(&self)
examples/backends.rs:46
↓ 9 callersMethodwith_crosshairs
Enable or disable crosshairs that follow the cursor position.
src/plot_widget_builder.rs:150
↓ 8 callersMethodadd_hover_point
Add a hover point to the plot.
src/plot_widget.rs:485
↓ 8 callersMethodadd_pick_point
Add a pick point to the plot.
src/plot_widget.rs:490
↓ 8 callersMethodresize_marker
Resize the marker of the highlight point. For both pixel-based and world-based markers, the size will be multiplied by the factor.
src/plot_widget.rs:1926
↓ 8 callersMethodwith_pick_highlight_provider
Provide a custom highlighter for pick point.
src/plot_widget_builder.rs:112
↓ 8 callersMethodwith_style
Set the line style.
src/reference_lines.rs:76
↓ 8 callersMethodworld_to_render_pos
Helper to convert world position to render position (subtract offset)
src/plot_renderer/shader.rs:398
↓ 7 callersMethodadd_hline
Add a horizontal reference line to the plot. If there exists a line with the same `hline.id` ([ShapeId]), the old one will be replaced.
src/plot_widget.rs:262
↓ 7 callersMethodaxis_ranges
(&self)
src/camera.rs:123
↓ 7 callersMethodeffective_position
Get the effective camera position relative to the render offset
src/camera.rs:105
↓ 7 callersMethodoverlay_layer
(&mut self)
src/plot_widget.rs:1239
↓ 7 callersMethodtransform_value
(&self, value: f64)
src/transform.rs:47
↓ 6 callersMethodas_slice
(&self)
src/plot_renderer/shader.rs:266
↓ 6 callersMethodclear_pick
Clear all pick points from the plot.
src/plot_widget.rs:502
↓ 6 callersMethodhandle_keyboard_event
( &mut self, event: &keyboard::Event, widget: &PlotWidget, cursor: mouse::Curs
src/plot_state.rs:751
↓ 6 callersFunctionpush_quad_as_triangles
( vertices: &mut Vec<[f64; 2]>, a0: [f64; 2], b0: [f64; 2], a1: [f64; 2], b1: [f64; 2], )
src/plot_state.rs:1061
↓ 6 callersMethodupdate_axis_links
(&mut self)
src/plot_state.rs:790
↓ 6 callersMethodupdate_style
Update and return the current plot style for a given application theme.
src/plot_widget.rs:320
↓ 6 callersMethoduses_axes_coordinates
(&self)
src/transform.rs:223
↓ 6 callersMethodwrite_u32
(&mut self, value: u32)
src/plot_renderer/shader.rs:228
↓ 5 callersMethodadd_fill
Add a filled region between two shapes.
src/plot_widget.rs:245
↓ 5 callersMethodadd_vline
Add a vertical reference line to the plot. If there exists a line with the same `vline.id` ([ShapeId]), the old one will be replaced.
src/plot_widget.rs:239
↓ 5 callersMethodchildren
(&self)
src/plot_overlay.rs:168
↓ 5 callersFunctionclear_hover_effect
(widget: &PlotWidget, state: &mut PlotState, effects: &mut UpdateEffects)
src/plot_widget.rs:1270
↓ 5 callersMethodget_controls
Get the full interaction controls behavior for the plot.
src/plot_widget.rs:825
↓ 5 callersMethodget_hover_pick_event
Get the hover or pick event from the render update. If the plot widget is not in hover or pick mode, this will return None.
src/message.rs:24
↓ 5 callersFunctionmsaa_state
()
src/plot_renderer/shader.rs:22
↓ 5 callersFunctionrestyled_border
( style: iced::widget::container::Style, color: Color, radius: f32, width: f32, )
examples/themes_and_styles.rs:370
↓ 5 callersFunctionsample
(count: usize, mut f: impl FnMut(f64) -> [f64; 2])
examples/transform.rs:30
↓ 5 callersMethodset_drag_action
Set the mouse button used for a drag action. Passing `None` disables the drag action.
src/controls.rs:283
↓ 5 callersMethodtheme
(&self)
examples/themes_and_styles.rs:89
↓ 5 callersMethodto_px
(self, camera: &Camera, bounds: &Rectangle)
src/series.rs:145
↓ 5 callersMethodwith_axes_transform
Interpret all positions as normalized plot coordinates. `(0.0, 0.0)` is the lower-left of the plot area and `(1.0, 1.0)` is the upper-right.
src/series.rs:444
↓ 5 callersMethodwith_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_builder.rs:187
↓ 5 callersMethodwith_x_tick_formatter
Set a custom formatter for the x-axis tick labels.
src/plot_widget_builder.rs:232
↓ 5 callersMethodwith_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_builder.rs:203
↓ 5 callersMethodwrite_position
(&mut self, pos: [f32; 2])
src/plot_renderer/shader.rs:232
↓ 4 callersMethodautoscale
(&mut self, update_axis_links: bool)
src/plot_state.rs:350
↓ 4 callersMethodavailable_cursor_local_position_inside
(&self, cursor: mouse::Cursor)
src/plot_state.rs:473
↓ 4 callersMethodbind_drag
Bind a mouse drag trigger to an action.
src/controls.rs:134
↓ 4 callersMethodbind_scroll
Bind a scroll trigger to an action.
src/controls.rs:155
↓ 4 callersMethodcached_style
(&self)
src/plot_widget.rs:508
↓ 4 callersMethodlog
Convert a data value with `log_base(value)` before axis scaling.
src/transform.rs:149
↓ 4 callersMethodplot_to_data
Transform plot-space value into raw data value.
src/axis_scale.rs:24
↓ 4 callersFunctionregistry
()
src/picking.rs:278
↓ 4 callersMethodscreen_to_render
Convert screen coordinates to render coordinates (without offset)
src/camera.rs:128
↓ 4 callersMethodscreen_to_world
Convert screen coordinates to world coordinates
src/camera.rs:93
↓ 4 callersMethodseries_ids
Get an iterator over the series ids in the plot.
src/plot_widget.rs:418
↓ 4 callersMethodto_raw
(self)
src/series.rs:125
↓ 4 callersFunctiontransformed_series_points
( series: &crate::Series, x_axis_scale: AxisScale, y_axis_scale: AxisScale, axis_ranges: ([f64
src/plot_state.rs:980
↓ 4 callersMethodversion
Get the current version
src/axis_link.rs:41
↓ 4 callersMethodwith_controls
Set the full interaction controls behavior for the plot.
src/plot_widget_builder.rs:180
↓ 4 callersMethodwith_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_builder.rs:141
↓ 4 callersMethodwrite_color
(&mut self, color: &iced::Color)
src/plot_renderer/shader.rs:237
↓ 4 callersFunctionwrite_polyline_triangles
( writer: &mut VertexWriter, segs: &mut Vec<LineSegment>, polyline: PolylineRef<'_>, style: Li
src/plot_renderer/shader.rs:1755
↓ 4 callersFunctiony_at_x_in_segment
(points: &[[f64; 2]], seg_idx: usize, x: f64)
src/plot_state.rs:1037
↓ 3 callersMethodalign_to_anchor
Set the overlay position relative to its anchor. For example, `(Horizontal::Center, Vertical::Top)` places the overlay above the anchor with its hori
src/plot_overlay.rs:83
↓ 3 callersFunctionarrow_key_event
(named: keyboard::key::Named, code: keyboard::key::Code)
src/plot_state.rs:1915
↓ 3 callersMethodavailable_cursor_is_inside
(&self, cursor: mouse::Cursor)
src/plot_state.rs:479
↓ 3 callersFunctioncpu_pick_hit
( points: &[Point], series: &[SeriesSpan], camera: &Camera, bounds: &Rectangle, cursor: Ve
src/picking.rs:183
↓ 3 callersMethodcursor_local_position
(&self, cursor: mouse::Cursor, allow_levitating: bool)
src/plot_state.rs:460
↓ 3 callersMethodcursor_world_data
(&self, viewport: DVec2)
src/plot_state.rs:907
↓ 3 callersFunctiondefault_style
Returns the default plot style derived from the current application theme.
src/style.rs:53
↓ 3 callersMethoddouble_click_action
Return the action bound to a mouse double-click trigger.
src/controls.rs:220
↓ 3 callersMethoddrag_action
Return the action bound to a mouse drag trigger.
src/controls.rs:145
↓ 3 callersFunctiondraw_styled_line_segment
( frame: &mut Frame, p0: iced::Point, p1: iced::Point, line_type: LineType, width: f32,
src/plot_renderer/canvas.rs:463
↓ 3 callersFunctiongrid_style
(major: Color, minor: Color, sub_minor: Color)
examples/themes_and_styles.rs:383
↓ 3 callersFunctionhighlight_mask_color
(color: Color)
src/plot_renderer/mod.rs:59
next →1–100 of 611, ranked by callers