<?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>
		SELECT 10 VAL1, 20 VAL2, 50 VAL3 FROM DUAL
		UNION ALL
		SELECT 20,10,100 FROM DUAL
		UNION ALL
		SELECT 50,50,120 FROM DUAL
		UNION ALL
		SELECT 22,33,55 FROM DUAL
		order by 1
	</og:query>
-->
	<!-- ﾁｬｰﾄ情報の取得 -->
	<og:query>
--		select ( to_date(HIREDATE)-to_date('1970-1-1') ) * 24 * 60 * 60 as VAL1
		select HIREDATE as VAL1
				, SAL as VAL2
		--		, EMPNO as VAL3
				, COMM  as VAL3
		from EMP
		order by 1
	</og:query>

	<!-- 最大値、最小値を求めます -->
	<og:value command="SETTBL" action="ALL_MAX_MIN" />
<!---->
	<og:columnEditor column="VAL1" renderer="DATE" param="yyyy/MM/dd" />

<!-- pointStyle : "circle","triangle","rect","rectRot","cross","crossRot","star","line","dash" -->
	<og:jsChart
		chartType			= "{@chartType}"
		height				= "{@height}"
		width				= "{@width}"
		max					= "{@max}"
		min					= "{@min}"
		stepSize			= "{@stepSize}"
		labelColumn			= "VAL1"
		title				= "{@chartTitle}"
		titlePosition		= "{@titlePosition}"
		ylabel				= "{@ylabel}"
		xlabel				= "{@xlabel}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		xscaleType			= "{@xscaleType}"
		yscaleType			= "{@yscaleType}"
		xmax				= "{@MAX.VAL1}"
		xmin				= "{@MIN.VAL1}"
		xstepSize			= "{@xstepSize}"
		ycategoryList		= "{@ycategoryList}"
		timeUnit			= "{@timeUnit}"
		timeUnitStepSize	= "{@timeUnitStepSize}"
		timeSetFormat		= "{@timeSetFormat}"
		timeLblFormat		= "{@timeLblFormat}"
		timeMax				= "'{@DATE.YMDF @MAX.VAL1}'"
		timeMin				= "'{@DATE.YMDF @MIN.VAL1}'"
		barWidthPer			= "{@barWidthPer}"
		usePointStyle		= "true"
		useRenderer			= "true"
		optionAttributes	= ""
		debug				= "{@debug}"
	>
		<og:jsChartData
			chartColumn			= "VAL2"
			label				= "値１"
			fill				= "{@fill}"
			tension				= "{@tension}"
			borderColor			= "yellow"
			borderWidth			= "{@borderWidth}"
			backgroundColor		= "red"
			pointStyle			= "rect"
			pointRadius			= "10"
			showLine			= "true"
			optionAttributes	= ""
		 />
		<og:jsChartData
			chartColumn			= "VAL3"
			label				= "値２"
			fill				= "{@fill}"
			tension				= "0"
			borderColor			= "blue"
			borderWidth			= "3"
			backgroundColor		= "green"
			pointStyle			= "circle"
			pointRadius			= "15"
			showLine			= "false"
			optionAttributes	= ""
		 />
	</og:jsChart>
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
