Sha256: fc7ff3353d1ca7175f47960e3d7498df731772047333d1cf1fefffb00fb6d22e

Contents?: true

Size: 1.75 KB

Versions: 30

Compression:

Stored size: 1.75 KB

Contents

/**
 * Grid theme for Highcharts JS
 * @author Torstein Hønsi
 */

Highcharts.theme = {
	colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
	chart: {
		backgroundColor: {
			linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
			stops: [
				[0, 'rgb(255, 255, 255)'],
				[1, 'rgb(240, 240, 255)']
			]
		},
		borderWidth: 2,
		plotBackgroundColor: 'rgba(255, 255, 255, .9)',
		plotShadow: true,
		plotBorderWidth: 1
	},
	title: {
		style: {
			color: '#000',
			font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
		}
	},
	subtitle: {
		style: {
			color: '#666666',
			font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
		}
	},
	xAxis: {
		gridLineWidth: 1,
		lineColor: '#000',
		tickColor: '#000',
		labels: {
			style: {
				color: '#000',
				font: '11px Trebuchet MS, Verdana, sans-serif'
			}
		},
		title: {
			style: {
				color: '#333',
				fontWeight: 'bold',
				fontSize: '12px',
				fontFamily: 'Trebuchet MS, Verdana, sans-serif'

			}
		}
	},
	yAxis: {
		minorTickInterval: 'auto',
		lineColor: '#000',
		lineWidth: 1,
		tickWidth: 1,
		tickColor: '#000',
		labels: {
			style: {
				color: '#000',
				font: '11px Trebuchet MS, Verdana, sans-serif'
			}
		},
		title: {
			style: {
				color: '#333',
				fontWeight: 'bold',
				fontSize: '12px',
				fontFamily: 'Trebuchet MS, Verdana, sans-serif'
			}
		}
	},
	legend: {
		itemStyle: {
			font: '9pt Trebuchet MS, Verdana, sans-serif',
			color: 'black'

		},
		itemHoverStyle: {
			color: '#039'
		},
		itemHiddenStyle: {
			color: 'gray'
		}
	},
	labels: {
		style: {
			color: '#99b'
		}
	},

	navigation: {
		buttonOptions: {
			theme: {
				stroke: '#CCCCCC'
			}
		}
	}
};

// Apply the theme
var highchartsOptions = Highcharts.setOptions(Highcharts.theme);

Version data entries

30 entries across 30 versions & 11 rubygems

Version Path
activeadmin_ueditor-0.2.0 public/assets/ueditor/third-party/highcharts/themes/grid.js
translation_cms-0.1.5 app/assets/javascripts/highcharts/themes/grid.js
neditor_rails-0.1.0 vendor/assets/javascripts/neditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails5-0.3.1 app/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails5-0.3.0 app/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.2.3 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.2.2 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.2.1 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.2.0 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.1.0 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.0.5 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.0.4 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
baidu_ueditor_rails-0.0.3 vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js
highstock-rails-1.3.7 app/assets/javascripts/highstock/themes/grid.js
highstock_rails-1.3.7.1 vendor/assets/javascripts/highstock/themes/grid.js
highstocks-rails-0.0.3 app/assets/javascripts/highstocks/themes/grid.js
highstocks-rails-0.0.2 app/assets/javascripts/highstocks/themes/grid.js
highstocks-rails-0.0.1 app/assets/javascripts/highstocks/themes/grid.js
highcharts-rails-3.0.7 app/assets/javascripts/highcharts/themes/grid.js
highcharts-rails-3.0.6 app/assets/javascripts/highcharts/themes/grid.js