From 884ce9c4f6d93e46edb9263eaca6ce156c46d283 Mon Sep 17 00:00:00 2001 From: Brian Runnells Date: Tue, 24 Feb 2015 19:48:12 -0600 Subject: [PATCH] Remove theme mixin This file is no longer used and should have been removed as part of #7 --- addon/mixins/highcharts-theme.js | 115 ------------------------------- 1 file changed, 115 deletions(-) delete mode 100644 addon/mixins/highcharts-theme.js diff --git a/addon/mixins/highcharts-theme.js b/addon/mixins/highcharts-theme.js deleted file mode 100644 index 3dc1add..0000000 --- a/addon/mixins/highcharts-theme.js +++ /dev/null @@ -1,115 +0,0 @@ -import Ember from 'ember'; - -export default Ember.Mixin.create({ - buildTheme: function() { - Highcharts.theme = { - colors: [ - '#258be2', - '#666666', - '#f45b5b', - '#8085e9', - '#8d4654', - '#7798bf', - '#aaeeee', - '#ff0066', - '#eeaaee', - '#55bf3b', - '#df5353', - '#7798bf', - '#aaeeee' - ], - chart: { - backgroundColor: null, - style: { - fontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif" - } - }, - title: { - style: { - color: 'black', - fontSize: '18px', - fontWeight: 'bold' - } - }, - subtitle: { - style: { - color: 'black' - } - }, - tooltip: { - borderWidth: 0, - style: { - fontSize: '16px' - } - }, - legend: { - itemStyle: { - fontWeight: 'bold', - fontSize: '14px' - } - }, - xAxis: { - labels: { - style: { - color: '#6e6e70', - fontSize: '16px' - } - }, - title: { - style: { - fontSize: '14px' - } - } - }, - yAxis: { - labels: { - style: { - color: '#6e6e70', - fontSize: '16px' - } - }, - title: { - style: { - fontSize: '14px' - } - } - }, - plotOptions: { - series: { - shadow: true - }, - candlestick: { - lineColor: '#404048' - } - }, - navigator: { - xAxis: { - gridLineColor: '#D0D0D8' - } - }, - rangeSelector: { - buttonTheme: { - fill: 'white', - stroke: '#C0C0C8', - 'stroke-width': 1, - states: { - select: { - fill: '#D0D0D8' - } - } - } - }, - scrollbar: { - trackBorderColor: '#C0C0C8' - }, - background2: '#E0E0E8', - global: { - timezoneOffset: new Date().getTimezoneOffset() - }, - credits: { - enabled: false - } - }; - return Highcharts.setOptions(Highcharts.theme); - } -});