Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular-rust/ux-charts
/ functions
Functions
180 in github.com/angular-rust/ux-charts
⨍
Functions
180
◇
Types & classes
56
↓ 12 callers
Method
get_color
(&self, index: usize)
src/basechart.rs:132
↓ 9 callers
Method
get_highlight_color
(&self, color: Color)
src/basechart.rs:138
↓ 8 callers
Function
polar2cartesian
(center: &Point<f64>, radius: f64, angle: f64)
src/utils.rs:33
↓ 6 callers
Method
change_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 callers
Method
animation_end
Called when the animation ends.
src/basechart.rs:143
↓ 5 callers
Method
calculate_percent
(&self, time: Option<i64>)
src/basechart.rs:575
↓ 5 callers
Method
dispose
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 callers
Method
draw_title
Draws the chart title using the main rendering context.
src/basechart.rs:239
↓ 5 callers
Method
xlabel_x
Returns the x coordinate of the x-axis label at [index].
src/line.rs:163
↓ 4 callers
Function
calculate_max_text_width
( ctx: &C, style: &StyleOption, texts: &[String], )
src/utils.rs:146
↓ 4 callers
Method
xlabel_x
Returns the x coordinate of the x-axis label at [index].
src/bar.rs:133
↓ 3 callers
Method
as_point
(&self)
src/line.rs:49
↓ 3 callers
Function
calculate_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 callers
Function
deg2rad
Converts [angle] in degrees to radians.
src/utils.rs:24
↓ 3 callers
Function
find_max_value
Returns the maximum value in a [DataTable].
src/utils.rs:72
↓ 3 callers
Method
is_empty
(&self)
src/pie.rs:43
↓ 3 callers
Method
is_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 callers
Method
save
(&self)
src/bar.rs:62
↓ 3 callers
Method
save
(&self)
src/line.rs:96
↓ 3 callers
Method
update_legend_content
(&self)
src/basechart.rs:318
↓ 3 callers
Method
value2radius
(&self, value: Option<D>)
src/radar.rs:113
↓ 2 callers
Method
animation
(&self)
src/options.rs:204
↓ 2 callers
Method
calculate_bounding_boxes
(&self)
src/radar.rs:123
↓ 2 callers
Method
count_visible_channel
Counts the number of visible channel up to (but not including) the [end]th channel.
src/bar.rs:198
↓ 2 callers
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/pie.rs:420
↓ 2 callers
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/bar.rs:962
↓ 2 callers
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/radar.rs:623
↓ 2 callers
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/line.rs:1167
↓ 2 callers
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/gauge.rs:411
↓ 2 callers
Method
curve_to
( &self, ctx: &C, cp1: Option<Point<f64>>, cp2: Option<Point<f64>>, p:
src/line.rs:303
↓ 2 callers
Function
default_value_formatter
(value: f64)
src/lib.rs:77
↓ 2 callers
Method
draw
(&self, ctx: &C, percent: f64, highlight: bool)
src/radar.rs:40
↓ 2 callers
Method
draw
(&self, ctx: &C, percent: f64, highlight: bool)
src/line.rs:73
↓ 2 callers
Function
find_min_value
Returns the minimum value in a [DataTable].
src/utils.rs:98
↓ 2 callers
Method
get_angle
(&self, entity_index: usize)
src/radar.rs:108
↓ 2 callers
Method
get_bar_left
(&self, channel_index: usize, bar_index: usize)
src/bar.rs:188
↓ 2 callers
Method
get_gauge_center
(&self, index: usize)
src/gauge.rs:200
↓ 2 callers
Method
get_legend_labels
(&self)
src/basechart.rs:354
↓ 2 callers
Method
is_animating
Whether the chart is animating.
src/basechart.rs:546
↓ 2 callers
Function
is_in_range
Tests if [value] is in range [min]..[max], inclusively.
src/utils.rs:29
↓ 2 callers
Method
legend
(&self)
src/options.rs:216
↓ 2 callers
Method
title
(&self)
src/options.rs:212
↓ 2 callers
Method
update_channel
(&self, _: usize)
src/pie.rs:379
↓ 2 callers
Method
update_channel_visible
(&self, index: usize, removed_count: usize, added_count: usize)
src/basechart.rs:227
↓ 2 callers
Method
value_to_angle
(&self, value: Option<D>)
src/gauge.rs:205
↓ 2 callers
Method
value_to_bar_height
(&self, value: Option<D>)
src/bar.rs:215
↓ 2 callers
Method
value_to_y
Returns the y-coordinate corresponding to the data point [value] and the animation percent [percent].
src/line.rs:170
↓ 1 callers
Method
background
(&self)
src/options.rs:224
↓ 1 callers
Method
calculate_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 callers
Method
calculate_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 callers
Function
calculate_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 callers
Method
calculate_drawing_sizes
(&self, ctx: &C)
src/pie.rs:220
↓ 1 callers
Method
calculate_drawing_sizes
TODO: Separate y-axis stuff into a separate method.
src/bar.rs:305
↓ 1 callers
Method
calculate_drawing_sizes
(&self, ctx: &C)
src/radar.rs:252
↓ 1 callers
Method
calculate_drawing_sizes
TODO: Separate y-axis stuff into a separate method.
src/line.rs:346
↓ 1 callers
Method
calculate_drawing_sizes
(&self, ctx: &C)
src/gauge.rs:245
↓ 1 callers
Method
colors
(&self)
src/options.rs:208
↓ 1 callers
Method
create_channels
(&self, start: usize, end: usize)
src/pie.rs:475
↓ 1 callers
Method
create_channels
(&self, start: usize, end: usize)
src/bar.rs:1013
↓ 1 callers
Method
create_channels
(&self, start: usize, end: usize)
src/radar.rs:652
↓ 1 callers
Method
create_channels
(&self, start: usize, end: usize)
src/line.rs:1207
↓ 1 callers
Method
create_channels
(&self, start: usize, end: usize)
src/gauge.rs:449
↓ 1 callers
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/pie.rs:496
↓ 1 callers
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/bar.rs:1033
↓ 1 callers
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/radar.rs:671
↓ 1 callers
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/line.rs:1227
↓ 1 callers
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/gauge.rs:469
↓ 1 callers
Method
draw
(&self, ctx: &C, percent: f64, highlight: bool)
src/pie.rs:94
↓ 1 callers
Method
draw
(&self, ctx: &C, percent: f64, highlight: bool)
src/bar.rs:44
↓ 1 callers
Method
draw
(&self, ctx: &C, percent: f64, highlight: bool)
src/gauge.rs:133
↓ 1 callers
Method
draw_axes_and_grid
Draws the axes and the grid.
src/pie.rs:295
↓ 1 callers
Method
draw_axes_and_grid
Draws the axes and the grid.
src/bar.rs:611
↓ 1 callers
Method
draw_axes_and_grid
(&self, ctx: &C)
src/radar.rs:361
↓ 1 callers
Method
draw_axes_and_grid
Draws the axes and the grid.
src/line.rs:651
↓ 1 callers
Method
draw_axes_and_grid
Draws the axes and the grid.
src/gauge.rs:297
↓ 1 callers
Method
draw_channels
(&self, ctx: &C, percent: f64)
src/pie.rs:342
↓ 1 callers
Method
draw_channels
(&self, ctx: &C, percent: f64)
src/bar.rs:862
↓ 1 callers
Method
draw_channels
(&self, ctx: &C, percent: f64)
src/radar.rs:490
↓ 1 callers
Method
draw_channels
(&self, ctx: &C, percent: f64)
src/line.rs:902
↓ 1 callers
Method
draw_channels
(&self, ctx: &C, percent: f64)
src/gauge.rs:345
↓ 1 callers
Method
draw_entity
(&self, ctx: &C, percent: f64, highlight: bool)
src/gauge.rs:75
↓ 1 callers
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/pie.rs:302
↓ 1 callers
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/bar.rs:822
↓ 1 callers
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/radar.rs:449
↓ 1 callers
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/line.rs:861
↓ 1 callers
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/gauge.rs:304
↓ 1 callers
Method
draw_text
(&self, ctx: &C, text: &str, radius: f64, angle: f64, font_size: f64)
src/radar.rs:181
↓ 1 callers
Method
get_channel_lefts
(&self)
src/bar.rs:286
↓ 1 callers
Method
lerp_points
(&self, points: &[LinePoint<D>], percent: f64)
src/line.rs:254
↓ 1 callers
Method
resize
(&self, w: f64, h: f64)
src/bar.rs:605
↓ 1 callers
Method
resize
(&self, w: f64, h: f64)
src/radar.rs:357
↓ 1 callers
Method
start_animation
real drawing
src/basechart.rs:526
↓ 1 callers
Method
update_bar_width
(&self, props: &mut BarChartProperties)
src/bar.rs:178
↓ 1 callers
Method
update_channel
(&self, _: usize)
src/bar.rs:925
↓ 1 callers
Method
update_channel
param should be Option
src/radar.rs:591
↓ 1 callers
Method
update_channel
(&self, index: usize)
src/line.rs:1056
↓ 1 callers
Method
update_channel
(&self, _: usize)
src/gauge.rs:384
↓ 1 callers
Method
value_to_y
Returns the y-coordinate corresponding to the data point [value] and the animation percent [percent].
src/bar.rs:140
Method
animating
@Deprecated("Use [isAnimating] instead")
src/basechart.rs:541
Method
calculate_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