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
Method
channel_visibility_changed
(&self, index: usize)
src/pie.rs:191
Method
channel_visibility_changed
(&self, index: usize)
src/radar.rs:218
Method
channel_visibility_changed
Called when the visibility of a channel is changed. [index] is the index of the affected channel.
src/basechart.rs:405
Method
contains_point
(&self, p: Point<f64>)
src/pie.rs:47
Method
contains_point
(&self, p: Point<f64>)
src/gauge.rs:46
Method
create_channels
(&self, start: usize, end: usize)
src/basechart.rs:792
Method
create_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/basechart.rs:780
Method
create_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/basechart.rs:769
Method
create_tooltip_or_legend
Creates an absolute positioned div with styles specified by [style]. TODO: retusns Element
src/basechart.rs:497
Method
create_tooltip_or_legend_item
TODO: return Element
src/basechart.rs:512
Method
data_cell_changed
(&self, record: DataCellChangeRecord<D>)
src/line.rs:181
Method
data_cell_changed
Event handler for [DataTable.onCellChanged]. NOTE: This method only handles the case when [record.columnIndex] >= 1;
src/basechart.rs:164
Method
data_columns_changed
Event handler for [DataTable.onColumnsChanged].
src/basechart.rs:204
Method
data_rows_changed
(&self, record: DataCollectionChangeRecord)
src/pie.rs:168
Method
data_rows_changed
Event handler for [DataTable.onRowsChanged].
src/basechart.rs:176
Method
debug
(&self)
src/line.rs:53
Method
default
()
src/lib.rs:90
Method
default
()
src/options.rs:238
Function
default_label_formatter
(label: String)
src/lib.rs:73
Method
draw
Draws the chart given a data table [dataTable] and an optional set of options [options]. TODO: handle updates while animation is happening.
src/basechart.rs:690
Method
draw_axes_and_grid
Draws the axes and the grid.
src/basechart.rs:731
Method
draw_channels
Draws the channel given the current animation percent [percent]. If this method returns `false`, the animation is continued until [percent] reaches 1
src/basechart.rs:764
Method
draw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/basechart.rs:744
Method
free
(&mut self)
src/pie.rs:79
Method
free
(&mut self)
src/bar.rs:60
Method
free
(&mut self)
src/radar.rs:60
Method
free
(&mut self)
src/line.rs:94
Method
free
(&mut self)
src/gauge.rs:117
Method
free_entities
(&self, start: usize, end: Option<usize>)
src/lib.rs:136
Function
get_decimal_places
Returns the number of decimal digits of [value].
src/utils.rs:194
Method
get_entity_group_index
(&self, x: f64, y: f64)
src/pie.rs:175
Method
get_entity_group_index
(&self, x: f64, y: f64)
src/radar.rs:189
Method
get_entity_group_index
(&self, x: f64, y: f64)
src/line.rs:189
Method
get_entity_group_index
Returns the index of the point group/bar group/pie/... near the position specified by [x] and [y].
src/basechart.rs:410
Method
get_legend_labels
(&self)
src/pie.rs:186
Method
get_right
(&self)
src/bar.rs:35
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/pie.rs:523
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/bar.rs:1060
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/radar.rs:698
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/line.rs:1254
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/basechart.rs:796
Method
get_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/gauge.rs:496
Function
hex2rgba
Converts [hexColor] and [alpha] to an RGBA color string.
src/utils.rs:47
Function
hyphenate
Returns the hyphenated version of [s].
src/utils.rs:64
Method
initialize_legend
(&self)
src/basechart.rs:259
Method
initialize_tooltip
(&self)
src/basechart.rs:440
Method
is_empty
(&self)
src/gauge.rs:42
Function
it_works
()
src/lib.rs:232
Method
legend_item_click
(&self, e: MouseEvent)
src/basechart.rs:362
Method
legend_item_mouse_out
(&self, e: MouseEvent)
src/basechart.rs:392
Method
legend_item_mouse_over
(&self, e: MouseEvent)
src/basechart.rs:382
Method
mouse_move
Handles `mousemove` or `touchstart` events to highlight appropriate points/bars/pies/... as well as update the tooltip.
src/basechart.rs:416
Method
new
(options: PieChartOptions<'a>)
src/pie.rs:161
Method
new
(name: &str, color: Color, highlight: Color, entities: Vec<E>)
src/lib.rs:126
Method
new
(options: BarChartOptions<'a>)
src/bar.rs:125
Method
new
(options: RadarChartOptions<'a>)
src/radar.rs:101
Method
new
(options: LineChartOptions<'a>)
src/line.rs:155
Method
new
Creates a chart given a container. If the CSS position of [container] is "static", it will be changed to "relative".
src/basechart.rs:108
Method
new
(options: GaugeChartOptions<'a>)
src/gauge.rs:193
Method
position_legend
This must be called after [calculate_drawing_sizes] as we need to know where the title is in order to position the legend correctly.
src/basechart.rs:280
Function
rad2deg
Converts [angle] in radians to degrees.
src/utils.rs:19
Method
resize
(&self, w: f64, h: f64)
src/pie.rs:289
Method
resize
(&self, w: f64, h: f64)
src/line.rs:645
Method
resize
Resizes just only change size state for chart and do not resize the container/canvas.
src/basechart.rs:706
Method
resize
(&self, w: f64, h: f64)
src/gauge.rs:291
Function
round2places
Rounds [value] to [places] decimal places.
src/utils.rs:40
Method
save
(&self)
src/pie.rs:83
Method
save
(&self)
src/radar.rs:62
Method
save
(&self)
src/gauge.rs:121
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/pie.rs:265
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/bar.rs:580
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/radar.rs:332
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/line.rs:620
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/basechart.rs:683
Method
set_stream
(&mut self, stream: DataStream<'a, M, D>)
src/gauge.rs:267
Method
stop_animation
(&self)
src/basechart.rs:531
Method
tooltip
(&self)
src/options.rs:220
Method
update_channel
Updates the channel at index [index]. If [index] is `null`, updates all channel.
src/basechart.rs:736
Method
update_tooltip_content
(&self)
src/pie.rs:195
Method
update_tooltip_content
(&self)
src/basechart.rs:464
← previous
101–180 of 180, ranked by callers