chartdatalabel-ag凯发旗舰厅



com.spire.presentation.charts.entity
class chartdatalabel

java.lang.object
  extended by com.spire.presentation.pptobject
      extended by com.spire.presentation.charts.entity.chartdatalabel

public class chartdatalabel
extends pptobject

represents a series labels.


constructor summary
chartdatalabel(chartseriesdataformat parent)
          creates a new instance of datalabel class.
chartdatalabel(chartseriesdataformat parent,  label)
           
 
method summary
 boolean getbubblesizevisible()
          indicates whethere chart's data label bubble size value will display.
 boolean getcategorynamevisible()
          indicates whethere chart's data label category name display behavior.
 datalabelshapetype getdatalabelshapetype()
          get datalabelshapetype
 java.util.hashmap getdatalabelsize()
          size of datalabel
 effectdag geteffect()
          gets effects used for a chart.
 formatthreed geteffect3d()
          gets 3d format of a chart.
 fillformat getfill()
          gets fill style properties of a chart.
 int getid()
          specifies which data label are applied properties.
 boolean getlabelvaluevisible()
          indicates whethere chart's data label percentage value display behavior.
 boolean getlegendkeyvisible()
          indicates whethere chart's data label legend key display behavior.
 ichartgridline getline()
          gets line style properties of a chart.
 java.lang.string getnumberformat()
          indicates the format string for the datalabels object.
 boolean getpercentagevisible()
          indicates whethere chart's data label percentage value display behavior.
 chartdatalabelposition getposition()
          indicates the position of the data lable.
 float getrotationangle()
          gets or sets rotation angle of chart's data label.
 java.lang.string getseparator()
          gets or sets the separator used for the data labels on a chart.
 boolean getseriesnamevisible()
          indicates whethere the series name display behavior for the data labels on a chart.
 itextframeproperties gettextframe()
          gets a textframe of this data label.
 itextframeproperties gettextproperties()
          gets text properties.
 float getx()
          get the x location(left) of the datalabel as a fraction of the width of the chart.
 float gety()
          get the x location(left) of the datalabel as a fraction of the width of the chart.
 boolean hasdatasource()
          gets and sets a reference to the worksheet
 void hasdatasource(boolean value)
          gets and sets a reference to the worksheet
 boolean isdelete()
          gets or sets the label's delete flag.
 void isdelete(boolean value)
          gets or sets the label's delete flag.
 void setbubblesizevisible(boolean value)
          indicates whethere chart's data label bubble size value will display.
 void setcategorynamevisible(boolean value)
          indicates whethere chart's data label category name display behavior.
 void setdatalabelshapetype(datalabelshapetype value)
          set datalabelshapetype
 void setdatalabelsize(float width, float height)
           
 void setid(int value)
          specifies which data label are applied properties.
 void setlabelvaluevisible(boolean value)
          indicates whethere chart's data label percentage value display behavior.
 void setlegendkeyvisible(boolean value)
          indicates whethere chart's data label legend key display behavior.
 void setnumberformat(java.lang.string value)
          indicates the format string for the datalabels object.
 void setpercentagevisible(boolean value)
          indicates whethere chart's data label percentage value display behavior.
 void setposition(chartdatalabelposition value)
          indicates the position of the data lable.
 void setrotationangle(float rotationangle)
           
 void setseparator(java.lang.string value)
          gets or sets the separator used for the data labels on a chart.
 void setseriesnamevisible(boolean value)
          indicates whethere the series name display behavior for the data labels on a chart.
 void setx(float value)
          specifies the x location(left) of the datalabel as a fraction of the width of the chart.
 void sety(float value)
          specifies the y location(top) of the datalabel as a fraction of the height of the chart.
 
methods inherited from class com.spire.presentation.pptobject
checkdisposed, getparent
 
constructor detail

chartdatalabel

public chartdatalabel(chartseriesdataformat parent,
                       label)

chartdatalabel

public chartdatalabel(chartseriesdataformat parent)
creates a new instance of datalabel class.
parameters:
parent - parent series.
throws:
java.lang.illegalaccessexception
java.lang.reflect.invocationtargetexception
java.lang.instantiationexception
method detail

getdatalabelsize

public java.util.hashmap getdatalabelsize()
size of datalabel
returns:
ize of datalabel

setdatalabelsize

public void setdatalabelsize(float width,
                             float height)

isdelete

public boolean isdelete()
gets or sets the label's delete flag. true means that data label was removed by user but preserved in file.
returns:

isdelete

public void isdelete(boolean value)
gets or sets the label's delete flag. true means that data label was removed by user but preserved in file.

getid

public int getid()
specifies which data label are applied properties. read/write .
returns:

setid

public void setid(int value)
specifies which data label are applied properties. read/write .

hasdatasource

public boolean hasdatasource()
gets and sets a reference to the worksheet
returns:

hasdatasource

public void hasdatasource(boolean value)
gets and sets a reference to the worksheet

getnumberformat

public java.lang.string getnumberformat()
indicates the format string for the datalabels object. read/write .
returns:

setnumberformat

public void setnumberformat(java.lang.string value)
indicates the format string for the datalabels object. read/write .

gettextframe

public itextframeproperties gettextframe()
gets a textframe of this data label.
returns:

gettextproperties

public itextframeproperties gettextproperties()
gets text properties. readonly .
returns:

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:

getposition

public chartdatalabelposition getposition()
indicates the position of the data lable. read/write .
returns:

setposition

public void setposition(chartdatalabelposition value)
indicates the position of the data lable. read/write .

getlegendkeyvisible

public boolean getlegendkeyvisible()
indicates whethere chart's data label legend key display behavior. read/write .
returns:

setlegendkeyvisible

public void setlegendkeyvisible(boolean value)
indicates whethere chart's data label legend key display behavior. read/write .

getcategorynamevisible

public boolean getcategorynamevisible()
indicates whethere chart's data label category name display behavior. read/write .
returns:

setcategorynamevisible

public void setcategorynamevisible(boolean value)
indicates whethere chart's data label category name display behavior. read/write .

getlabelvaluevisible

public boolean getlabelvaluevisible()
indicates whethere chart's data label percentage value display behavior. read/write .
returns:

setlabelvaluevisible

public void setlabelvaluevisible(boolean value)
indicates whethere chart's data label percentage value display behavior. read/write .

getpercentagevisible

public boolean getpercentagevisible()
indicates whethere chart's data label percentage value display behavior. read/write .
returns:

setpercentagevisible

public void setpercentagevisible(boolean value)
indicates whethere chart's data label percentage value display behavior. read/write .

getseriesnamevisible

public boolean getseriesnamevisible()
indicates whethere the series name display behavior for the data labels on a chart. read/write .
returns:

setseriesnamevisible

public void setseriesnamevisible(boolean value)
indicates whethere the series name display behavior for the data labels on a chart. read/write .

getbubblesizevisible

public boolean getbubblesizevisible()
indicates whethere chart's data label bubble size value will display. read/write .
returns:

setbubblesizevisible

public void setbubblesizevisible(boolean value)
indicates whethere chart's data label bubble size value will display. read/write .

getseparator

public java.lang.string getseparator()
gets or sets the separator used for the data labels on a chart. read/write .
returns:

setseparator

public void setseparator(java.lang.string value)
gets or sets the separator used for the data labels on a chart. read/write .

getx

public float getx()
get the x location(left) of the datalabel as a fraction of the width of the chart. the position is relative to the default position. read/write .

setx

public void setx(float value)
specifies the x location(left) of the datalabel as a fraction of the width of the chart. the position is relative to the default position. read/write .
parameters:
value -

gety

public float gety()
get the x location(left) of the datalabel as a fraction of the width of the chart. the position is relative to the default position. read/write .

sety

public void sety(float value)
specifies the y location(top) of the datalabel as a fraction of the height of the chart. the position is relative to the default position. read/write .
parameters:
value -

getrotationangle

public float getrotationangle()
gets or sets rotation angle of chart's data label. read/write .
returns:

setrotationangle

public void setrotationangle(float rotationangle)

getdatalabelshapetype

public datalabelshapetype getdatalabelshapetype()
get datalabelshapetype
returns:

setdatalabelshapetype

public void setdatalabelshapetype(datalabelshapetype value)
set datalabelshapetype
parameters:
value -


网站地图