All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class MSBChart.ChartApplet
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----MSBChart.ChartApplet
  -  public class ChartApplet
  -  extends Applet
You can use the ChartApplet to display charts on a web page. 
Some parameters of the applet have a special format:
  - Colors: valid values are:
    RED,BLUE,GREEN,BLACK,GRAY,LIGHTGRAY,WHITE,DARKGRAY,YELLOW,ORANGE,CYAN and
    MAGENTA.
- Line styles have the format  <width>|<color>|<style>.
    Style can be LINE, DASHED or DOTS. Example: "0.2|RED|LINE"
- Fonts have the format  <font name>|<style>|<size>.
    Style can be PLAIN, ITALIC or BOLD. Example: "Arial|BOLD|12"
- Fill style: like color.
- List of values. List of values a separated by "|" 
 
The parameters of the applet are:
Title
  - TITLE. Text of the title.
- TITLE_FONT. Font of the title.
- TITLE_COLOR. Color of the title
Axis Label
  - XLABEL. Text of the label
- XLABEL_FONT. Font of the label
- XLABEL_COLOR. Color of the label
- YLABEL
- YLABEL_FONT
- YLABEL_COLOR
Scale
  - XSCALE_MIN
- YSCALE_MIN
- XSCALE_MAX
- YSCALE_MAX
Axis
  - XAXIS: "true" or "False"
- YAXIS
- GRIDX. Line style of the grid.
- GRIDY
- TICK_INTERVALX. default 1.
- TICK_INTERVALY
- BIG_TICK_INTERVALX. default 5.
- BIG_TICK_INTERVALY
- XAXIS_LABELS. List of labels
- YAXIS_LABELS
- CERO_XAXIS : valid values are NO,LINE and SCALE.
- CERO_YAXIS.
- XAXIS_STYLE. Line style of the axis.
- YAXIS_STYLE.
- XAXIS_FONT. Font of the labels.
- YAXIS_FONT
- XAXIS_FONT_COLOR. Color of the labels
- YAXIS_FONT_COLOR
- XAXIS_INTEGER. "True" or "false"
- YAXIS_INTEGER
- XAXIS_TICKATBASE . "True" or "false"
- YAXIS_TICKATBASE
Legend
  - LEGEND_FILL. Fill style of the legend. This is the background.
- LEGEND_COLOR. Color of the legend.
- LEGEND_FONT. Font of the legend.
- LEGEND_VERTICAL. "True" or "false". Layout of the
    elements in the legend.
- LEGEND_BORDER: Line style of the legend's border.
DataSerie (SERIE_1,SERIE_2, ...)
  - SERIE_1. Name of the serie.
- SERIE_DATA_1. Data of the serie. Example: "0|23|76|4"
- SERIE_STYLE_1. Line style of the lines (for LINE type) or fill style of
    the bars (for BAR type).
- SERIE_TYPE_1: Type of the serie (LINE,BAR or PIE).
- SERIE_FILL_1: Fill style for LINE charts.
- SERIE_FONT_1: font of the values.
- SERIE_COLOR_1: color of the values.
- SERIE_POINT_1: "True" or "false" (only LINE type).
- SERIE_POINT_COLOR_1: color of the point (only LINE type).
- SERIE_BORDE_TYPE_1: type of the border of the bar (only BAR type). NORMAL,
    RAISED or LOWERED.
- SERIE_BORDER_1:line style of the border of the bar (only BAR type).
PieChart
  - PIE_STYLE_1: fill styles of the elements in SERIE_1 if it is PIE type. The
    second element will need the parameter PIE_STYLE_2. ...
- PIE_NAME_1: text for the legend of the pie. The second element will need
    the parameter PIE_STYLE_2 ...
- SERIE_PERCENTAGES_1: "True" or "False".
- SERIE_DISTCENTER_1: Value between 0-1. Indicantes distance to center of
    the values.
- PIECHART_RADIUS: Size of the pie. Value between 0 and 1.
- PIECHART_3D: "True" or "False".
- PIE_BORDER: Line style of the border of the pie.
 
BarChart
  - BARCHART_VERTICAL: "True" or "False". Vertical columns
    or horizontal bars.
- BARCHART_CUMULATIVE: "True" or "False". True for
    stackbarChart.
- BARCHART_BARWIDTH
- BARCHART_BARSPACE
- BARCHART_GROUPSPACE
Chart
  - LEGEND_POSITION: position of the legend. Valid values are RIGHT, TOP or
    BOTTOM
- LEFT_MARGIN. (default 0.1, 10%). Reserverd space for the Y Axis.
- TOP_MARGIN. (default 0.1, 10%). Reserverd space for the title.
- BOTTOM_MARGIN. (default 0.1, 10%). Reserverd space for the X Axis.
- LEGEND_MARGIN. (default 0.2, 20%). Reserverd space for the legend.
- CHART_BORDER: Line style of the border of the chart.
- CHART_FILL:  Background of the chart (Fill style).
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index