<?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" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />


	<!-- ﾁｬｰﾄ情報の取得 -->
	<og:query command="NEW">
		SELECT ENAME LABELS
			,SAL VAL1
			,COMM VAL2
		FROM BONUS
		order by 1
	</og:query>
	
	
<!-- 一番ｼﾝﾌﾟﾙな形式
	<og:jsChart
		chartType			= "{@chartType}"
		labelColumn			= "LABELS"
		debug				= "{@debug}"
	>
		<og:jsChartData
				chartColumn			= "VAL1"
				 />
	</og:jsChart>
-->

	<og:jsChart
		chartType			= "{@chartType}"
		height				= "{@height}"
		width				= "{@width}"
		labelColumn			= "LABELS"
		title				= "{@chartTitle}"
		titlePosition		= "{@titlePosition}"
		xlabel				= "{@xlabel}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		xscaleType			= "{@xscaleType}"
		xmax				= "{@xmax}"
		xmin				= "{@xmin}"
		xstepSize			= "{@xstepSize}"
		xscaleCallback		= "function(value){return value + ' さん';}"
		optOptions	= ""
		debug				= "{@debug}"
	>
	<og:jsChartData
			chartColumn			= "VAL1"
			label				= "給料"
			fill				= "{@fill}"
			scaleCallback		= "function(value){return value.toLocaleString() + '円';}"
			tension				= "{@tension}"
			stepSize			= "{@stepSize}"
			borderColor			= "{@borderColor}"
			borderWidth			= "{@borderWidth}"
			optDataset		= ""
			optAxis			= ""
			 />
	</og:jsChart>
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
