Line Chart
Based on Vega-Lite
Default
KPI Overview
State
@filters = [ %{ label: "Active players", value: "3,174", color: "frieza", is_active: true, data_key: "actives" }, %{ label: "Turnover", value: "12,174.23", color: "krillin", is_active: true, data_key: "turnover" }, %{ label: "GGR", value: "12,174.23", color: "roshi", is_active: false, data_key: "ggr" }, %{ label: "Bets", value: "3,174", color: "whis", is_active: true, data_key: "bets" }, %{ label: "Margin", value: "5.38%", color: "chichi", is_active: false, data_key: "margin" } ]
@values = [ %{y: 74, category: "actives", x: "1/06"}, %{y: 65, category: "turnover", x: "1/06"}, %{y: 84, category: "ggr", x: "1/06"}, %{y: 54, category: "bets", x: "1/06"}, %{y: 48, category: "margin", x: "1/06"}, %{y: 33, category: "actives", x: "2/06"}, %{y: 85, category: "turnover", x: "2/06"}, %{y: 98, category: "ggr", x: "2/06"}, %{y: 48, category: "bets", x: "2/06"}, %{y: 32, category: "margin", x: "2/06"}, %{y: 64, category: "actives", x: "3/06"}, %{y: 48, category: "turnover", x: "3/06"}, %{y: 38, category: "ggr", x: "3/06"}, %{y: 40, category: "bets", x: "3/06"}, %{y: 41, category: "margin", x: "3/06"}, %{y: 91, category: "actives", x: "4/06"}, %{y: 61, category: "turnover", x: "4/06"}, %{y: 39, category: "ggr", x: "4/06"}, %{y: 37, category: "bets", x: "4/06"}, %{y: 68, category: "margin", x: "4/06"}, %{y: 33, category: "actives", x: "5/06"}, %{y: 92, category: "turnover", x: "5/06"}, %{y: 90, category: "ggr", x: "5/06"}, %{y: 72, category: "bets", x: "5/06"}, %{y: 77, category: "margin", x: "5/06"}, %{y: 91, category: "actives", x: "6/06"}, %{y: 74, category: "turnover", x: "6/06"}, %{y: 69, category: "ggr", x: "6/06"}, %{y: 42, category: "bets", x: "6/06"}, %{y: 41, category: "margin", x: "6/06"}, %{y: 55, category: "actives", x: "7/06"}, %{y: 66, category: "turnover", x: "7/06"}, %{y: 90, category: "ggr", x: "7/06"}, %{y: 65, category: "bets", x: "7/06"}, %{y: 49, category: "margin", x: "7/06"}, %{y: 45, category: "actives", x: "8/06"}, %{y: 96, category: "turnover", x: "8/06"}, %{y: 98, category: "ggr", x: "8/06"}, %{y: 52, category: "bets", x: "8/06"}, %{y: 87, category: "margin", x: "8/06"}, %{y: 73, category: "actives", x: "9/06"}, %{y: 97, category: "turnover", x: "9/06"}, %{y: 66, category: "ggr", x: "9/06"}, %{y: 44, category: "bets", x: "9/06"}, %{y: 100, category: "margin", x: "9/06"}, %{y: 50, category: "actives", x: "10/06"}, %{y: 35, category: "turnover", x: "10/06"}, %{y: 44, category: "ggr", ...}, %{y: 57, ...}, %{...}, ... ]