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

<!-- pointStyle : "circle","triangle","rect","rectRot","cross","crossRot","star","line","dash" -->
	<og:jsChart
		chartType			= "{@chartType}"
		height				= "{@height}"
		width				= "{@width}"
		max					= "{@max}"
		min					= "{@min}"
		stepSize			= "{@stepSize}"
		timeUnit			= "{@timeUnit}"
		timeUnitStepSize	= "{@timeUnitStepSize}"
		timeSetFormat		= "{@timeSetFormat}"
		timeLblFormat		= "{@timeLblFormat}"
		timeMax				= "{@timeMax}"
		timeMin				= "{@timeMin}"
		labelColumn			= "VAL1"
		title				= "{@chartTitle}"
		titlePosition		= "{@titlePosition}"
		ylabel				= "{@ylabel}"
		xlabel				= "{@xlabel}"
		legendDisplay		= "{@legendDisplay}"
		legendPosition		= "{@legendPosition}"
		xscaleType			= "{@xscaleType}"
		yscaleType			= "{@yscaleType}"
		xmax				= "{@xmax}"
		xmin				= "{@xmin}"
		xstepSize			= "{@xstepSize}"
		ycategoryList		= "{@ycategoryList}"
		barWidthPer			= "{@barWidthPer}"
		usePointStyle		= "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:root>