<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result" useChartJS="true" />


	<!-- ﾁｬｰﾄ情報の取得 -->
	<og:query command="NEW">
		SELECT ENAME LABELS
			,SAL VAL1
			,COMM VAL2
		FROM BONUS
		order by 1
	</og:query>
	
	<og:jsChart
		chartType			= "{@chartType}"
		height				= "{@height}"
		width				= "{@width}"
		max					= "{@max}"
		min					= "{@min}"
		stepSize			= "{@stepSize}"
		barWidthPer			= "{@barWidthPer}"
		timeUnit			= "{@timeUnit}"
		timeUnitStepSize	= "{@timeUnitStepSize}"
		timeSetFormat		= "{@timeSetFormat}"
		timeLblFormat		= "{@timeLblFormat}"
		timeMax				= "{@timeMax}"
		timeMin				= "{@timeMin}"
		labelColumn			= "LABELS"
		title				= "{@title}"
		titlePosition		= "{@titlePosition}"
		ylabel				= "{@ylabel}"
		xlabel				= "{@xlabel}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		xscaleType			= "{@xscaleType}"
		yscaleType			= "{@yscaleType}"
		ycategoryList		= "{@ycategoryList}"
		yscaleCallback		= "function(value){return value.toLocaleString() + '円';}"
		xscaleCallback		= "function(value){return value + ' さん';}"
		optionAttributes	= ""
		debug				= "{@debug}"
	>
	<og:jsChartData
			chartColumn			= "VAL1"
			label				= "給料"
			fill				= "{@fill}"
			tension				= "{@tension}"
			borderColor			= "{@borderColor}"
			borderWidth			= "{@borderWidth}"
			backgroundColor		= "{@backgroundColor}"
			optionAttributes	= ""
			 />
	<!--<og:jsChartData
			chartColumn			= "VAL2"
			label				= "手当"
			fill				= "{@fill}"
			tension				= "0.4"
			borderColor			= "rgba(30,30,30,0.5)"
			borderWidth			= "{@borderWidth}"
			backgroundColor		= "orange"
			optionAttributes	= ""
			 />-->
	</og:jsChart>
</jsp:root>