incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r450952 [6/6] - in /incubator/adffaces/trunk/trinidad: src/site/xdoc/devguide/ trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/ trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/ trinidad-api/src/main/j...
Date Thu, 28 Sep 2006 18:07:59 GMT
Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalSaf-golden.xml?view=auto&rev=450952
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalSaf-golden.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalSaf-golden.xml Thu Sep 28 11:07:57 2006
@@ -0,0 +1,493 @@
+<results>
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[type,verticalBar]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[templateSource,/mySVGTemplate.svg]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/mySVGTemplate.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[legendPosition,end]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'end';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[animationDuration,1500]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1500);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[YMajorGridLineCount,7]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(7);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[YMinorGridLineCount,3]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(3);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[XMajorGridLineCount,4]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(4);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[maxPrecision,1]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(1);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[id,myid]-->
+
+      <div
+           class="af_chart"
+           id="myid"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("myid","svgChartmyid","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmyid';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[styleClass,mystyle]-->
+
+      <div
+           class="mystyle af_chart"
+           id="mainId"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[inlineStyle,width:600px; height:400px;]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+           style="width:600px; height:400px;"
+          >
+        
+        <script
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+</results>

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalScrRdr-golden.xml?view=auto&rev=450952
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalScrRdr-golden.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/chart-minimalScrRdr-golden.xml Thu Sep 28 11:07:57 2006
@@ -0,0 +1,505 @@
+<results>
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[type,verticalBar]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[templateSource,/mySVGTemplate.svg]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/mySVGTemplate.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[legendPosition,end]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'end';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[animationDuration,1500]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1500);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[YMajorGridLineCount,7]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(7);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[YMinorGridLineCount,3]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(3);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[XMajorGridLineCount,4]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(4);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[maxPrecision,1]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(1);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[id,myid]-->
+
+      <div
+           class="af_chart"
+           id="myid"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("myid","svgChartmyid","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmyid';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[styleClass,mystyle]-->
+
+      <div
+           class="mystyle af_chart"
+           id="mainId"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+<!--AttributeTest[inlineStyle,width:600px; height:400px;]-->
+
+      <div
+           class="af_chart"
+           id="mainId"
+           style="width:600px; height:400px;"
+          >
+        
+        <script
+             type="text/javascript"
+            >
+          ApacheChart.createSVG("mainId","svgChartmainId","encoded-resource-url:/test-context-path/adf/svg/chart.svg","width:100%; height:100%;",null);
+var seriesLabels = ['Previous','Target','Actual'];
+var groupLabels = ['June','July','August','September','October'];
+var seriesColors = ["RGB(231,109,72)","RGB(110,166,243)","RGB(157,206,110)","RGB(252,196,111)","RGB(114,126,142)","RGB(109,44,145)"];
+var xValues = [[6.1,6.3,6.5],[6.8,7.1,7.3],[7.6,7.8,8.0],[8.25,8.55,8.78],[9.23,9.48,9.88]];
+var yValues = [[135235.0,155535.0,141725.0],[106765.0,131725.0,127868.0],[108456.0,119326.0,139326.0],[136765.0,147265.0,184349.0],[107868.0,113968.0,174349.0]];
+var model = new ApacheChartModel(seriesLabels, groupLabels, yValues, xValues, seriesColors);
+model.setMinYValue(0.0);
+model.setMaxYValue(500000.0);
+model.setMinXValue(6.0);
+model.setMaxXValue(10.0);
+model.setTitle('Title');
+model.setSubTitle('SubTitle');
+model.setFootNote('FootNote');
+var type = 1;
+var chartId = 'svgChartmainId';
+var isPerspective = true;
+var legendPosition = 'bottom';
+var apacheChart = ApacheChart.createChart(type, model, chartId, isPerspective, legendPosition);apacheChart.setYMajorGridLineCount(3);
+apacheChart.setYMinorGridLineCount(-1);
+apacheChart.setXMajorGridLineCount(-1);
+apacheChart.setGradientsUsed(true);
+apacheChart.setAnimationDuration(1000);
+apacheChart.setTooltipsVisible(true);
+apacheChart.setMaxPrecision(0);
+apacheChart.setFormName('formId');
+apacheChart.setErrorHtml('<H4>This component needs an SVG enabled browser like Internet Explorer, Firefox 1.5+ or Opera 9.0+<H4>\n  ');
+apacheChart.setStatusHtml('<H4><H4>Please Wait. Attempting to load SVG document...</H4><H4>\n  ');
+apacheChart.draw();
+
+        </script>
+      </div>
+</results>

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/chart.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/chart.xml?view=auto&rev=450952
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/chart.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/chart.xml Thu Sep 28 11:07:57 2006
@@ -0,0 +1,20 @@
+<test xmlns="http://myfaces.apache.org/trinidad/test"
+       xmlns:tr="http://myfaces.apache.org/trinidad">
+  <base-component tr:type="org.apache.myfaces.trinidad.CoreChart"
+                  value="#{chartModel}"/>  
+
+  <!-- ungrouped --> 
+  <attribute-test name="type" value="verticalBar" matchesBase="true"/>
+  <attribute-test name="templateSource" value="/mySVGTemplate.svg"/>
+  <attribute-test name="legendPosition" value="end"/>
+  <attribute-test name="animationDuration" value="1500"/>
+  <attribute-test name="YMajorGridLineCount" value="7"/>
+  <attribute-test name="YMinorGridLineCount" value="3"/>
+  <attribute-test name="XMajorGridLineCount" value="4"/>
+  <attribute-test name="maxPrecision" value="1"/>
+
+   <!-- core -->  
+   <attribute-test name="id" value="myid"/>
+   <attribute-test name="styleClass" value="mystyle"/>     
+  <attribute-test name="inlineStyle" value="width:600px; height:400px;"/>
+</test>



Mime
View raw message