diff options
author | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-14 11:28:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 11:28:01 +0100 |
commit | 76ab07b6646c807d321274bfdfb2814cffb6af90 (patch) | |
tree | 3878861d9f6c8c70fd5d638fb3ce58857cee00d5 /html/assets/lib/highcharts/themes/grid-light.js | |
parent | cbae6c7e376faf9b4a76ab0631d9da168545e41f (diff) | |
parent | 701165fded99ff9f70a4379444d9bd1432052c63 (diff) |
Merge pull request #7 from sn3p/new-design4.4.0
New design
Diffstat (limited to 'html/assets/lib/highcharts/themes/grid-light.js')
-rw-r--r-- | html/assets/lib/highcharts/themes/grid-light.js | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/html/assets/lib/highcharts/themes/grid-light.js b/html/assets/lib/highcharts/themes/grid-light.js new file mode 100644 index 0000000..acf53ae --- /dev/null +++ b/html/assets/lib/highcharts/themes/grid-light.js @@ -0,0 +1,74 @@ +/** + * Grid-light theme for Highcharts JS + * @author Torstein Honsi + */ + +// Load the fonts +Highcharts.createElement('link', { + href: 'http://fonts.googleapis.com/css?family=Dosis:400,600', + rel: 'stylesheet', + type: 'text/css' +}, null, document.getElementsByTagName('head')[0]); + +Highcharts.theme = { + colors: ["#7cb5ec", "#f7a35c", "#90ee7e", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", + "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], + chart: { + backgroundColor: null, + style: { + fontFamily: "Dosis, sans-serif" + } + }, + title: { + style: { + fontSize: '16px', + fontWeight: 'bold', + textTransform: 'uppercase' + } + }, + tooltip: { + borderWidth: 0, + backgroundColor: 'rgba(219,219,216,0.8)', + shadow: false + }, + legend: { + itemStyle: { + fontWeight: 'bold', + fontSize: '13px' + } + }, + xAxis: { + gridLineWidth: 1, + labels: { + style: { + fontSize: '12px' + } + } + }, + yAxis: { + minorTickInterval: 'auto', + title: { + style: { + textTransform: 'uppercase' + } + }, + labels: { + style: { + fontSize: '12px' + } + } + }, + plotOptions: { + candlestick: { + lineColor: '#404048' + } + }, + + + // General + background2: '#F0F0EA' + +}; + +// Apply the theme +Highcharts.setOptions(Highcharts.theme); |