app/assets/javascripts/highcharts/themes/sand-signika.js in highcharts-rails-5.0.14 vs app/assets/javascripts/highcharts/themes/sand-signika.js in highcharts-rails-6.0.0
- old
+ new
@@ -1,30 +1,30 @@
/**
- * @license Highcharts JS v5.0.0 (2016-09-29)
+ * @license Highcharts JS v6.0.0 (2017-10-04)
*
- * (c) 2009-2016 Torstein Honsi
+ * (c) 2009-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
+'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function(Highcharts) {
(function(Highcharts) {
/**
- * (c) 2010-2016 Torstein Honsi
+ * (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*
* Sand-Signika theme for Highcharts JS
* @author Torstein Honsi
*/
- 'use strict';
/* global document */
// Load the fonts
Highcharts.createElement('link', {
href: 'https://fonts.googleapis.com/css?family=Signika:400,700',
rel: 'stylesheet',
@@ -32,16 +32,17 @@
}, null, document.getElementsByTagName('head')[0]);
// Add the background image to the container
Highcharts.wrap(Highcharts.Chart.prototype, 'getContainer', function(proceed) {
proceed.call(this);
- this.container.style.background = 'url(http://www.highcharts.com/samples/graphics/sand.png)';
+ this.container.style.background =
+ 'url(http://www.highcharts.com/samples/graphics/sand.png)';
});
Highcharts.theme = {
- colors: ['#f45b5b', '#8085e9', '#8d4654', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
+ colors: ['#f45b5b', '#8085e9', '#8d4654', '#7798BF', '#aaeeee',
+ '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
],
chart: {
backgroundColor: null,
style: {
fontFamily: 'Signika, serif'