euv_example/charts/
const.rs1pub const ROUTE_CHARTS: &str = "/charts";
3
4pub(crate) const CHARTS_PAGE_TITLE: &str = "ECharts Studio";
6pub(crate) const CHARTS_PAGE_SUBTITLE: &str = "All 20 Apache ECharts series types rendered natively in pure Rust with DataZoom, VisualMap, Tooltip, Legend, Toolbox, and edge-to-edge Fullscreen.";
8pub(crate) const CHARTS_FILTER_TITLE: &str = "Series Category Explorer";
10pub(crate) const CHARTS_FILTER_SUBTITLE: &str = "Filter across all 20 series types, toggle legends, hover tooltips, drag DataZoom, or inspect any chart fullscreen.";
12pub(crate) const CHARTS_EVENT_READY: &str =
14 "Interactive: hover tooltips, toggle legend chips, drag DataZoom, or tap Fullscreen.";
15pub(crate) const CHARTS_CAT_ALL: &str = "All (20)";
17pub(crate) const CHARTS_CAT_CARTESIAN: &str = "Cartesian";
19pub(crate) const CHARTS_CAT_FINANCIAL: &str = "Financial";
21pub(crate) const CHARTS_CAT_RADIAL: &str = "Radial";
23pub(crate) const CHARTS_CAT_HIERARCHY: &str = "Hierarchy";
25pub(crate) const CHARTS_CAT_GEO_FLOW: &str = "Geo & Flow";
27
28pub(crate) const CARD_LINE_TITLE: &str = "1. Line (Smooth Area, Step, Stack, Marks & DataZoom)";
30pub(crate) const CARD_LINE_SUB: &str = "Smooth stacked area + dashed step line with MarkPoint, MarkLine, MarkArea, Inside+Slider DataZoom, Cross AxisPointer, and Toolbox.";
32pub(crate) const CARD_BAR_TITLE: &str = "2. Bar + Dual-Axis Line & Dataset Encode";
34pub(crate) const CARD_BAR_SUB: &str = "Tabular Dataset mapped via Encode onto grouped stacked Bars and a secondary right-hand Margin Line axis.";
36pub(crate) const CARD_HBAR_TITLE: &str = "3. Horizontal Category Bar";
38pub(crate) const CARD_HBAR_SUB: &str =
40 "Category Y-axis horizontal bars with background tracks and direct numeric value labels.";
41pub(crate) const CARD_SCATTER_TITLE: &str = "4. Scatter & EffectScatter (Bubble + VisualMap)";
43pub(crate) const CARD_SCATTER_SUB: &str = "Variable bubble radii paired with pulsing EffectScatter hotspots tinted by a Continuous VisualMap.";
45pub(crate) const CARD_CANDLE_TITLE: &str = "5. Candlestick (K-Line OHLC) + MA5 Line";
47pub(crate) const CARD_CANDLE_SUB: &str = "Bull/bear OHLC candlesticks overlaid with a smooth moving-average Line and interactive DataZoom Slider.";
49pub(crate) const CARD_BOXPLOT_TITLE: &str = "6. Boxplot (5-Number Distribution & Outliers)";
51pub(crate) const CARD_BOXPLOT_SUB: &str = "Min, Q1, median, Q3, and max whiskers with highlighted latency outlier dots across render backends.";
53pub(crate) const CARD_HEATMAP_TITLE: &str = "7. Cartesian 2D Heatmap (Continuous VisualMap)";
55pub(crate) const CARD_HEATMAP_SUB: &str =
57 "Hour-by-day compute load matrix shaded smoothly via a Continuous VisualMap gradient bar.";
58pub(crate) const CARD_CALENDAR_TITLE: &str = "8. Calendar Heatmap (Piecewise VisualMap)";
60pub(crate) const CARD_CALENDAR_SUB: &str =
62 "Week-by-day 2026 commit matrix shaded by discrete Piecewise VisualMap buckets.";
63pub(crate) const CARD_PIE_TITLE: &str = "9. Pie / Donut / Nightingale Rose";
65pub(crate) const CARD_PIE_SUB: &str =
67 "Interactive donut rose chart with leader lines, clickable Legend toggles, and slice pop-out.";
68pub(crate) const CARD_RADAR_TITLE: &str = "10. Radar (Multi-Series Polygon Web)";
70pub(crate) const CARD_RADAR_SUB: &str =
72 "Multi-indicator radar polygon comparing native euv metrics against legacy WebView stacks.";
73pub(crate) const CARD_GAUGE_TITLE: &str = "11. Gauge (Multi-Zone Telemetry Dial)";
75pub(crate) const CARD_GAUGE_SUB: &str = "270-degree dial gauge with multi-segment zone arcs, progress sweep, ticks, and live pointer needle.";
77pub(crate) const CARD_TREEMAP_TITLE: &str = "12. Treemap (Squarified Hierarchy)";
79pub(crate) const CARD_TREEMAP_SUB: &str =
81 "Area-proportional squarified rectangles with group headers and contrast-safe labels.";
82pub(crate) const CARD_SUNBURST_TITLE: &str = "13. Sunburst (Multi-Ring Taxonomy)";
84pub(crate) const CARD_SUNBURST_SUB: &str =
86 "Concentric hierarchical wedge rings displaying proportional native and web backend shares.";
87pub(crate) const CARD_SANKEY_TITLE: &str = "14. Sankey (Topological Flow Ribbons)";
89pub(crate) const CARD_SANKEY_SUB: &str =
91 "Multi-column topological layout connected by smooth value-weighted cubic Bezier ribbons.";
92pub(crate) const CARD_FUNNEL_TITLE: &str = "15. Funnel (Conversion Pipeline)";
94pub(crate) const CARD_FUNNEL_SUB: &str =
96 "Descending stage trapezoids with automatic conversion percentage annotations.";
97pub(crate) const CARD_GRAPH_TITLE: &str = "16. Graph (Force & Circular Network)";
99pub(crate) const CARD_GRAPH_SUB: &str = "Switch live between deterministic Fruchterman-Reingold Force and Circular layouts via reactive option_signal.";
101pub(crate) const CARD_TREE_TITLE: &str = "17. Tree (Orthogonal & Radial Hierarchy)";
103pub(crate) const CARD_TREE_SUB: &str = "Switch live between Left-to-Right Orthogonal and Radial node-link tree layouts via reactive option_signal.";
105pub(crate) const CARD_GEO_TITLE: &str = "18. GeoMap + Lines + EffectScatter";
107pub(crate) const CARD_GEO_SUB: &str = "Vector world choropleth colored by VisualMap with curved directional Lines arcs and pulsing hub hotspots.";
109pub(crate) const CARD_PARALLEL_TITLE: &str = "19. Parallel Coordinates";
111pub(crate) const CARD_PARALLEL_SUB: &str =
113 "Multi-axis engine telemetry polylines comparing TTFF, FPS, RAM, and Score simultaneously.";
114pub(crate) const CARD_RIVER_TITLE: &str = "20. ThemeRiver (Centered Streamgraph)";
116pub(crate) const CARD_RIVER_SUB: &str =
118 "Centered stacked streamgraph ribbons tracking ecosystem adoption across release cycles.";
119pub(crate) const CARD_PIC_CUSTOM_TITLE: &str = "21. PictorialBar & Custom DrawCommand";
121pub(crate) const CARD_PIC_CUSTOM_SUB: &str =
123 "Repeated capsule PictorialBar paired with a native Custom series DrawCommand overlay painter.";
124
125pub(crate) const BTN_GRAPH_FORCE: &str = "Force Layout";
127pub(crate) const BTN_GRAPH_CIRCULAR: &str = "Circular Layout";
129pub(crate) const BTN_TREE_ORTHO: &str = "Orthogonal Tree";
131pub(crate) const BTN_TREE_RADIAL: &str = "Radial Tree";
133
134pub(crate) const TITLE_LINE_CHART: &str = "Weekly Traffic & Throughput";
136pub(crate) const SUB_LINE_CHART: &str = "Smooth Area + Step + Marks + DataZoom";
138pub(crate) const TITLE_BAR_CHART: &str = "Revenue & Margin (Dataset)";
140pub(crate) const TITLE_HBAR_CHART: &str = "Platform Share";
142pub(crate) const TITLE_SCATTER_CHART: &str = "Latency vs Throughput Clusters";
144pub(crate) const TITLE_CANDLE_CHART: &str = "EUV Index K-Line + MA5";
146pub(crate) const TITLE_BOXPLOT_CHART: &str = "Frame Latency Distribution";
148pub(crate) const TITLE_HEATMAP_CHART: &str = "Compute Cluster Load";
150pub(crate) const TITLE_CALENDAR_CHART: &str = "2026 Commit Activity";
152pub(crate) const TITLE_PIE_CHART: &str = "Traffic Sources (Rose)";
154pub(crate) const TITLE_RADAR_CHART: &str = "Native vs Legacy Profile";
156pub(crate) const TITLE_GAUGE_CHART: &str = "GPU Frame Efficiency";
158pub(crate) const TITLE_TREEMAP_CHART: &str = "Workspace Footprint (KB)";
160pub(crate) const TITLE_SUNBURST_CHART: &str = "Renderer Taxonomy";
162pub(crate) const TITLE_SANKEY_CHART: &str = "Acquisition Flow";
164pub(crate) const TITLE_FUNNEL_CHART: &str = "Onboarding Funnel";
166pub(crate) const TITLE_GRAPH_CHART: &str = "Microservice Topology";
168pub(crate) const TITLE_TREE_CHART: &str = "Scene Graph Hierarchy";
170pub(crate) const TITLE_GEO_CHART: &str = "Global Edge Traffic";
172pub(crate) const TITLE_PARALLEL_CHART: &str = "Runtime Benchmark Axes";
174pub(crate) const TITLE_RIVER_CHART: &str = "Target Adoption Streams";
176pub(crate) const TITLE_PIC_CUSTOM_CHART: &str = "Capsule Quota & Custom Target";
178
179pub(crate) const DAYS_EIGHT: [&str; 8] = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun", "Next"];
181pub(crate) const MONTHS_SIX: [&str; 6] = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"];
183pub(crate) const PLATFORMS_FIVE: [&str; 5] = ["WebGPU", "macOS", "iOS", "Android", "Linux"];
185pub(crate) const BACKENDS_THREE: [&str; 3] = ["Software", "Hybrid", "Hardware"];
187pub(crate) const HOURS_SIX: [&str; 6] = ["00h", "04h", "08h", "12h", "16h", "20h"];
189pub(crate) const WEEKDAYS_FOUR: [&str; 4] = ["Mon", "Tue", "Wed", "Thu"];
191pub(crate) const TIERS_FOUR: [&str; 4] = ["Alpha", "Beta", "Gamma", "Delta"];
193
194pub(crate) const SER_DIRECT: &str = "Direct";
196pub(crate) const SER_ORGANIC: &str = "Organic";
198pub(crate) const SER_SEARCH: &str = "Step Search";
200pub(crate) const STACK_TRAFFIC: &str = "traffic";
202pub(crate) const MARK_PEAK: &str = "Peak";
204pub(crate) const MARK_AVG: &str = "Average";
206pub(crate) const MARK_PROMO: &str = "Launch";
208pub(crate) const DIM_MONTH: &str = "Month";
210pub(crate) const DIM_REVENUE: &str = "Revenue";
212pub(crate) const DIM_PROFIT: &str = "Profit";
214pub(crate) const DIM_MARGIN: &str = "Margin";
216pub(crate) const STACK_REV: &str = "rev_stack";
218pub(crate) const SER_SHARE: &str = "Share";
220pub(crate) const SER_CLUSTERS: &str = "Clusters";
222pub(crate) const SER_HOTSPOTS: &str = "Hotspots";
224pub(crate) const PT_EDGE_A: &str = "Edge-A";
226pub(crate) const PT_EDGE_B: &str = "Edge-B";
228pub(crate) const PT_CORE_C: &str = "Core-C";
230pub(crate) const PT_BURST_D: &str = "Burst";
232pub(crate) const SER_KLINE: &str = "KLine";
234pub(crate) const SER_MA5: &str = "MA5 Line";
236pub(crate) const SER_LATENCY: &str = "Latency";
238pub(crate) const SER_LOAD: &str = "Load";
240pub(crate) const SER_COMMITS: &str = "Commits";
242pub(crate) const VM_QUIET: &str = "Quiet";
244pub(crate) const VM_ACTIVE: &str = "Active";
246pub(crate) const VM_PEAK: &str = "Peak";
248pub(crate) const SER_TRAFFIC: &str = "Traffic";
250pub(crate) const SLICE_SEARCH: &str = "Search";
252pub(crate) const SLICE_REFERRAL: &str = "Referral";
254pub(crate) const SLICE_SOCIAL: &str = "Social";
256pub(crate) const SLICE_EMAIL: &str = "Email";
258pub(crate) const IND_FPS: &str = "Frame FPS";
260pub(crate) const IND_MEM: &str = "Memory";
262pub(crate) const IND_STARTUP: &str = "Startup";
264pub(crate) const IND_BINARY: &str = "Binary";
266pub(crate) const IND_BATTERY: &str = "Battery";
268pub(crate) const SER_PROFILE: &str = "Profile";
270pub(crate) const ITEM_EUV_NATIVE: &str = "euv Native";
272pub(crate) const ITEM_WEBVIEW: &str = "WebView";
274pub(crate) const SER_BUDGET: &str = "Frame Budget";
276pub(crate) const GAUGE_EFFICIENCY: &str = "Efficiency";
278pub(crate) const SER_FOOTPRINT: &str = "Footprint";
280pub(crate) const H_CORE: &str = "Core";
282pub(crate) const H_LAYOUT: &str = "Layout";
284pub(crate) const H_RENDER: &str = "Render";
286pub(crate) const H_SIGNALS: &str = "Signals";
288pub(crate) const H_CHARTS: &str = "Charts";
290pub(crate) const H_MARKDOWN: &str = "Markdown";
292pub(crate) const H_ROUTER: &str = "Router";
294pub(crate) const H_UI_SUITE: &str = "UI Suite";
296pub(crate) const SER_TAXONOMY: &str = "Taxonomy";
298pub(crate) const H_NATIVE: &str = "Native";
300pub(crate) const H_METAL: &str = "Metal";
302pub(crate) const H_VULKAN: &str = "Vulkan";
304pub(crate) const H_DX12: &str = "Direct3D12";
306pub(crate) const H_BROWSER: &str = "Browser";
308pub(crate) const H_CANVAS2D: &str = "Canvas2D";
310pub(crate) const SER_FLOW: &str = "Traffic Flow";
312pub(crate) const SK_PAID_ADS: &str = "Paid Ads";
314pub(crate) const SK_LANDING: &str = "Landing";
316pub(crate) const SK_TRIAL: &str = "Trial";
318pub(crate) const SK_SIGNUP: &str = "Signup";
320pub(crate) const SK_ENTERPRISE: &str = "Enterprise";
322pub(crate) const SER_CONVERSION: &str = "Conversion";
324pub(crate) const FN_VISIT: &str = "Visit";
326pub(crate) const FN_EXPLORE: &str = "Explore";
328pub(crate) const FN_EVAL: &str = "Evaluate";
330pub(crate) const FN_ADOPT: &str = "Adopt";
332pub(crate) const SER_CLUSTER: &str = "Cluster";
334pub(crate) const GR_GATEWAY: &str = "Gateway";
336pub(crate) const GR_AUTH: &str = "Auth";
338pub(crate) const GR_CACHE: &str = "Cache";
340pub(crate) const GR_WORKER: &str = "Worker";
342pub(crate) const GR_STORAGE: &str = "Storage";
344pub(crate) const GR_METRICS: &str = "Metrics";
346pub(crate) const SER_SCENE_TREE: &str = "SceneTree";
348pub(crate) const TR_ROOT: &str = "AppRoot";
350pub(crate) const TR_SHELL: &str = "AppShell";
352pub(crate) const TR_SIDEBAR: &str = "Sidebar";
354pub(crate) const TR_OUTLET: &str = "Outlet";
356pub(crate) const TR_PORTAL: &str = "Portals";
358pub(crate) const TR_FULLSCREEN: &str = "Fullscreen";
360pub(crate) const TR_TOOLTIP: &str = "Tooltip";
362pub(crate) const SER_USERS: &str = "Active Users";
364pub(crate) const GEO_CHINA: &str = "China";
366pub(crate) const GEO_USA: &str = "United States";
368pub(crate) const GEO_EUROPE: &str = "Europe";
370pub(crate) const GEO_BRAZIL: &str = "Brazil";
372pub(crate) const GEO_AUSTRALIA: &str = "Australia";
374pub(crate) const GEO_INDIA: &str = "India";
376pub(crate) const SER_EDGE_ROUTES: &str = "Edge Routes";
378pub(crate) const SER_EDGE_HUBS: &str = "Edge Hubs";
380pub(crate) const SER_BENCHMARKS: &str = "Benchmarks";
382pub(crate) const AX_TTFF: &str = "TTFF ms";
384pub(crate) const AX_RAM: &str = "RAM MB";
386pub(crate) const AX_SCORE: &str = "Score";
388pub(crate) const ITEM_FLUTTER: &str = "Flutter";
390pub(crate) const SER_STREAMS: &str = "Streams";
392pub(crate) const STREAM_RUST: &str = "Rust";
394pub(crate) const STREAM_WASM: &str = "WASM";
396pub(crate) const STREAM_MOBILE: &str = "Mobile";
398pub(crate) const SER_CAPSULES: &str = "Capsules";
400pub(crate) const SER_CUSTOM_TARGET: &str = "Custom Target";
402pub(crate) const CHART_CARD_HEIGHT: f32 = 290.0;
404pub(crate) const CHART_CARD_TALL_HEIGHT: f32 = 315.0;