MCPcopy Create free account

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

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

Methodchannel_visibility_changed
(&self, index: usize)
src/pie.rs:191
Methodchannel_visibility_changed
(&self, index: usize)
src/radar.rs:218
Methodchannel_visibility_changed
Called when the visibility of a channel is changed. [index] is the index of the affected channel.
src/basechart.rs:405
Methodcontains_point
(&self, p: Point<f64>)
src/pie.rs:47
Methodcontains_point
(&self, p: Point<f64>)
src/gauge.rs:46
Methodcreate_channels
(&self, start: usize, end: usize)
src/basechart.rs:792
Methodcreate_entities
( &self, channel_index: usize, start: usize, end: usize, color: Color,
src/basechart.rs:780
Methodcreate_entity
( &self, channel_index: usize, entity_index: usize, value: Option<D>,
src/basechart.rs:769
Methodcreate_tooltip_or_legend
Creates an absolute positioned div with styles specified by [style]. TODO: retusns Element
src/basechart.rs:497
Methodcreate_tooltip_or_legend_item
TODO: return Element
src/basechart.rs:512
Methoddata_cell_changed
(&self, record: DataCellChangeRecord<D>)
src/line.rs:181
Methoddata_cell_changed
Event handler for [DataTable.onCellChanged]. NOTE: This method only handles the case when [record.columnIndex] >= 1;
src/basechart.rs:164
Methoddata_columns_changed
Event handler for [DataTable.onColumnsChanged].
src/basechart.rs:204
Methoddata_rows_changed
(&self, record: DataCollectionChangeRecord)
src/pie.rs:168
Methoddata_rows_changed
Event handler for [DataTable.onRowsChanged].
src/basechart.rs:176
Methoddebug
(&self)
src/line.rs:53
Methoddefault
()
src/lib.rs:90
Methoddefault
()
src/options.rs:238
Functiondefault_label_formatter
(label: String)
src/lib.rs:73
Methoddraw
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
Methoddraw_axes_and_grid
Draws the axes and the grid.
src/basechart.rs:731
Methoddraw_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
Methoddraw_frame
Draws the current animation frame. If [time] is `null`, draws the last frame (i.e. no animation).
src/basechart.rs:744
Methodfree
(&mut self)
src/pie.rs:79
Methodfree
(&mut self)
src/bar.rs:60
Methodfree
(&mut self)
src/radar.rs:60
Methodfree
(&mut self)
src/line.rs:94
Methodfree
(&mut self)
src/gauge.rs:117
Methodfree_entities
(&self, start: usize, end: Option<usize>)
src/lib.rs:136
Functionget_decimal_places
Returns the number of decimal digits of [value].
src/utils.rs:194
Methodget_entity_group_index
(&self, x: f64, y: f64)
src/pie.rs:175
Methodget_entity_group_index
(&self, x: f64, y: f64)
src/radar.rs:189
Methodget_entity_group_index
(&self, x: f64, y: f64)
src/line.rs:189
Methodget_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
Methodget_legend_labels
(&self)
src/pie.rs:186
Methodget_right
(&self)
src/bar.rs:35
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/pie.rs:523
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/bar.rs:1060
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/radar.rs:698
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/line.rs:1254
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/basechart.rs:796
Methodget_tooltip_position
(&self, tooltip_width: f64, tooltip_height: f64)
src/gauge.rs:496
Functionhex2rgba
Converts [hexColor] and [alpha] to an RGBA color string.
src/utils.rs:47
Functionhyphenate
Returns the hyphenated version of [s].
src/utils.rs:64
Methodinitialize_legend
(&self)
src/basechart.rs:259
Methodinitialize_tooltip
(&self)
src/basechart.rs:440
Methodis_empty
(&self)
src/gauge.rs:42
Functionit_works
()
src/lib.rs:232
Methodlegend_item_click
(&self, e: MouseEvent)
src/basechart.rs:362
Methodlegend_item_mouse_out
(&self, e: MouseEvent)
src/basechart.rs:392
Methodlegend_item_mouse_over
(&self, e: MouseEvent)
src/basechart.rs:382
Methodmouse_move
Handles `mousemove` or `touchstart` events to highlight appropriate points/bars/pies/... as well as update the tooltip.
src/basechart.rs:416
Methodnew
(options: PieChartOptions<'a>)
src/pie.rs:161
Methodnew
(name: &str, color: Color, highlight: Color, entities: Vec<E>)
src/lib.rs:126
Methodnew
(options: BarChartOptions<'a>)
src/bar.rs:125
Methodnew
(options: RadarChartOptions<'a>)
src/radar.rs:101
Methodnew
(options: LineChartOptions<'a>)
src/line.rs:155
Methodnew
Creates a chart given a container. If the CSS position of [container] is "static", it will be changed to "relative".
src/basechart.rs:108
Methodnew
(options: GaugeChartOptions<'a>)
src/gauge.rs:193
Methodposition_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
Functionrad2deg
Converts [angle] in radians to degrees.
src/utils.rs:19
Methodresize
(&self, w: f64, h: f64)
src/pie.rs:289
Methodresize
(&self, w: f64, h: f64)
src/line.rs:645
Methodresize
Resizes just only change size state for chart and do not resize the container/canvas.
src/basechart.rs:706
Methodresize
(&self, w: f64, h: f64)
src/gauge.rs:291
Functionround2places
Rounds [value] to [places] decimal places.
src/utils.rs:40
Methodsave
(&self)
src/pie.rs:83
Methodsave
(&self)
src/radar.rs:62
Methodsave
(&self)
src/gauge.rs:121
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/pie.rs:265
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/bar.rs:580
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/radar.rs:332
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/line.rs:620
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/basechart.rs:683
Methodset_stream
(&mut self, stream: DataStream<'a, M, D>)
src/gauge.rs:267
Methodstop_animation
(&self)
src/basechart.rs:531
Methodtooltip
(&self)
src/options.rs:220
Methodupdate_channel
Updates the channel at index [index]. If [index] is `null`, updates all channel.
src/basechart.rs:736
Methodupdate_tooltip_content
(&self)
src/pie.rs:195
Methodupdate_tooltip_content
(&self)
src/basechart.rs:464
← previous101–180 of 180, ranked by callers