class

CrystalCommunity::StatsController

Inherits Reference / Object

Constants

CHART_HISTORY_LIMIT = 90

Class methods

chart_line_aria_description(metric_name : String, labels : Array(String), values : Array(Int64)) : String
Source
chart_line_aria_label(metric_name : String, labels : Array(String), values : Array(Int64)) : String

Screen-reader text for Chart.js canvases (role="img") above scan history.

Source
format_int_commas(n : Int64) : String
Source
github_star_bucket_search_url(star_band_label : String) : String

Matches star buckets in github_crystal_stats_collector (labels use en dash U+2013).

Source
github_topic_url(topic : String) : String

GitHub topic pages list all languages; search narrows to Crystal repos only.

Source
index(env)
Source