1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-view-lib/src/price_chart.rs
Items
const PRICE_CHART_WIDTH const PAD_LEFT const PAD_RIGHT const PAD_TOP const TIME_AXIS_HEIGHT const PANE_GAP const DEFAULT_PANE_HEIGHT const VOLUME_BAND_FRACTION const FIB_LEVELS enum PriceStyle impl PriceStyle enum PriceScale impl PriceScale enum OverlayKind struct OverlayData enum PaneStyle struct PaneLine struct PaneData struct CompareData enum DrawingData impl DrawingData struct PriceChartSpec impl PriceChartSpec struct PriceAxis impl PriceAxis const TAG_GAP const PRICE_CHART_CSS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 33 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| price_chart_svgsrc/price_chart.rs:381 | fn | 525 | 72 | 11 | 20 | 1.7 | |
| PriceChartSpec::newsrc/price_chart.rs:233 | method | 17 | 1 | 10 | 0 | 1.7 | |
| barssrc/price_chart.rs:982 | fn | 15 | 1 | 10 | 0 | 1.5 | |
| PriceAxis::transformsrc/price_chart.rs:304 | method | 9 | 3 | 3 | 0 | 1.3 | |
| civil_from_mssrc/price_chart.rs:266 | fn | 13 | 3 | 2 | 0 | 1 | |
| countsrc/price_chart.rs:998 | fn | 3 | 1 | 5 | 0 | 1 | |
| attr_numsrc/price_chart.rs:254 | fn | 6 | 3 | 1 | 0 | 1 | |
| price_time_labelsrc/price_chart.rs:282 | fn | 11 | 3 | 2 | 2 | 0.8 | |
| PriceStyle::parsesrc/price_chart.rs:66 | method | 11 | 7 | 2 | 0 | 0.6 | |
| PriceScale::parsesrc/price_chart.rs:104 | method | 7 | 3 | 2 | 0 | 0.6 | |
| PriceStyle::draws_bodiessrc/price_chart.rs:89 | method | 3 | 1 | 1 | 0 | 0.6 | |
| values_attrsrc/price_chart.rs:261 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| PriceAxis::ysrc/price_chart.rs:314 | method | 4 | 1 | 1 | 2 | 0.6 | |
| PriceAxis::axis_labelsrc/price_chart.rs:319 | method | 6 | 2 | 1 | 1 | 0.6 | |
| gap_pathsrc/price_chart.rs:327 | fn | 15 | 4 | 1 | 0 | 0.6 | |
| band_fill_pathsrc/price_chart.rs:344 | fn | 29 | 7 | 1 | 1 | 0.6 | |
| empty_placeholdersrc/price_chart.rs:374 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| overlay_kind_namesrc/price_chart.rs:907 | fn | 8 | 4 | 1 | 0 | 0.6 | |
| pane_style_namesrc/price_chart.rs:916 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| PriceStyle::as_strsrc/price_chart.rs:78 | method | 10 | 6 | 0 | 0 | 0.5 | |
| PriceScale::as_strsrc/price_chart.rs:112 | method | 6 | 2 | 0 | 0 | 0.5 | |
| DrawingData::kindsrc/price_chart.rs:202 | method | 9 | 5 | 0 | 0 | 0.5 | |
| coincident_overlay_tags_are_spread_apart_and_carry_only_the_valuesrc/price_chart.rs:952 | fn | 29 | 1 | 0 | 3 | 0.5 | |
| candles_carry_the_contract_attributessrc/price_chart.rs:1003 | fn | 56 | 1 | 0 | 4 | 0.5 | |
| grammar_node_renders_the_same_svgsrc/price_chart.rs:1062 | fn | 62 | 4 | 0 | 5 | 0.5 | |
| overlay_gaps_break_the_pathsrc/price_chart.rs:1126 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| log_scale_falls_back_when_a_price_is_not_positivesrc/price_chart.rs:1147 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| fib_drawing_renders_every_standard_levelsrc/price_chart.rs:1163 | fn | 20 | 1 | 0 | 4 | 0.5 | |
| compare_series_get_a_percent_axissrc/price_chart.rs:1185 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| styles_switch_the_price_geometrysrc/price_chart.rs:1197 | fn | 19 | 2 | 0 | 5 | 0.5 | |
| empty_bars_render_the_placeholdersrc/price_chart.rs:1218 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| histogram_and_columns_draw_rects_per_valuesrc/price_chart.rs:1227 | fn | 26 | 1 | 0 | 4 | 0.5 | |
| time_labels_follow_the_resolutionsrc/price_chart.rs:1255 | fn | 8 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.