chartlegend-ag凯发旗舰厅



com.spire.presentation.charts.entity
class chartlegend

java.lang.object
  extended by com.spire.presentation.charts.entity.chartlegend

public class chartlegend
extends java.lang.object

represents chart's legend properties.


constructor summary
chartlegend( elem,  parent)
           
 
method summary
 void deleteentry(int index)
          delete legend entry by index
 effectdag geteffect()
          gets effects used for a chart.
 formatthreed geteffect3d()
          gets 3d format of a chart.
 textcharacterproperties[] getentrytextproperties()
          represent text properties of legend entry
 fillformat getfill()
          gets fill style properties of a chart.
 float getheight()
          gets the height of a legend.
 float getleft()
          gets the x coordinate of a legend.
 legendentrycollection getlegendentrys()
           
 ichartgridline getline()
          gets line style properties of a chart
 chartlegendpositiontype getposition()
          gets the position of the legend on a chart.
 itextframeproperties gettextproperties()
          represent text properties of legend
 float gettop()
          gets the y coordinate of a legend.
 float getwidth()
          gets he width of a legend.
 boolean isoverlay()
          indicates whether other chart elements allowed to overlap legend.
 void isoverlay(boolean value)
          indicates whether other chart elements allowed to overlap legend.
 void setentrys(cellranges range)
          represent text properties of legend set legend entry
 void setheight(float value)
          sets the height of a legend.
 void setleft(float value)
          sets the x coordinate of a legend.
 void setposition(chartlegendpositiontype value)
          sets the position of the legend on a chart.
 void settop(float value)
          sets the y coordinate of a legend.
 void setwidth(float value)
          sets the width of a legend.
 
constructor detail

chartlegend

public chartlegend( elem,
                    parent)
method detail

getwidth

public float getwidth()
gets he width of a legend. read/write .
returns:

setwidth

public void setwidth(float value)
sets the width of a legend. read/write .

getheight

public float getheight()
gets the height of a legend. read/write .
returns:

setheight

public void setheight(float value)
sets the height of a legend. read/write .

getleft

public float getleft()
gets the x coordinate of a legend. read/write .
returns:

setleft

public void setleft(float value)
sets the x coordinate of a legend. read/write .

gettop

public float gettop()
gets the y coordinate of a legend. read/write .
returns:

settop

public void settop(float value)
sets the y coordinate of a legend. read/write .

isoverlay

public boolean isoverlay()
indicates whether other chart elements allowed to overlap legend. read/write .
returns:

isoverlay

public void isoverlay(boolean value)
indicates whether other chart elements allowed to overlap legend. read/write .
parameters:
value -

getposition

public chartlegendpositiontype getposition()
gets the position of the legend on a chart. read/write .
returns:

setposition

public void setposition(chartlegendpositiontype value)
sets the position of the legend on a chart. read/write .

getfill

public fillformat getfill()
gets fill style properties of a chart. read-only .
returns:

getline

public ichartgridline getline()
gets line style properties of a chart
returns:

geteffect

public effectdag geteffect()
gets effects used for a chart. read-only .
returns:

geteffect3d

public formatthreed geteffect3d()
gets 3d format of a chart. read-only .
returns:

gettextproperties

public itextframeproperties gettextproperties()
represent text properties of legend
returns:

setentrys

public void setentrys(cellranges range)
represent text properties of legend set legend entry
parameters:
range -

deleteentry

public void deleteentry(int index)
delete legend entry by index
parameters:
index - the legend entry index must be between 0 and legendcount - 1
throws:
java.lang.exception

getentrytextproperties

public textcharacterproperties[] getentrytextproperties()
represent text properties of legend entry
returns:

getlegendentrys

public legendentrycollection getlegendentrys()
returns:
legend entry collection.


网站地图