euv_example/pages/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 =
8 "All 20 native Apache ECharts series with DataZoom, VisualMap, Tooltip, Legend & Fullscreen.";
9pub(crate) const CHARTS_FILTER_TITLE: &str = "Series Category Explorer";
11pub(crate) const CHARTS_FILTER_SUBTITLE: &str = "Filter across all 20 series types, toggle legends, drag DataZoom, or open any chart fullscreen.";
13pub(crate) const CHARTS_GRID_MAX_COLS: u16 = 2;
15pub(crate) const CHARTS_EVENT_READY: &str =
17 "Interactive: hover tooltips, toggle legend chips, drag DataZoom, or tap Fullscreen.";
18pub(crate) const CHARTS_CAT_ALL: &str = "All (20)";
20pub(crate) const CHARTS_CAT_CARTESIAN: &str = "Cartesian";
22pub(crate) const CHARTS_CAT_FINANCIAL: &str = "Financial";
24pub(crate) const CHARTS_CAT_RADIAL: &str = "Radial";
26pub(crate) const CHARTS_CAT_HIERARCHY: &str = "Hierarchy";
28pub(crate) const CHARTS_CAT_GEO_FLOW: &str = "Geo & Flow";
30
31pub(crate) const CARD_LINE_TITLE: &str = "1. Line (Smooth Area, Step, Stack, Marks & DataZoom)";
33pub(crate) const CARD_LINE_SUB: &str = "Smooth stacked area + dashed step line with MarkPoint, MarkLine, MarkArea, Inside+Slider DataZoom, Cross AxisPointer, and Toolbox.";
35pub(crate) const CARD_BAR_TITLE: &str = "2. Bar + Dual-Axis Line & Dataset Encode";
37pub(crate) const CARD_BAR_SUB: &str = "Tabular Dataset mapped via Encode onto grouped stacked Bars and a secondary right-hand Margin Line axis.";
39pub(crate) const CARD_HBAR_TITLE: &str = "3. Horizontal Category Bar";
41pub(crate) const CARD_HBAR_SUB: &str =
43 "Category Y-axis horizontal bars with background tracks and direct numeric value labels.";
44pub(crate) const CARD_SCATTER_TITLE: &str = "4. Scatter & EffectScatter (Bubble + VisualMap)";
46pub(crate) const CARD_SCATTER_SUB: &str = "Variable bubble radii paired with pulsing EffectScatter hotspots tinted by a Continuous VisualMap.";
48pub(crate) const CARD_CANDLE_TITLE: &str = "5. Candlestick (K-Line OHLC) + MA5 Line";
50pub(crate) const CARD_CANDLE_SUB: &str = "Bull/bear OHLC candlesticks overlaid with a smooth moving-average Line and interactive DataZoom Slider.";
52pub(crate) const CARD_BOXPLOT_TITLE: &str = "6. Boxplot (5-Number Distribution & Outliers)";
54pub(crate) const CARD_BOXPLOT_SUB: &str = "Min, Q1, median, Q3, and max whiskers with highlighted latency outlier dots across render backends.";
56pub(crate) const CARD_HEATMAP_TITLE: &str = "7. Cartesian 2D Heatmap (Continuous VisualMap)";
58pub(crate) const CARD_HEATMAP_SUB: &str =
60 "Hour-by-day compute load matrix shaded smoothly via a Continuous VisualMap gradient bar.";
61pub(crate) const CARD_CALENDAR_TITLE: &str = "8. Calendar Heatmap (Piecewise VisualMap)";
63pub(crate) const CARD_CALENDAR_SUB: &str =
65 "Week-by-day 2026 commit matrix shaded by discrete Piecewise VisualMap buckets.";
66pub(crate) const CARD_PIE_TITLE: &str = "9. Pie / Donut / Nightingale Rose";
68pub(crate) const CARD_PIE_SUB: &str =
70 "Interactive donut rose chart with leader lines, clickable Legend toggles, and slice pop-out.";
71pub(crate) const CARD_RADAR_TITLE: &str = "10. Radar (Multi-Series Polygon Web)";
73pub(crate) const CARD_RADAR_SUB: &str =
75 "Multi-indicator radar polygon comparing native euv metrics against legacy WebView stacks.";
76pub(crate) const CARD_GAUGE_TITLE: &str = "11. Gauge (Multi-Zone Telemetry Dial)";
78pub(crate) const CARD_GAUGE_SUB: &str = "270-degree dial gauge with multi-segment zone arcs, progress sweep, ticks, and live pointer needle.";
80pub(crate) const CARD_TREEMAP_TITLE: &str = "12. Treemap (Squarified Hierarchy)";
82pub(crate) const CARD_TREEMAP_SUB: &str =
84 "Area-proportional squarified rectangles with group headers and contrast-safe labels.";
85pub(crate) const CARD_SUNBURST_TITLE: &str = "13. Sunburst (Multi-Ring Taxonomy)";
87pub(crate) const CARD_SUNBURST_SUB: &str =
89 "Concentric hierarchical wedge rings displaying proportional native and web backend shares.";
90pub(crate) const CARD_SANKEY_TITLE: &str = "14. Sankey (Topological Flow Ribbons)";
92pub(crate) const CARD_SANKEY_SUB: &str =
94 "Multi-column topological layout connected by smooth value-weighted cubic Bezier ribbons.";
95pub(crate) const CARD_FUNNEL_TITLE: &str = "15. Funnel (Conversion Pipeline)";
97pub(crate) const CARD_FUNNEL_SUB: &str =
99 "Descending stage trapezoids with automatic conversion percentage annotations.";
100pub(crate) const CARD_GRAPH_TITLE: &str = "16. Graph (Force & Circular Network)";
102pub(crate) const CARD_GRAPH_SUB: &str = "Switch live between deterministic Fruchterman-Reingold Force and Circular layouts via reactive option_signal.";
104pub(crate) const CARD_TREE_TITLE: &str = "17. Tree (Orthogonal & Radial Hierarchy)";
106pub(crate) const CARD_TREE_SUB: &str = "Switch live between Left-to-Right Orthogonal and Radial node-link tree layouts via reactive option_signal.";
108pub(crate) const CARD_GEO_TITLE: &str = "18. GeoMap + Lines + EffectScatter";
110pub(crate) const CARD_GEO_SUB: &str = "Vector world choropleth colored by VisualMap with curved directional Lines arcs and pulsing hub hotspots.";
112pub(crate) const CARD_PARALLEL_TITLE: &str = "19. Parallel Coordinates";
114pub(crate) const CARD_PARALLEL_SUB: &str =
116 "Multi-axis engine telemetry polylines comparing TTFF, FPS, RAM, and Score simultaneously.";
117pub(crate) const CARD_RIVER_TITLE: &str = "20. ThemeRiver (Centered Streamgraph)";
119pub(crate) const CARD_RIVER_SUB: &str =
121 "Centered stacked streamgraph ribbons tracking ecosystem adoption across release cycles.";
122pub(crate) const CARD_PIC_CUSTOM_TITLE: &str = "21. PictorialBar & Custom DrawCommand";
124pub(crate) const CARD_PIC_CUSTOM_SUB: &str =
126 "Repeated capsule PictorialBar paired with a native Custom series DrawCommand overlay painter.";
127
128pub(crate) const BTN_GRAPH_FORCE: &str = "Force Layout";
130pub(crate) const BTN_GRAPH_CIRCULAR: &str = "Circular Layout";
132pub(crate) const BTN_TREE_ORTHO: &str = "Orthogonal Tree";
134pub(crate) const BTN_TREE_RADIAL: &str = "Radial Tree";
136
137pub(crate) const TITLE_LINE_CHART: &str = "Weekly Traffic & Throughput";
139pub(crate) const SUB_LINE_CHART: &str = "Smooth Area + Step + Marks + DataZoom";
141pub(crate) const TITLE_BAR_CHART: &str = "Revenue & Margin (Dataset)";
143pub(crate) const TITLE_HBAR_CHART: &str = "Platform Share";
145pub(crate) const TITLE_SCATTER_CHART: &str = "Latency vs Throughput Clusters";
147pub(crate) const TITLE_CANDLE_CHART: &str = "EUV Index K-Line + MA5";
149pub(crate) const TITLE_BOXPLOT_CHART: &str = "Frame Latency Distribution";
151pub(crate) const TITLE_HEATMAP_CHART: &str = "Compute Cluster Load";
153pub(crate) const TITLE_CALENDAR_CHART: &str = "2026 Commit Activity";
155pub(crate) const TITLE_PIE_CHART: &str = "Traffic Sources (Rose)";
157pub(crate) const TITLE_RADAR_CHART: &str = "Native vs Legacy Profile";
159pub(crate) const TITLE_GAUGE_CHART: &str = "GPU Frame Efficiency";
161pub(crate) const TITLE_TREEMAP_CHART: &str = "Workspace Footprint (KB)";
163pub(crate) const TITLE_SUNBURST_CHART: &str = "Renderer Taxonomy";
165pub(crate) const TITLE_SANKEY_CHART: &str = "Acquisition Flow";
167pub(crate) const TITLE_FUNNEL_CHART: &str = "Onboarding Funnel";
169pub(crate) const TITLE_GRAPH_CHART: &str = "Microservice Topology";
171pub(crate) const TITLE_TREE_CHART: &str = "Scene Graph Hierarchy";
173pub(crate) const TITLE_GEO_CHART: &str = "Global Edge Traffic";
175pub(crate) const TITLE_PARALLEL_CHART: &str = "Runtime Benchmark Axes";
177pub(crate) const TITLE_RIVER_CHART: &str = "Target Adoption Streams";
179pub(crate) const TITLE_PIC_CUSTOM_CHART: &str = "Capsule Quota & Custom Target";
181
182pub(crate) const DAYS_EIGHT: [&str; 8] = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun", "Next"];
184pub(crate) const MONTHS_SIX: [&str; 6] = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"];
186pub(crate) const PLATFORMS_FIVE: [&str; 5] = ["WebGPU", "macOS", "iOS", "Android", "Linux"];
188pub(crate) const BACKENDS_THREE: [&str; 3] = ["Software", "Hybrid", "Hardware"];
190pub(crate) const HOURS_SIX: [&str; 6] = ["00h", "04h", "08h", "12h", "16h", "20h"];
192pub(crate) const WEEKDAYS_FOUR: [&str; 4] = ["Mon", "Tue", "Wed", "Thu"];
194pub(crate) const TIERS_FOUR: [&str; 4] = ["Alpha", "Beta", "Gamma", "Delta"];
196
197pub(crate) const SER_DIRECT: &str = "Direct";
199pub(crate) const SER_ORGANIC: &str = "Organic";
201pub(crate) const SER_SEARCH: &str = "Step Search";
203pub(crate) const STACK_TRAFFIC: &str = "traffic";
205pub(crate) const MARK_PEAK: &str = "Peak";
207pub(crate) const MARK_AVG: &str = "Average";
209pub(crate) const MARK_PROMO: &str = "Launch";
211pub(crate) const DIM_MONTH: &str = "Month";
213pub(crate) const DIM_REVENUE: &str = "Revenue";
215pub(crate) const DIM_PROFIT: &str = "Profit";
217pub(crate) const DIM_MARGIN: &str = "Margin";
219pub(crate) const STACK_REV: &str = "rev_stack";
221pub(crate) const SER_SHARE: &str = "Share";
223pub(crate) const SER_CLUSTERS: &str = "Clusters";
225pub(crate) const SER_HOTSPOTS: &str = "Hotspots";
227pub(crate) const PT_EDGE_A: &str = "Edge-A";
229pub(crate) const PT_EDGE_B: &str = "Edge-B";
231pub(crate) const PT_CORE_C: &str = "Core-C";
233pub(crate) const PT_BURST_D: &str = "Burst";
235pub(crate) const SER_KLINE: &str = "KLine";
237pub(crate) const SER_MA5: &str = "MA5 Line";
239pub(crate) const SER_LATENCY: &str = "Latency";
241pub(crate) const SER_LOAD: &str = "Load";
243pub(crate) const SER_COMMITS: &str = "Commits";
245pub(crate) const VM_QUIET: &str = "Quiet";
247pub(crate) const VM_ACTIVE: &str = "Active";
249pub(crate) const VM_PEAK: &str = "Peak";
251pub(crate) const SER_TRAFFIC: &str = "Traffic";
253pub(crate) const SLICE_SEARCH: &str = "Search";
255pub(crate) const SLICE_REFERRAL: &str = "Referral";
257pub(crate) const SLICE_SOCIAL: &str = "Social";
259pub(crate) const SLICE_EMAIL: &str = "Email";
261pub(crate) const IND_FPS: &str = "Frame FPS";
263pub(crate) const IND_MEM: &str = "Memory";
265pub(crate) const IND_STARTUP: &str = "Startup";
267pub(crate) const IND_BINARY: &str = "Binary";
269pub(crate) const IND_BATTERY: &str = "Battery";
271pub(crate) const SER_PROFILE: &str = "Profile";
273pub(crate) const ITEM_EUV_NATIVE: &str = "euv Native";
275pub(crate) const ITEM_WEBVIEW: &str = "WebView";
277pub(crate) const SER_BUDGET: &str = "Frame Budget";
279pub(crate) const GAUGE_EFFICIENCY: &str = "Efficiency";
281pub(crate) const SER_FOOTPRINT: &str = "Footprint";
283pub(crate) const H_CORE: &str = "Core";
285pub(crate) const H_LAYOUT: &str = "Layout";
287pub(crate) const H_RENDER: &str = "Render";
289pub(crate) const H_SIGNALS: &str = "Signals";
291pub(crate) const H_CHARTS: &str = "Charts";
293pub(crate) const H_MARKDOWN: &str = "Markdown";
295pub(crate) const H_ROUTER: &str = "Router";
297pub(crate) const H_UI_SUITE: &str = "UI Suite";
299pub(crate) const SER_TAXONOMY: &str = "Taxonomy";
301pub(crate) const H_NATIVE: &str = "Native";
303pub(crate) const H_METAL: &str = "Metal";
305pub(crate) const H_VULKAN: &str = "Vulkan";
307pub(crate) const H_DX12: &str = "Direct3D12";
309pub(crate) const H_BROWSER: &str = "Browser";
311pub(crate) const H_CANVAS2D: &str = "Canvas2D";
313pub(crate) const SER_FLOW: &str = "Traffic Flow";
315pub(crate) const SK_PAID_ADS: &str = "Paid Ads";
317pub(crate) const SK_LANDING: &str = "Landing";
319pub(crate) const SK_TRIAL: &str = "Trial";
321pub(crate) const SK_SIGNUP: &str = "Signup";
323pub(crate) const SK_ENTERPRISE: &str = "Enterprise";
325pub(crate) const SER_CONVERSION: &str = "Conversion";
327pub(crate) const FN_VISIT: &str = "Visit";
329pub(crate) const FN_EXPLORE: &str = "Explore";
331pub(crate) const FN_EVAL: &str = "Evaluate";
333pub(crate) const FN_ADOPT: &str = "Adopt";
335pub(crate) const SER_CLUSTER: &str = "Cluster";
337pub(crate) const GR_GATEWAY: &str = "Gateway";
339pub(crate) const GR_AUTH: &str = "Auth";
341pub(crate) const GR_CACHE: &str = "Cache";
343pub(crate) const GR_WORKER: &str = "Worker";
345pub(crate) const GR_STORAGE: &str = "Storage";
347pub(crate) const GR_METRICS: &str = "Metrics";
349pub(crate) const SER_SCENE_TREE: &str = "SceneTree";
351pub(crate) const TR_ROOT: &str = "AppRoot";
353pub(crate) const TR_SHELL: &str = "AppShell";
355pub(crate) const TR_SIDEBAR: &str = "Sidebar";
357pub(crate) const TR_OUTLET: &str = "Outlet";
359pub(crate) const TR_PORTAL: &str = "Portals";
361pub(crate) const TR_FULLSCREEN: &str = "Fullscreen";
363pub(crate) const TR_TOOLTIP: &str = "Tooltip";
365pub(crate) const SER_USERS: &str = "Active Users";
367pub(crate) const GEO_CHINA: &str = "China";
369pub(crate) const GEO_USA: &str = "United States";
371pub(crate) const GEO_EUROPE: &str = "Europe";
373pub(crate) const GEO_BRAZIL: &str = "Brazil";
375pub(crate) const GEO_AUSTRALIA: &str = "Australia";
377pub(crate) const GEO_INDIA: &str = "India";
379pub(crate) const SER_EDGE_ROUTES: &str = "Edge Routes";
381pub(crate) const SER_EDGE_HUBS: &str = "Edge Hubs";
383pub(crate) const SER_BENCHMARKS: &str = "Benchmarks";
385pub(crate) const AX_TTFF: &str = "TTFF ms";
387pub(crate) const AX_RAM: &str = "RAM MB";
389pub(crate) const AX_SCORE: &str = "Score";
391pub(crate) const ITEM_FLUTTER: &str = "Flutter";
393pub(crate) const SER_STREAMS: &str = "Streams";
395pub(crate) const STREAM_RUST: &str = "Rust";
397pub(crate) const STREAM_WASM: &str = "WASM";
399pub(crate) const STREAM_MOBILE: &str = "Mobile";
401pub(crate) const SER_CAPSULES: &str = "Capsules";
403pub(crate) const SER_CUSTOM_TARGET: &str = "Custom Target";
405pub(crate) const CHART_CARD_HEIGHT: f32 = 290.0;
407pub(crate) const CHART_CARD_TALL_HEIGHT: f32 = 315.0;