org.eclipse.birt.chart.script.api.component
Interface ILegend

All Superinterfaces:
IChartComponent

public interface ILegend
extends IChartComponent

Represents the Legend of a Chart in the scripting environment


Method Summary
 boolean isShowValue()
          Checks if series value could be shown in the Legend.
 void setShowValue(boolean show)
          Sets the option if series value could be shown in the Legend.
 
Methods inherited from interface org.eclipse.birt.chart.script.api.component.IChartComponent
getTitle, isVisible, setVisible
 

Method Detail

isShowValue

public boolean isShowValue()
Checks if series value could be shown in the Legend. Note that if chart is colored by category, this option is useless.

Returns:
show value or not
See Also:
IChart.isColorByCategory(), IChart.setColorByCategory(boolean)

setShowValue

public void setShowValue(boolean show)
Sets the option if series value could be shown in the Legend. Note that if chart is colored by category, this option is useless.

Parameters:
show - show value or not
See Also:
IChart.isColorByCategory(), IChart.setColorByCategory(boolean)


Copyright © 2005-2007 Actuate Corp. All rights reserved.