xlschartdatalabels-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.charts
class xlschartdatalabels

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.charts.xlschartdatalabels
all implemented interfaces:
ichartdatalabels, icharttextarea, ifont, ioptimizedupdate
direct known subclasses:
chartdatalabels

public class xlschartdatalabels
extends xlsobject
implements ichartdatalabels

constructor summary
xlschartdatalabels(java.lang.object parent)
           
 
method summary
 java.awt.font generatenativefont()
          generates .net font object corresponding to the current font.
 chartbackgroundmode getbackgroundmode()
          display mode of the background.
 java.awt.color getcolor()
          gets color
 java.lang.string getdelimiter()
          delimeter.
 java.lang.string getfontname()
          returns or sets the font name.
 xlschartseriedataformat getformat()
          gets corresponding data format.
 ichartframeformat getframeformat()
          return frame format.
 int getheight()
          y-size.
 int getindex()
          returns font index.
 excelcolors getknowncolor()
          returns or sets the primary color of the object.
 java.lang.string getnumberformat()
          represents trend line label number format.
 datalabelpositiontype getposition()
          represents data labels position.
 boolean getshowleaderlines()
          indicates whether leader lines is in data labels.
 double getsize()
          returns or sets the size of the font.
 java.lang.string getstrikethroughtype()
          represents the textarea strikethroughtype
 java.lang.string gettext()
          gets text.
 xlschartdatalabelarea gettextarea()
          text of area.
 int gettextrotationangle()
          text rotation angle.
 fontunderlinetype getunderline()
          returns or sets the type of underline applied to the font.
 cellrange getvaluefromcell()
          set range for value.
 fontvertialalignmenttype getverticalalignment()
          returns or sets font vertical alignment.
 int getwidth()
          x-size.
 int getx()
          x-position of upper-left corner.
 int gety()
          y-position of upper-left corner.
 boolean hasbubblesize()
          indicates whether bubble size is in data labels.
 void hasbubblesize(boolean value)
          indicates whether bubble size is in data labels.
 boolean hascategoryname()
          indicates whether category name is in data labels.
 void hascategoryname(boolean hascategoryname)
          sets whether category name is in data labels.
 boolean hasformula()
          gets or sets a value indicating whether this instance has formula.
 boolean haslegendkey()
          indicates whether legend key is in data labels.
 void haslegendkey(boolean haslegendkey)
          sets whether legend key is in data labels.
 boolean hasmanuallayout()
          indicates whether border formatting object was created.
 boolean haspercentage()
          indicates whether percentage is in data labels.
 void haspercentage(boolean value)
          indicates whether percentage is in data labels.
 boolean hasseriesname()
          indicates whether series name is in data labels.
 void hasseriesname(boolean hasseriesname)
          sets whether series name is in data labels.
 boolean hasvalue()
          indicates whether value is in data labels.
 void hasvalue(boolean hasvalue)
          sets whether value is in data labels.
 void haswedgecallout(boolean haswedgecallout)
          sets whether has wedge callout
 boolean isautocolor()
          indicates whether color has automatic color.
 boolean isautomode()
          true if background is set to automatic.
 boolean isbold()
          true if the font is bold.
 void isbold(boolean value)
          true if the font is bold.
 boolean ishmode()
          false value specifies that the height shall be interpreted as the bottom of the chart element..
 void ishmode(boolean value)
          false value specifies that the height shall be interpreted as the bottom of the chart element..
 boolean isitalic()
          true if the font style is italic.
 void isitalic(boolean value)
          true if the font style is italic.
 boolean isstrikethrough()
          true if the font is struck through with a horizontal line.
 void isstrikethrough(boolean value)
          true if the font is struck through with a horizontal line.
 boolean issubscript()
          true if the font is formatted as subscript.
 void issubscript(boolean value)
          true if the font is formatted as subscript.
 boolean issuperscript()
          true if the font is formatted as superscript.
 void issuperscript(boolean value)
          true if the font is formatted as superscript.
 boolean iswmode()
          false value specifies that the width shall be interpreted as the right of the chart element..
 void iswmode(boolean value)
          false value specifies that the width shall be interpreted as the right of the chart element..
 boolean isxmode()
          true value specifies that the x shall be interpreted as the left of the chart element..
 void isxmode(boolean value)
          true value specifies that the x shall be interpreted as the left of the chart element..
 boolean isymode()
          true value specifies that the y shall be interpreted as the top of the chart element...
 void isymode(boolean value)
          true value specifies that the y shall be interpreted as the top of the chart element...
 void setbackgroundmode(chartbackgroundmode value)
          display mode of the background.
 void setcolor(java.awt.color value)
          sets color
 void setdelimiter(java.lang.string value)
          delimeter.
 void setfontname(java.lang.string value)
          returns or sets the font name.
 void setheight(int value)
          y-size.
 void setknowncolor(excelcolors value)
          returns or sets the primary color of the object.
 void setnumberformat(java.lang.string value)
          represents trend line label number format.
 void setposition(datalabelpositiontype value)
          represents data labels position.
 void setsize(double value)
          returns or sets the size of the font.
 void setstrikethroughtype(java.lang.string value)
          represents the textarea strikethroughtype
 void settext(java.lang.string value)
          sets text.
 void settextrotationangle(int value)
          text rotation angle.
 void setunderline(fontunderlinetype value)
          returns or sets the type of underline applied to the font.
 void setvaluefromcell(cellrange valuefromcell)
          sets the value from cell range.
 void setverticalalignment(fontvertialalignmenttype value)
          returns or sets font vertical alignment.
 void setwidth(int value)
          x-size.
 void setx(int value)
          x-position of upper-left corner.
 void sety(int value)
          y-position of upper-left corner.
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
methods inherited from interface com.spire.xls.core.ichartdatalabels
setshowleaderlines
 
methods inherited from interface com.spire.xls.core.interfacess.ioptimizedupdate
beginupdate, endupdate
 
constructor detail

xlschartdatalabels

public xlschartdatalabels(java.lang.object parent)
method detail

hasseriesname

public boolean hasseriesname()
indicates whether series name is in data labels.
specified by:
hasseriesname in interface ichartdatalabels

hasseriesname

public void hasseriesname(boolean hasseriesname)
sets whether series name is in data labels.
specified by:
hasseriesname in interface ichartdatalabels

hascategoryname

public boolean hascategoryname()
indicates whether category name is in data labels.
specified by:
hascategoryname in interface ichartdatalabels
returns:

hascategoryname

public void hascategoryname(boolean hascategoryname)
sets whether category name is in data labels.
specified by:
hascategoryname in interface ichartdatalabels

hasvalue

public boolean hasvalue()
indicates whether value is in data labels.
specified by:
hasvalue in interface ichartdatalabels
returns:

hasvalue

public void hasvalue(boolean hasvalue)
sets whether value is in data labels.
specified by:
hasvalue in interface ichartdatalabels

haspercentage

public boolean haspercentage()
indicates whether percentage is in data labels.
specified by:
haspercentage in interface ichartdatalabels

haspercentage

public void haspercentage(boolean value)
indicates whether percentage is in data labels.
specified by:
haspercentage in interface ichartdatalabels

hasbubblesize

public boolean hasbubblesize()
indicates whether bubble size is in data labels.
specified by:
hasbubblesize in interface ichartdatalabels

hasbubblesize

public void hasbubblesize(boolean value)
indicates whether bubble size is in data labels.
specified by:
hasbubblesize in interface ichartdatalabels

hasformula

public boolean hasformula()
gets or sets a value indicating whether this instance has formula.

getdelimiter

public java.lang.string getdelimiter()
delimeter.
specified by:
getdelimiter in interface ichartdatalabels

setdelimiter

public void setdelimiter(java.lang.string value)
delimeter.
specified by:
setdelimiter in interface ichartdatalabels

haslegendkey

public boolean haslegendkey()
indicates whether legend key is in data labels.
specified by:
haslegendkey in interface ichartdatalabels

haslegendkey

public void haslegendkey(boolean haslegendkey)
sets whether legend key is in data labels.
specified by:
haslegendkey in interface ichartdatalabels

hasmanuallayout

public boolean hasmanuallayout()
indicates whether border formatting object was created. read-only.

getposition

public datalabelpositiontype getposition()
represents data labels position.
specified by:
getposition in interface ichartdatalabels

setposition

public void setposition(datalabelpositiontype value)
represents data labels position.
specified by:
setposition in interface ichartdatalabels

getshowleaderlines

public boolean getshowleaderlines()
indicates whether leader lines is in data labels.
specified by:
getshowleaderlines in interface ichartdatalabels

getnumberformat

public java.lang.string getnumberformat()
represents trend line label number format.
specified by:
getnumberformat in interface ichartdatalabels

setnumberformat

public void setnumberformat(java.lang.string value)
represents trend line label number format.
specified by:
setnumberformat in interface ichartdatalabels

isbold

public boolean isbold()
true if the font is bold. read / write boolean.
specified by:
isbold in interface ifont

isbold

public void isbold(boolean value)
true if the font is bold. read / write boolean.
specified by:
isbold in interface ifont

getknowncolor

public excelcolors getknowncolor()
returns or sets the primary color of the object.
specified by:
getknowncolor in interface ifont

setknowncolor

public void setknowncolor(excelcolors value)
returns or sets the primary color of the object.
specified by:
setknowncolor in interface ifont

getcolor

public java.awt.color getcolor()
gets color
specified by:
getcolor in interface ifont

setcolor

public void setcolor(java.awt.color value)
sets color
specified by:
setcolor in interface ifont

isitalic

public boolean isitalic()
true if the font style is italic. read / write boolean.
specified by:
isitalic in interface ifont

isitalic

public void isitalic(boolean value)
true if the font style is italic. read / write boolean.
specified by:
isitalic in interface ifont

getsize

public double getsize()
returns or sets the size of the font. read / write variant.
specified by:
getsize in interface ifont

setsize

public void setsize(double value)
returns or sets the size of the font. read / write variant.
specified by:
setsize in interface ifont

isstrikethrough

public boolean isstrikethrough()
true if the font is struck through with a horizontal line. read / write boolean
specified by:
isstrikethrough in interface ifont

isstrikethrough

public void isstrikethrough(boolean value)
true if the font is struck through with a horizontal line. read / write boolean
specified by:
isstrikethrough in interface ifont

issubscript

public boolean issubscript()
true if the font is formatted as subscript. false by default. read / write boolean.
specified by:
issubscript in interface ifont

issubscript

public void issubscript(boolean value)
true if the font is formatted as subscript. false by default. read / write boolean.
specified by:
issubscript in interface ifont

issuperscript

public boolean issuperscript()
true if the font is formatted as superscript. false by default. read/write boolean
specified by:
issuperscript in interface ifont

issuperscript

public void issuperscript(boolean value)
true if the font is formatted as superscript. false by default. read/write boolean
specified by:
issuperscript in interface ifont

getunderline

public fontunderlinetype getunderline()
returns or sets the type of underline applied to the font.
specified by:
getunderline in interface ifont

setunderline

public void setunderline(fontunderlinetype value)
returns or sets the type of underline applied to the font.
specified by:
setunderline in interface ifont

getfontname

public java.lang.string getfontname()
returns or sets the font name. read / write string.
specified by:
getfontname in interface ifont

setfontname

public void setfontname(java.lang.string value)
returns or sets the font name. read / write string.
specified by:
setfontname in interface ifont

getverticalalignment

public fontvertialalignmenttype getverticalalignment()
returns or sets font vertical alignment.
specified by:
getverticalalignment in interface ifont

setverticalalignment

public void setverticalalignment(fontvertialalignmenttype value)
returns or sets font vertical alignment.
specified by:
setverticalalignment in interface ifont

isautocolor

public boolean isautocolor()
indicates whether color has automatic color. read-only.
specified by:
isautocolor in interface ifont

getstrikethroughtype

public java.lang.string getstrikethroughtype()
represents the textarea strikethroughtype
specified by:
getstrikethroughtype in interface ifont

setstrikethroughtype

public void setstrikethroughtype(java.lang.string value)
represents the textarea strikethroughtype
specified by:
setstrikethroughtype in interface ifont

generatenativefont

public java.awt.font generatenativefont()
generates .net font object corresponding to the current font.
specified by:
generatenativefont in interface ifont
returns:
generated .net font.

gettext

public java.lang.string gettext()
gets text.
specified by:
gettext in interface icharttextarea

settext

public void settext(java.lang.string value)
sets text.

getframeformat

public ichartframeformat getframeformat()
return frame format. read-only.
specified by:
getframeformat in interface icharttextarea

gettextrotationangle

public int gettextrotationangle()
text rotation angle. between -90 and 90.
specified by:
gettextrotationangle in interface icharttextarea

settextrotationangle

public void settextrotationangle(int value)
text rotation angle. between -90 and 90.

getbackgroundmode

public chartbackgroundmode getbackgroundmode()
display mode of the background.
specified by:
getbackgroundmode in interface icharttextarea

setbackgroundmode

public void setbackgroundmode(chartbackgroundmode value)
display mode of the background.

isautomode

public boolean isautomode()
true if background is set to automatic.
specified by:
isautomode in interface icharttextarea

getformat

public xlschartseriedataformat getformat()
gets corresponding data format. read-only.

getvaluefromcell

public cellrange getvaluefromcell()
set range for value. above excel 2013

setvaluefromcell

public void setvaluefromcell(cellrange valuefromcell)
sets the value from cell range. above excel 2013

iswmode

public boolean iswmode()
false value specifies that the width shall be interpreted as the right of the chart element..

iswmode

public void iswmode(boolean value)
false value specifies that the width shall be interpreted as the right of the chart element..

ishmode

public boolean ishmode()
false value specifies that the height shall be interpreted as the bottom of the chart element..

ishmode

public void ishmode(boolean value)
false value specifies that the height shall be interpreted as the bottom of the chart element..

isxmode

public boolean isxmode()
true value specifies that the x shall be interpreted as the left of the chart element..

isxmode

public void isxmode(boolean value)
true value specifies that the x shall be interpreted as the left of the chart element..

isymode

public boolean isymode()
true value specifies that the y shall be interpreted as the top of the chart element...

isymode

public void isymode(boolean value)
true value specifies that the y shall be interpreted as the top of the chart element...

getx

public int getx()
x-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true

setx

public void setx(int value)
x-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true

gety

public int gety()
y-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true

sety

public void sety(int value)
y-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true

gettextarea

public xlschartdatalabelarea gettextarea()
text of area.

haswedgecallout

public void haswedgecallout(boolean haswedgecallout)
sets whether has wedge callout
parameters:
haswedgecallout -

getheight

public int getheight()
y-size. 1/4000 of chart plot. ishmode shall set to true

setheight

public void setheight(int value)
y-size. 1/4000 of chart plot. ishmode shall set to true

getwidth

public int getwidth()
x-size. 1/4000 of chart plot. iswmode shall set to true

setwidth

public void setwidth(int value)
x-size. 1/4000 of chart plot. iswmode shall set to true

getindex

public int getindex()
returns font index. read-only.


网站地图