ServerChart Demos and Examples


Welcome to the JClass ServerChart Demos and Examples.

Environment Tests JClass Environment Tests. These tests check whether your environment is properly configured to run the JClass samples. If you are having trouble running one of the examples or demos, these tests may help you diagnose the problem.

Basic ServerChart Examples:

Basic Servlet Example Demonstrates the use of a ServerChart in a servlet.
Plot Example Demonstrates the creation of a plot chart.
Inverted Bar Example Demonstrates the creation of a bar chart using inverted axes.
3D Bar Example Demonstrates the creation of a 3D bar chart.
Polar Example Demonstrates the creation of a polar chart.
Radar Example Demonstrates the creation of a radar chart.
Area Radar Example Demonstrates the creation of a radar area chart.

JSP Examples:

Basic JSP Example Demonstrates the use of a ServerChart in a JSP. Also demonstrates the autolabel function.
Bean JSP Example Demonstrates the use of the ServerChart bean in a JSP.
Chart Service JSP XML SVG Example Demonstrates how to create a chart from an XML file and encode to SVG using the Chart Service Bean.
Chart Service JSP XML Flash Example Demonstrates how to create a chart from an XML file and encode to Shockwave Flash using the Chart Service Bean.
Chart Service JSP Embedded XML Example Demonstrates how to create a chart from embedded XML using the Chart Service Bean.
Chart Service JSP Java Class Example Demonstrates how to configure and populate a chart from a java class using the Chart Service Bean.
Chart Service JSP XML and Data Example Demonstrates how to create a chart from an XML file and loading in data from a separate file using the Chart Service Bean.
Chart Service JSP Localization Example Chart which is created from an XML file, and localized with a properties file.

JavaServer Faces Examples:

Basic JCFacesChart Example Demonstrates the basic use of JCFacesChart.
Simple Data JSF Example Demonstrates the creation of a chart using a simple DataModel.
Scatter JSF Example Demonstrates the creation of a scatter plot chart with data, labels, and image map created in a backing bean.
Pie JSF Example Demonstrates the creation of a pie chart with an image map.
Object JSF Example Demonstrates a chart with updating data.
ActionListener JSF Example Demonstrates a chart with an action listener.
Localize JSF Example Demonstrates a chart with localized chart.xml file.
Localize JSF With a Properties File Example Demonstrates localizing a chart by providing a properties file path to the useBundle attribute.

Data Model Examples:

Array Data Example Demonstrates loading data into a ServerChart from a file using the Array format.
Transposed Array Data Example Demonstrates loading data into a ServerChart from a file using the Transposed Array format.
XML Array Data Example Demonstrates loading data into a ServerChart from an XML file using the Array format.
Transposed XML Array Data Example Demonstrates loading data into a ServerChart from an XML file using the Transposed Array format.
General Data Example Demonstrates loading data into a ServerChart from a file using the General format.
Transposed General Data Example Demonstrates loading data into a ServerChart from a file using the Transposed General format.
XML General Data Example Demonstrates loading data into a ServerChart from an XML file using the General format.

Axis Examples:

Custom Labels Example Demonstrates the creation of custom axis labels on a ServerChart axis.
Time Axis Example Demonstrates the use of time labels on a ServerChart axis.

Threshold and Marker Examples:

Temperature Example Demonstrates the use of thresholds within ServerChart to highlight temperature ranges.
Price Example Demonstrates the use of thresholds in ServerChart to highlight positive and negative prices.
Control Chart Example Shows how to build a control chart in ServerChart using markers.
Data Threshold Chart Example Demonstrates the use of data thresholds and gradient fill styles in ServerChart.

Bean, Parameter, XML and Ajax Examples:

URL Parameter Servlet Example Demonstrates the creation of a ServerChart instance from parameters specified in an URL.
File Parameter Servlet Example Demonstrates the creation of a ServerChart instance from HTML parameters specified in a file.
XML File Servlet Example Demonstrates the creation of a ServerChart instance from an XML file.
XML External Data Servlet Example Demonstrates the creation of a ServerChart instance from an XML file with external data loaded from a class specified within that file.
Bean Parameter Servlet Example Demonstrates the creation of a ServerChart bean from parameters specified in an URL.
Localized XML Servlet Example Demonstrates the creation of a localized ServerChart using XML loaded programmatically.
Simple Ajax Example Demonstrates the use of ServerChart with Ajax.
Area/Volume Ajax Example Demonstrates how to connect two charts together and use Ajax dynamically update the charts.

Image Map Examples:

Basic Image Map Example Demonstrates the creation of HTML image maps for regions represented by data on a ServerChart instance.
Area Chart Image Map Example Demonstrates the creation of HTML image maps for an Area Chart using the Area_Center MapMethod property.
Pie Chart Image Map Example Demonstrates the creation of HTML image maps for a Pie Chart including tags for the `Other' slice.
Series Image Map Example Demonstrates the creation of HTML image maps of type Series for an Area Radar Chart.
Restricted Cluster Image Map Example Demonstrates the restriction of HTML image maps to a single cluster in a ServerChart instance.
Restricted Series Image Map Example Demonstrates the restriction of HTML image maps of type Point to a single series in a ServerChart instance.
Chart Region Image Map Example Demonstrates the generation of HTML image maps for broad chart regions: the footer, the header, the legend, the plot area, the chart area and the ServerChart component itself.
Chart Labels Image Map Example
Demonstrates the generation of HTML image maps for broad chart regions: the footer, the header, the legend, the plot area, the chart area and the ServerChart component itself.
XML Image Map Example
Demonstrates the generation of HTML image maps from an XML file.  The chart properties, the URL information for the image map, and the image map definition are all stored in the XML file.  A ServerChart instance is created from the XML file and the image map created from image map information stored in the chart.

Legend Examples:

Flow Legend Example Demonstrates the use of a custom legend to implement a flow layout.
Multi Column Legend Example Demonstrates the use of the multi-column legend.
Reverse Legend Example Demonstrates the use of a custom legend to implement a reverse layout.
Separator Legend Example Demonstrates the use of a custom legend to draw a separator between the legend title and body.

ServerChart Demos:

Customize Servlet Demo Demonstrates configuring a Chart using an HTML form.
Localize Servlet Demo Demonstrates configuring and localizing a Chart using an HTML form.
DrillDown Servlet Demo Demonstrates implementing drill-down behavior using the ServerChart image map feature.
Exploding Pies Demo Demonstrates implementing exploding pies behavior using the ServerChart image map feature.
JSP and Servlet Demo Demonstrates using a JSP to configure a JClass ServerChart servlet and the page that displays the output of the servlet.
XML Image Map Demo Demonstrates the use of XML to configure image map tags, through a website extolling the virtues of the beach planet, Sandula IV. This demo covers new features, including xml image map tags, and the serverchart tag library. The chart configuration xml was generated using ServerChart Designer, and only the new tag library tags are used to turn the ServerChart xml into interactive image maps. No java coding required!
Localize JCFacesChart Demo Demonstrates changing locales on a JCFacesChart.


Copyright© 2009 Quest Software Inc.