com.linksoft.chart
Class Legend

java.lang.Object
  extended bycom.linksoft.chart.ChartComponent
      extended bycom.linksoft.chart.Legend

public class Legend
extends ChartComponent

Copyright (c) 2002-2005 LinkSoft Systems, Inc. All Rights Reserved


Field Summary
 FillStyle background
           
 LineStyle border
           
 ChartColor color
           
 ChartFont font
           
 java.lang.String legendLabel
           
 int legendMargin
           
 java.lang.String title
           
 boolean verticalLayout
           
 
Fields inherited from class com.linksoft.chart.ChartComponent
chart, height, width, x, y
 
Constructor Summary
Legend()
           
 
Method Summary
 void addItem(java.lang.String name, java.lang.Object icon)
           
 void draw(ChartGraphics g)
           
 void drawHorizontal(ChartGraphics g)
           
 void drawVertical(ChartGraphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

background

public FillStyle background

border

public LineStyle border

legendMargin

public int legendMargin

title

public java.lang.String title

color

public ChartColor color

font

public ChartFont font

verticalLayout

public boolean verticalLayout

legendLabel

public java.lang.String legendLabel
Constructor Detail

Legend

public Legend()
Method Detail

addItem

public void addItem(java.lang.String name,
                    java.lang.Object icon)

draw

public void draw(ChartGraphics g)

drawHorizontal

public void drawHorizontal(ChartGraphics g)

drawVertical

public void drawVertical(ChartGraphics g)