From 451baef37d7d3cddd8c24ef5595e2d286aa0549d Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Wed, 13 Jun 2018 12:22:53 +0200
Subject: Scatter: Fix duplicate rarity in labels

---
 src/WinPickScatter.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/WinPickScatter.vue')

diff --git a/src/WinPickScatter.vue b/src/WinPickScatter.vue
index 7d3551d..f2d495c 100644
--- a/src/WinPickScatter.vue
+++ b/src/WinPickScatter.vue
@@ -35,7 +35,7 @@ export default Vue.component('win-pick-scatter', {
       const traces = maps.RARITIES.map((rarity) => ({
         x: dataWithRarity(rarity).map((entry) => entry.Winner),
         y: dataWithRarity(rarity).map((entry) => maps.playersPerMatch(this.selectedMode) * entry.Count / total),
-        text: dataWithRarity(rarity).map((entry) => `${maps.getHero(entry.Actor)} ${rarity}`),
+        text: dataWithRarity(rarity).map((entry) => maps.getHero(entry.Actor)),
         name: rarity,
         mode: 'markers',
         type: 'scatter',
-- 
cgit v1.3.1

