<?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>
		SELECT '2017年01月01日' CDATE ,100 NUM ,200 NUM2	FROM DUAL
		UNION ALL SELECT '2017年01月02日' ,200 ,400	FROM DUAL
		UNION ALL SELECT '2017年01月03日' ,300 ,600	FROM DUAL
		UNION ALL SELECT '2017年03月01日' ,-50 ,-100	FROM DUAL
		UNION ALL SELECT '2017年04月01日' ,124 ,248	FROM DUAL
		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			= "CDATE"
		title				= "{@chartTitle}"
		titlePosition		= "{@titlePosition}"
		ylabel				= "{@ylabel}"
		xlabel				= "{@xlabel}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		xscaleType			= "{@xscaleType}"
		yscaleType			= "{@yscaleType}"
		ycategoryList		= "{@ycategoryList}"
		optionAttributes	= ""
		debug				= "{@debug}"
	>
	<og:jsChartData
			chartColumn			= "NUM"
			label				= "値１"
			fill				= "{@fill}"
			tension				= "{@tension}"
			borderColor			= "{@borderColor}"
			borderWidth			= "{@borderWidth}"
			backgroundColor		= "{@backgroundColor}"
			optionAttributes	= ""
			 />
	<og:jsChartData
				chartColumn			= "NUM2"
				label				= "値２"
				fill				= "{@fill}"
				tension				= "{@tension}"
				borderColor			= "blue"
				borderWidth			= "{@borderWidth}"
				backgroundColor		= "orange"
				optionAttributes	= ""
				 />
	</og:jsChart>
</jsp:root>