PageSourceSearch

https://www.marubeni-pharma.com/resources/graphtheme-tdnet/zaimutheme.js

js marubeni-pharma.com collected 2026-10-03 01:13:15 UTC 8,025 bytes, 382 lines download raw bytes

1/**
2 * default theme for Highcharts JS
3 * @author Yuki Sugaya 2023
4 */
5
6
7/* 財務ハイライト進行年用設定 */
8series1LatestColor = "rgba(230,107,0,0.25)";
9series2LatestColor = "rgba(230,107,0,0.55)";
10series3LatestColor = "rgba(230,107,0,0.75)";
11series4LatestColor = "rgba(230,107,0,1)";
12
13'undefined'===typeof Haa&&(Haa=Hab=Hac=Had=function(){});
14Highcharts.theme_zaimu = 
15//Highcharts.theme_haitou = 
16//Highcharts.theme = 
17{
18	colors: ["rgba(230, 0, 18,0.25)", "rgba(230, 0, 18,0.55)", "rgba(230, 0, 18,0.75)", "rgba(230, 0, 18, 1)",
19		"#df6f5f", "#e9ab15", "#eebfb8", "#d3d3d3",
20		"#dae6e8", "#b1bed0"],
21	chart: {
22        backgroundColor: 'rgba(255,255,255,0)' ,
23//		backgroundColor: {
24//			linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
25//			stops: [
26//				[0, 'rgb(255, 255, 255)'],
27//				[1, 'rgb(255, 255, 255)']
28//			]
29//		},
30		events: {
31			load: Haa ,
32			redraw: Hab
33		} ,
34		style: {
35			color: '#333333',
36			fontWeight: 'normal',
37			fontSize: '14px',
38			fontFamily: '"Yu Gothic Medium","游ゴシック","游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Sans","Hiragino Kaku Gothic ProN","メイリオ",meiryo,"MS Pゴシック", sans-serif'
39		},
40		borderColor: '#cccccc',
41		borderWidth: 0,
42		className: 'dark-container',
43		plotBackgroundColor: 'rgba(255, 255, 255, .1)',
44		plotBorderColor: '#cccccc',
45		plotBorderWidth: 0,
46		/* 財務ハイライト(自動)向けマージン設定 */
47		marginLeft:70,
48		marginRight:20,
49		/* 財務ハイライト(自動)向けタイトルなし設定 */
50//		marginTop: 25,
51		marginTop: 70,
52		spacingTop: 20
53	},
54	title: {
55		useHTML: true ,
56		/* 財務ハイライト(自動)向けタイトルなし設定 */
57//		floating: true ,
58		align: 'center',
59		verticalAlign: 'top',
60		y: 0 ,
61		text: false,
62		style: {
63		/* 財務ハイライト(自動)向けタイトルなし設定 */
64//			color: 'transparent',
65			color: '#333333',
66			fontWeight: 'bold',
67			fontSize: '18px'
68		}
69	},
70	subtitle: {
71		useHTML: true ,
72		style: {
73			color: '#666666',
74			fontWeight: 'bold',
75			fontSize: '12px'
76		}
77	},
78	xAxis: {
79		gridLineColor: '#cccccc',
80		gridLineWidth: 0,
81		lineColor: '#cccccc',
82		lineWidth: 1,
83		tickColor: '#cccccc',
84		tickWidth: 0,
85		labels: {
86			useHTML: true ,
87			staggerLines: false ,
88			autoRotation: [-15,-30,-45,-60] ,
89			style: {
90				color: '#333333',
91				fontWeight: 'normal',
92				fontSize: '12px'
93			} 
94		},
95		title: {
96			useHTML: true ,
97			style: {
98				color: '#CCC',
99				fontWeight: 'normal',
100				fontSize: '12px'
101			}
102		}
103	},
104	yAxis: {
105		/* 配当用設定 */
106//		reversedStacks: false,
107		gridLineColor: '#cccccc',
108		gridLineWidth: 1,
109		gridLineDashStyle: 'Dot',  // ex: Solid, Dot, Dash, ShortDash, ShortDot, LongDash, DashDot ...
110		lineColor: '#cccccc',
111		lineWidth: 1,
112		minorTickInterval: null,
113		tickColor: '#cccccc',
114		tickWidth: 0,
115		labels: {
116			useHTML: true ,
117			autoRotation: [-15,-30,-45,-60] ,
118			style: {
119				color: '#333333',
120				fontWeight: 'normal',
121				fontSize: '12px'
122			}
123		},
124		title: {
125			useHTML: true ,
126			style: {
127				color: '#666666',
128				fontWeight: 'normal',
129				fontSize: '12px'
130			}
131		}
132	},
133	tooltip: {
134		backgroundColor: 'rgba(0, 0, 0, 0.75)',
135		useHTML: true,
136		style: {
137			color: '#F0F0F0'
138		}
139	},
140	toolbar: {
141		itemStyle: {
142			color: 'silver'
143		}
144	},
145	plotOptions: {
146		line: {
147			marker: {
148//				lineColor: '#333',
149				symbol: "circle",
150				radius: 6
151			} ,
152			dataLabels: {
153				enabled: true ,
154				padding: 4
155			} ,
156			connectNulls: true ,
157			lineWidth: 2 ,
158			borderWidth: 0
159		},
160		bar: {
161			dataLabels: {
162				enabled: true ,
163				padding: 1
164			} ,
165			borderWidth: 0
166		} ,
167		column: {
168			dataLabels: {
169				enabled: true ,
170				padding: 1
171			} ,
172			borderWidth: 0
173		} ,
174		series: {
175			/* チャートジェネレータ設定 */
176			showCheckbox: true ,
177 			pointPadding: 0.1,
178			groupPadding: 0.2,
179			shadow: false ,
180			dataLabels: {
181				color: '#000000',
182				useHTML: true,
183				style: {
184					/* textShadow IE用(IE以外はcss上書きしているので注意) */
185//					textShadow: "0px 0px 4px #FFF, 0px 0px 3px #FFF, 1px 0px 3px #FFF, 0px 1px 3px #FFF, -1px 0px 3px #FFF, 0px -1px 3px #FFF",
186					textShadow: "1px 1px 0px #FFF, -1px -1px 0px #FFF, -1px 1px 0px #FFF, 1px -1px 0px #FFF",
187					fontWeight: 'bold',
188					fontSize: '11px'
189				},
190				formatter: function() {
191					try { return Haf(this); } catch(e) { return this.y; }
192				}
193			} ,
194			selected: true ,
195			events: {
196				checkboxClick: Hac,
197				legendItemClick : Had
198			}
199		} ,
200		pie: {
201			minSize: 120,
202			size: '80%',
203			innerSize: '0',
204			dataLabels: {
205				enabled: true ,
206				distance: -25,
207				softConnector: false,
208				connectorWidth: 2 ,
209//				connectorColor: '#333',
210				padding: 1,
211//				format: "{point.name} : {y}"
212			} ,
213			states: {
214				hover: {
215					halo: {
216						size: 0
217					}
218				}
219			} ,
220			borderColor: '#FFFFFF' ,
221			borderWidth: 0,
222			events: {
223				check: function(event) {
224					return(false);
225				}
226			}
227		}
228	},
229	legend: {
230		useHTML: true ,
231		itemMarginTop: 0,
232		itemMarginBottom: 5,
233		itemStyle: {
234			color: '#666666' ,
235			fontWeight: 'normal',
236			fontSize: '12px'
237		},
238		itemHoverStyle: {
239			color: '#999999'
240		},
241		itemHiddenStyle: {
242			color: '#ccc'
243		}
244	},
245	credits: {
246		enabled: false ,
247		style: {
248			color: '#FFF'
249		}
250	},
251	labels: {
252		style: {
253			color: '#CCC'
254		}
255	},
256
257	/* cssで非表示に設定してるので、表示させたい場合はcss側を変更する事。 */
258	navigation: {
259		buttonOptions: {
260			align: 'right',
261			x: -15,
262			y: -10,
263			symbolStroke: '#666666',
264			hoverSymbolStroke: '#FFFFFF',
265			theme: {
266				fill: {
267					linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
268					//stops: [
269					//	[0.4, '#606060'],
270					//	[0.6, '#333333']
271					//]
272				},
273		//		stroke: '#000000'
274			}
275		}
276	},
277
278	// scroll charts
279	rangeSelector: {
280		buttonTheme: {
281			fill: {
282				linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
283				stops: [
284					[0.4, '#888'],
285					[0.6, '#555']
286				]
287			},
288			stroke: '#000000',
289			style: {
290				color: '#CCC',
291				fontWeight: 'bold'
292			},
293			states: {
294				hover: {
295					fill: {
296						linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
297						stops: [
298							[0.4, '#BBB'],
299							[0.6, '#888']
300						]
301					},
302					stroke: '#000000',
303					style: {
304						color: 'white'
305					}
306				},
307				select: {
308					fill: {
309						linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
310						stops: [
311							[0.1, '#000'],
312							[0.3, '#333']
313						]
314					},
315					stroke: '#000000',
316					style: {
317						color: 'yellow'
318					}
319				}
320			}
321		},
322		inputStyle: {
323			backgroundColor: '#333',
324			color: 'silver'
325		},
326		labelStyle: {
327			color: 'silver'
328		}
329	},
330
331	navigator: {
332		handles: {
333			backgroundColor: '#666',
334			borderColor: '#AAA'
335		},
336		outlineColor: '#CCC',
337		maskFill: 'rgba(16, 16, 16, 0.5)',
338		series: {
339			color: '#7798BF',
340			lineColor: '#A6C7ED'
341		}
342	},
343
344	scrollbar: {
345		barBackgroundColor: {
346				linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
347				stops: [
348					[0.4, '#888'],
349					[0.6, '#555']
350				]
351			},
352		barBorderColor: '#CCC',
353		buttonArrowColor: '#CCC',
354		buttonBackgroundColor: {
355				linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
356				stops: [
357					[0.4, '#888'],
358					[0.6, '#555']
359				]
360			},
361		buttonBorderColor: '#CCC',
362		rifleColor: '#FFF',
363		trackBackgroundColor: {
364			linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
365			stops: [
366				[0, '#000'],
367				[1, '#333']
368			]
369		},
370		trackBorderColor: '#666'
371	},
372
373	// special colors for some of the
374	legendBackgroundColor: 'rgba(0, 0, 0, 0.5)',
375	background2: 'rgb(35, 35, 70)',
376	dataLabelsColor: '#444',
377	textColor: '#C0C0C0',
378	maskColor: 'rgba(255,255,255,0.3)'
379};
380
381// Apply the theme
382var highchartsOptions = Highcharts.setOptions(Highcharts.theme);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.