(
&self,
channel_index: usize,
entity_index: usize,
value: Option<D>,
color: Color,
highlight_color: Color,
)
| 621 | } |
| 622 | |
| 623 | fn create_entity( |
| 624 | &self, |
| 625 | channel_index: usize, |
| 626 | entity_index: usize, |
| 627 | value: Option<D>, |
| 628 | color: Color, |
| 629 | highlight_color: Color, |
| 630 | ) -> PolarPoint<D> { |
| 631 | let props = self.props.borrow(); |
| 632 | let angle = self.get_angle(entity_index); |
| 633 | let point_radius = self.base.options.channel.markers.size as f64; |
| 634 | let radius = self.value2radius(value); |
| 635 | |
| 636 | PolarPoint { |
| 637 | index: entity_index, |
| 638 | value, |
| 639 | old_value: None, |
| 640 | color, |
| 641 | highlight_color, |
| 642 | center: props.center, |
| 643 | old_radius: 0., |
| 644 | old_angle: angle, |
| 645 | old_point_radius: 0., |
| 646 | radius, |
| 647 | angle, |
| 648 | point_radius, |
| 649 | } |
| 650 | } |
| 651 | |
| 652 | fn create_channels(&self, start: usize, end: usize) { |
| 653 | let mut start = start; |
no test coverage detected