xlschartaxis-ag凯发旗舰厅



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

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.charts.xlschartaxis
all implemented interfaces:
ichartaxis
direct known subclasses:
xlschartcategoryaxis, xlschartseriesaxis, xlschartvalueaxis

public class xlschartaxis
extends xlsobject
implements ichartaxis

constructor summary
xlschartaxis(java.lang.object parent, boolean isprimary)
           
 
method summary
 xlschartaxis deepclone(java.lang.object parent, java.util.hashmap dicfontindexes, java.util.hashmap dicnewsheetnames)
          clone current object.
 axistextdirectiontype getalignment()
          represents alignment for the tick label.
 boolean getautoticklabelspacing()
           
 boolean getautotickmarkspacing()
           
 int getaxisid()
          gets axis id.
 axistype getaxistype()
          type of the axis.
 chartborder getborder()
          represents chart border.
 iformat3d getchart3doptions()
          gets the chart3 d options.
 iformat3d getchart3dproperties()
          gets the chart3 d properties.
 boolean getdeleted()
          gets or sets value indicating whether axis was deleted.
 ifont getfont()
          returns font used for axis text displaying.
 ichartframeformat getframeformat()
          return frame format of axis.
 boolean gethas3dproperties()
          this property indicates whether the shadow object has been created(which includes the 3d properties)
 ichartgridline getmajorgridlines()
          returns major gridlines.
 tickmarktype getmajortickmark()
          represents major tick marks.
 ichartgridline getminorgridlines()
          returns minor gridlines.
 tickmarktype getminortickmark()
          represents minor tick marks.
 boolean getmultilevellable()
          axis is show multi-level category lables.
 java.lang.string getnumberformat()
          gets or sets number format string.
 int getnumberformatindex()
          gets or sets format index.
 chartshadow getshadow()
          represents the shadow.read-only
 ishadow getshadowproperties()
          represents shadow propertes.read-only
 int gettextrotationangle()
          text rotation angle.
 ticklabelpositiontype getticklabelposition()
          represents tick label position.
 java.lang.string gettitle()
          title of the axis.
 icharttextarea gettitlearea()
          returns text area for the axis title.
 boolean getvisible()
          indicates is axis is visible.
 boolean hasaxistitle()
          indicates wheather the axis has title
 boolean hasmajorgridlines()
          true if the axis has major gridlines.
 void hasmajorgridlines(boolean hasmajorgridlines)
          sets true if the axis has major gridlines.
 boolean hasminorgridlines()
          true if the axis has minor gridlines.
 void hasminorgridlines(boolean value)
          true if the axis has minor gridlines.
 boolean isautotextrotation()
          returns text area for the axis title.
 boolean isprimary()
          true if this is primary axis.
 boolean isreversed()
          true if plots data points from last to first.
 void isreversed(boolean value)
          true if plots data points from last to first.
 boolean issourcelinked()
           
 void issourcelinked(boolean issourcelinked)
           
 void setalignment(axistextdirectiontype value)
          represents alignment for the tick label.
 void setautoticklabelspacing(boolean value)
           
 void setautotickmarkspacing(boolean value)
           
 void setaxisid(int value)
          sets axis id.
 void setaxistype(axistype value)
          type of the axis.
 void setdeleted(boolean value)
          gets or sets value indicating whether axis was deleted.
 void setmajortickmark(tickmarktype majortickmark)
          sets major tick marks.
 void setminortickmark(tickmarktype value)
          sets minor tick marks.
 void setmultilevellable(boolean value)
          axis is show multi-level category lables.
 void setnumberformat(java.lang.string numberformat)
          sets number format string.
 void setnumberformatindex(int value)
          gets or sets format index.
 void settextrotationangle(int value)
          text rotation angle.
 void setticklabelposition(ticklabelpositiontype ticklabelposition)
          sets tick label position.
 void settitle(java.lang.string title)
          sets title of the axis.
 void setvisible(boolean value)
          indicates is axis is visible.
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
constructor detail

xlschartaxis

public xlschartaxis(java.lang.object parent,
                    boolean isprimary)
method detail

getaxistype

public axistype getaxistype()
type of the axis.
specified by:
getaxistype in interface ichartaxis

setaxistype

public void setaxistype(axistype value)
type of the axis.

isprimary

public boolean isprimary()
true if this is primary axis.

gettitle

public java.lang.string gettitle()
title of the axis.
specified by:
gettitle in interface ichartaxis

settitle

public void settitle(java.lang.string title)
sets title of the axis.
specified by:
settitle in interface ichartaxis

gettextrotationangle

public int gettextrotationangle()
description copied from interface: ichartaxis
text rotation angle. should be integer value between -90 and 90.
specified by:
gettextrotationangle in interface ichartaxis

settextrotationangle

public void settextrotationangle(int value)
description copied from interface: ichartaxis
text rotation angle. should be integer value between -90 and 90.
specified by:
settextrotationangle in interface ichartaxis

isautotextrotation

public boolean isautotextrotation()
returns text area for the axis title. read-only.

gettitlearea

public icharttextarea gettitlearea()
returns text area for the axis title. read-only.
specified by:
gettitlearea in interface ichartaxis

getfont

public ifont getfont()
returns font used for axis text displaying. read-only.
specified by:
getfont in interface ichartaxis

getframeformat

public ichartframeformat getframeformat()
return frame format of axis. read-only.

gethas3dproperties

public boolean gethas3dproperties()
this property indicates whether the shadow object has been created(which includes the 3d properties)

hasaxistitle

public boolean hasaxistitle()
indicates wheather the axis has title

getmajorgridlines

public ichartgridline getmajorgridlines()
returns major gridlines. read-only.
specified by:
getmajorgridlines in interface ichartaxis

getminorgridlines

public ichartgridline getminorgridlines()
returns minor gridlines. read-only.
specified by:
getminorgridlines in interface ichartaxis

hasminorgridlines

public boolean hasminorgridlines()
true if the axis has minor gridlines. only axes in the primary axis group can have gridlines.
specified by:
hasminorgridlines in interface ichartaxis

hasminorgridlines

public void hasminorgridlines(boolean value)
true if the axis has minor gridlines. only axes in the primary axis group can have gridlines.
specified by:
hasminorgridlines in interface ichartaxis

hasmajorgridlines

public boolean hasmajorgridlines()
true if the axis has major gridlines. only axes in the primary axis group can have gridlines.
specified by:
hasmajorgridlines in interface ichartaxis

hasmajorgridlines

public void hasmajorgridlines(boolean hasmajorgridlines)
sets true if the axis has major gridlines. only axes in the primary axis group can have gridlines.
specified by:
hasmajorgridlines in interface ichartaxis

getnumberformatindex

public int getnumberformatindex()
gets or sets format index.

setnumberformatindex

public void setnumberformatindex(int value)
gets or sets format index.

getnumberformat

public java.lang.string getnumberformat()
gets or sets number format string.
specified by:
getnumberformat in interface ichartaxis

setnumberformat

public void setnumberformat(java.lang.string numberformat)
sets number format string.
specified by:
setnumberformat in interface ichartaxis

getminortickmark

public tickmarktype getminortickmark()
represents minor tick marks.
specified by:
getminortickmark in interface ichartaxis

setminortickmark

public void setminortickmark(tickmarktype value)
sets minor tick marks.
specified by:
setminortickmark in interface ichartaxis

getmajortickmark

public tickmarktype getmajortickmark()
represents major tick marks.
specified by:
getmajortickmark in interface ichartaxis

setmajortickmark

public void setmajortickmark(tickmarktype majortickmark)
sets major tick marks.
specified by:
setmajortickmark in interface ichartaxis

getborder

public chartborder getborder()
represents chart border. read only.
specified by:
getborder in interface ichartaxis

getticklabelposition

public ticklabelpositiontype getticklabelposition()
represents tick label position.
specified by:
getticklabelposition in interface ichartaxis

setticklabelposition

public void setticklabelposition(ticklabelpositiontype ticklabelposition)
sets tick label position.
specified by:
setticklabelposition in interface ichartaxis

getmultilevellable

public boolean getmultilevellable()
axis is show multi-level category lables.

setmultilevellable

public void setmultilevellable(boolean value)
axis is show multi-level category lables.

getvisible

public boolean getvisible()
indicates is axis is visible.
specified by:
getvisible in interface ichartaxis

setvisible

public void setvisible(boolean value)
indicates is axis is visible.
specified by:
setvisible in interface ichartaxis

getalignment

public axistextdirectiontype getalignment()
represents alignment for the tick label.
specified by:
getalignment in interface ichartaxis

setalignment

public void setalignment(axistextdirectiontype value)
represents alignment for the tick label.
specified by:
setalignment in interface ichartaxis

isreversed

public boolean isreversed()
true if plots data points from last to first.

isreversed

public void isreversed(boolean value)
true if plots data points from last to first.

getaxisid

public int getaxisid()
gets axis id.

setaxisid

public void setaxisid(int value)
sets axis id.

getchart3doptions

public iformat3d getchart3doptions()
gets the chart3 d options.
specified by:
getchart3doptions in interface ichartaxis

getchart3dproperties

public iformat3d getchart3dproperties()
gets the chart3 d properties.

getdeleted

public boolean getdeleted()
gets or sets value indicating whether axis was deleted.

setdeleted

public void setdeleted(boolean value)
gets or sets value indicating whether axis was deleted.

getshadow

public chartshadow getshadow()
represents the shadow.read-only
specified by:
getshadow in interface ichartaxis

getshadowproperties

public ishadow getshadowproperties()
represents shadow propertes.read-only

getautoticklabelspacing

public boolean getautoticklabelspacing()

setautoticklabelspacing

public void setautoticklabelspacing(boolean value)

getautotickmarkspacing

public boolean getautotickmarkspacing()

setautotickmarkspacing

public void setautotickmarkspacing(boolean value)

issourcelinked

public boolean issourcelinked()

issourcelinked

public void issourcelinked(boolean issourcelinked)

deepclone

public xlschartaxis deepclone(java.lang.object parent,
                              java.util.hashmap dicfontindexes,
                              java.util.hashmap dicnewsheetnames)
clone current object.
parameters:
parent - parent object.
dicfontindexes - dictionary with new indexes.
returns:
returns cloned object.


网站地图