MCPcopy Create free account

hub / github.com/angular-rust/ux-charts / functions

Functions180 in github.com/angular-rust/ux-charts

↓ 12 callersMethodget_color
(&self, index: usize)
src/basechart.rs:132
↓ 9 callersMethodget_highlight_color
(&self, color: Color)
src/basechart.rs:138
↓ 8 callersFunctionpolar2cartesian
(center: &Point<f64>, radius: f64, angle: f64)
src/utils.rs:33
↓ 6 callersMethodchange_color_alpha
Creates a new color by combining the R, G, B components of [color] with [alpha] from 0 to 1. TODO: There are question about set the alpha or change fr
src/basechart.rs:122
↓ 5 callersMethodanimation_end
Called when the animation ends.
src/basechart.rs:143
↓ 5 callersMethodcalculate_percent
(&self, time: Option<i64>)
src/basechart.rs:575
↓ 5 callersMethoddispose
Disposes of resources used by this chart. The chart will become unusable until [draw] is called again. Be sure to call this method when the chart is
src/basechart.rs:565
↓ 5 callersMethoddraw_title
Draws the chart title using the main rendering context.
src/basechart.rs:239
↓ 5 callersMethodxlabel_x
Returns the x coordinate of the x-axis label at [index].
src/line.rs:163
↓ 4 callersFunctioncalculate_max_text_width
( ctx: &C, style: &StyleOption, texts: &[String], )
src/utils.rs:146
↓ 4 callersMethodxlabel_x
Returns the x coordinate of the x-axis label at [index].
src/bar.rs:133
↓ 3 callersMethodas_point
(&self)
src/line.rs:49
↓ 3 callersFunctioncalculate_interval
Calculates a nice axis interval given - the axis range [range] - the desired number of steps [targetSteps] - and the minimum interval [min_interval]
src/utils.rs:128
↓ 3 callersFunctiondeg2rad
Converts [angle] in degrees to radians.
src/utils.rs:24
↓ 3 callersFunctionfind_max_value
Returns the maximum value in a [DataTable].
src/utils.rs:72
↓ 3 callersMethodis_empty
(&self)
src/pie.rs:43
↓ 3 callersMethodis_interactive
Whether the chart is interactive. This property returns `false` if the chart is animating or there are no channel to draw.
src/basechart.rs:554
↓ 3 callersMethodsave
(&self)
src/bar.rs:62
↓ 3 callersMethodsave
(&self)
src/line.rs:96
↓ 3 callersMethodupdate_legend_content
(&self)
src/basechart.rs:318
↓ 3 callersMethodvalue2radius
(&self, value: Option<D>)
src/radar.rs:113
↓ 2 callersMethodanimation
(&self)
src/options.rs:204
↓ 2 callersMethodcalculate_bounding_boxes
(&self)
src/radar.rs:123
↓ 2 callersMethodcount_visible_channel
Counts the number of visible channel up to (but not including) the [end]th channel.
src/bar.rs:198
↓ 2 callersMethodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/pie.rs:420
↓ 2 callersMethodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/bar.rs:962
↓ 2 callersMethodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/radar.rs:623
↓ 2 callersMethodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/line.rs:1167
↓ 2 callersMethodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/gauge.rs:411
↓ 2 callersMethodcurve_to
( &self, ctx: &C, cp1: Option<Point<f64>>, cp2: Option<Point<f64>>, p:
src/line.rs:303
↓ 2 callersFunctiondefault_value_formatter
(value: f64)
src/lib.rs:77
↓ 2 callersMethoddraw
(&self, ctx: &C, percent: f64, highlight: bool)
src/radar.rs:40
↓ 2 callersMethoddraw
(&self, ctx: &C, percent: f64, highlight: bool)
src/line.rs:73
↓ 2 callersFunctionfind_min_value
Returns the minimum value in a [DataTable].
src/utils.rs:98
↓ 2 callersMethodget_angle
(&self, entity_index: usize)
src/radar.rs:108
↓ 2 callersMethodget_bar_left
(&self, channel_index: usize, bar_index: usize)
src/bar.rs:188
↓ 2 callersMethodget_gauge_center
(&self, index: usize)
src/gauge.rs:200
↓ 2 callersMethodget_legend_labels
(&self)
src/basechart.rs:354
↓ 2 callersMethodis_animating
Whether the chart is animating.
src/basechart.rs:546
↓ 2 callersFunctionis_in_range
Tests if [value] is in range [min]..[max], inclusively.
src/utils.rs:29
↓ 2 callersMethodlegend
(&self)
src/options.rs:216
↓ 2 callersMethodtitle
(&self)
src/options.rs:212
↓ 2 callersMethodupdate_channel
(&self, _: usize)
src/pie.rs:379
↓ 2 callersMethodupdate_channel_visible
(&self, index: usize, removed_count: usize, added_count: usize)
src/basechart.rs:227
↓ 2 callersMethodvalue_to_angle
(&self, value: Option<D>)
src/gauge.rs:205
↓ 2 callersMethodvalue_to_bar_height
(&self, value: Option<D>)
src/bar.rs:215
↓ 2 callersMethodvalue_to_y
Returns the y-coordinate corresponding to the data point [value] and the animation percent [percent].
src/line.rs:170
↓ 1 callersMethodbackground
(&self)
src/options.rs:224
↓ 1 callersMethodcalculate_average_y_values
Calculates average y values for the visible channel to help position the tooltip If [index] is given, calculates the average y value for the entity g
src/bar.rs:230
↓ 1 callersMethodcalculate_average_y_values
Calculates average y values for the visible channel to help position the tooltip. If [index] is given, calculates the average y value for the entity
src/line.rs:214
↓ 1 callersFunctioncalculate_control_points
Calculates the controls for [p2] given the previous point [p1], the next point [p3], and the curve tension [t]; Returns a list that contains two cont
src/utils.rs:177
↓ 1 callersMethodcalculate_drawing_sizes
(&self, ctx: &C)
src/pie.rs:220
↓ 1 callersMethodcalculate_drawing_sizes
TODO: Separate y-axis stuff into a separate method.
src/bar.rs:305
↓ 1 callersMethodcalculate_drawing_sizes
(&self, ctx: &C)
src/radar.rs:252
↓ 1 callersMethodcalculate_drawing_sizes
TODO: Separate y-axis stuff into a separate method.
src/line.rs:346
↓ 1 callersMethodcalculate_drawing_sizes
(&self, ctx: &C)
src/gauge.rs:245
↓ 1 callersMethodcolors
(&self)
src/options.rs:208
↓ 1 callersMethodcreate_channels
(&self, start: usize, end: usize)
src/pie.rs:475
↓ 1 callersMethodcreate_channels
(&self, start: usize, end: usize)
src/bar.rs:1013
↓ 1 callersMethodcreate_channels
(&self, start: usize, end: usize)
src/radar.rs:652
↓ 1 callersMethodcreate_channels
(&self, start: usize, end: usize)
src/line.rs:1207
↓ 1 callersMethodcreate_channels
(&self, start: usize, end: usize)
src/gauge.rs:449
↓ 1 callersMethodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/pie.rs:496
↓ 1 callersMethodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/bar.rs:1033
↓ 1 callersMethodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/radar.rs:671
↓ 1 callersMethodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/line.rs:1227
↓ 1 callersMethodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/gauge.rs:469
↓ 1 callersMethoddraw
(&self, ctx: &C, percent: f64, highlight: bool)
src/pie.rs:94
↓ 1 callersMethoddraw
(&self, ctx: &C, percent: f64, highlight: bool)
src/bar.rs:44
↓ 1 callersMethoddraw
(&self, ctx: &C, percent: f64, highlight: bool)
src/gauge.rs:133
↓ 1 callersMethoddraw_axes_and_grid
Draws the axes and the grid.
src/pie.rs:295
↓ 1 callersMethoddraw_axes_and_grid
Draws the axes and the grid.
src/bar.rs:611
↓ 1 callersMethoddraw_axes_and_grid
(&self, ctx: &C)
src/radar.rs:361
↓ 1 callersMethoddraw_axes_and_grid
Draws the axes and the grid.
src/line.rs:651
↓ 1 callersMethoddraw_axes_and_grid
Draws the axes and the grid.
src/gauge.rs:297
↓ 1 callersMethoddraw_channels
(&self, ctx: &C, percent: f64)
src/pie.rs:342
↓ 1 callersMethoddraw_channels
(&self, ctx: &C, percent: f64)
src/bar.rs:862
↓ 1 callersMethoddraw_channels
(&self, ctx: &C, percent: f64)
src/radar.rs:490
↓ 1 callersMethoddraw_channels
(&self, ctx: &C, percent: f64)
src/line.rs:902
↓ 1 callersMethoddraw_channels
(&self, ctx: &C, percent: f64)
src/gauge.rs:345
↓ 1 callersMethoddraw_entity
(&self, ctx: &C, percent: f64, highlight: bool)
src/gauge.rs:75
↓ 1 callersMethoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/pie.rs:302
↓ 1 callersMethoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/bar.rs:822
↓ 1 callersMethoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/radar.rs:449
↓ 1 callersMethoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/line.rs:861
↓ 1 callersMethoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/gauge.rs:304
↓ 1 callersMethoddraw_text
(&self, ctx: &C, text: &str, radius: f64, angle: f64, font_size: f64)
src/radar.rs:181
↓ 1 callersMethodget_channel_lefts
(&self)
src/bar.rs:286
↓ 1 callersMethodlerp_points
(&self, points: &[LinePoint<D>], percent: f64)
src/line.rs:254
↓ 1 callersMethodresize
(&self, w: f64, h: f64)
src/bar.rs:605
↓ 1 callersMethodresize
(&self, w: f64, h: f64)
src/radar.rs:357
↓ 1 callersMethodstart_animation
real drawing
src/basechart.rs:526
↓ 1 callersMethodupdate_bar_width
(&self, props: &mut BarChartProperties)
src/bar.rs:178
↓ 1 callersMethodupdate_channel
(&self, _: usize)
src/bar.rs:925
↓ 1 callersMethodupdate_channel
param should be Option
src/radar.rs:591
↓ 1 callersMethodupdate_channel
(&self, index: usize)
src/line.rs:1056
↓ 1 callersMethodupdate_channel
(&self, _: usize)
src/gauge.rs:384
↓ 1 callersMethodvalue_to_y
Returns the y-coordinate corresponding to the data point [value] and the animation percent [percent].
src/bar.rs:140
Methodanimating
@Deprecated("Use [isAnimating] instead")
src/basechart.rs:541
Methodcalculate_drawing_sizes
Calculates various drawing sizes. Overriding methods must call this method first to have [area] calculated.
src/basechart.rs:606
next →1–100 of 180, ranked by callers