<?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" />

<!-- onClick のURLの引数チェック -->
<og:text>
  <table>
	<tr><td>CLM</td><td>=</td><td>{@CLM}</td></tr>
	<tr><td>VAL</td><td>=</td><td>{@VAL}</td></tr>
	<tr><td>IDX</td><td>=</td><td>{@IDX}</td></tr>
  </table>
</og:text>

	<!-- ﾁｬｰﾄ情報の取得 -->
	<og:query command="NEW">
		SELECT ENAME LABELS
			,SAL  VAL1
			,COMM VAL2
		FROM BONUS
		order by 1
	</og:query>

	<og:jsChart
		chartType			= "{@chartType}"
		labelColumn			= "LABELS"
		id					= ""
		height				= "{@height}"
		width				= "{@width}"
		title				= "{@chartTitle}"
		titlePosition		= "{@titlePosition}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		usePointStyle		= "{@usePointStyle}"
		barWidthPer			= "{@barWidthPer}"
		onClick				= "clickLink( event,obj,'result_sample2.jsp?command=RENEW&amp;CLM={CLM}&amp;VAL={VAL}&amp;IDX={IDX}' );"
		plugins				= "chartLabelPlugin"
		xposition			= "{@xposition}"
		xscaleType			= "{@xscaleType}"
		xlabel				= "{@xlabel}"
		xscaleCallback		= "function(value){return value + ' さん';}"
		xbeginAtZero		= "{@xbeginAtZero}"
		xmax				= "{@xmax}"
		xmin				= "{@xmin}"
		xstepSize			= "{@xstepSize}"
		optChart 			= ""
		optOptions			= ""
		optAxis				= ""
		optTicks			= ""
		optScaleLabel		= ""
		optGridLines		= ""
		timeUnit			= "{@timeUnit}"
		timeMax 			= "{@timeMax}"
		timeMin 			= "{@timeMin}"
		timeUnitStepSize	= "{@timeUnitStepSize}"
		timeSetFormat		= "{@timeSetFormat}"
		timeLblFormat		= "{@timeLblFormat}"
		tooltipFormat		= "{@tooltipFormat}"
		markValues			= "{@markValues}"
		markColors			= "{@markColors}"
		markLbls			= "{@markLbls}"
		markAdjust			= "{@markAdjust}"
		xmarkValues 		= "{@xmarkValues}"
		xmarkColors 		= "{@xmarkColors}"
		markWidth 			= "{@markWidth}"
		markDash 			= "{@markDash}"
		markFontSize 		= "{@markFontSize}"
		useZeroDataOmit 	= "{@useZeroDataOmit}"
		useRenderer 		= "{@useRenderer}"
		sortColumn			= "{@sortColumn}"
		useZoom 			= "{@useZoom}"
		varColumns 			= "{@varColumns}"
		debug				= "{@debug}"
	>
		<og:jsChartData
			chartColumn			= "VAL1"
			label				= "{@label}"
			type				= "{@type}"
			fill				= "{@fill}"
			tension				= "{@tension}"
			backgroundColor		= "{@backgroundColor}"
			borderColor			= "{@borderColor}"
			borderWidth			= "{@borderWidth}"
			borderDash			= "{@borderDash}"
			pointStyle			= "{@pointStyle}"
			pointRadius 		= "{@pointRadius}"
			showLine			= "{@showLine}"
			spanGaps			= "{@spanGaps}"
			pointBGColor		= "{@pointBGColor}"
			useAxis 			= "{@useAxis}"
			id					= ""
			position			= "{@position}"
			scaleType			= "{@scaleType}"
			categoryList		= "{@categoryList}"
			ylabel				= "{@ylabel}"
			beginAtZero			= "{@beginAtZero}"
			fontColor			= "{@fontColor}"
			scaleCallback		= "function(value){return value.toLocaleString() + '円';}"
			max					= "{@max}"
			min					= "{@min}"
			stepSize			= "{@stepSize}"
			ticks				= ""
			gridColor			= "{@gridColor}"
			gridLines			= ""
			optDataset			= ""
			optAxis				= ""
			optTicks			= ""
			optScaleLabel		= ""
			optGridLines		= ""
			debug				= "{@debug}"
		/>
	</og:jsChart>
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
