chartaxis-ag凯发旗舰厅



com.spire.presentation.charts.entity
class chartaxis

java.lang.object
  extended by com.spire.presentation.pptobject
      extended by com.spire.presentation.charts.entity.chartaxis
all implemented interfaces:
ichartaxis

public class chartaxis
extends pptobject
implements ichartaxis

encapsulates the object that represents a chart's axis.


constructor summary
chartaxis()
           
chartaxis( parent)
           
chartaxis( axis,  parent)
           
chartaxis( axis,  parent)
           
chartaxis( axis,  parent)
           
chartaxis( axis,  parent)
           
 
method summary
 axistype getaxistype()
          gets categoryaxis type.
 chartbaseunittype getbaseunitscale()
          represents the base unit scale for the category axis.
 chartcrossestype getchartcrosstype()
          represents the crosstype on the specified axis where the other axis crosses.
 icharteffectformat getcharteffectformat()
          represents format of axis
 float getcrossat()
          represents the point on the value axis where the category axis crosses it.
 int getcrossbetweentype()
          get crossbetweentype
 chartdisplayunittype getdisplayunit()
          returns or sets the unit label for the specified axis.
 int getlbloffset()
          get lbloffset
 int getlogscale()
          gets or sets the logarithmic base.
 ichartgridline getmajorgridtextlines()
          represents major gridlines on a chart axis.
 tickmarktype getmajortickmark()
          represents major tick marks.
 float getmajorunit()
          represents the major units for the axis.
 chartbaseunittype getmajorunitscale()
          represents the major unit scale for the category axis.
 float getmaxvalue()
          get maximum value on axis.
 ichartgridline getminorgridlines()
          represents minor gridlines on a chart axis.
 tickmarktype getminortickmark()
          represents the type of minor tick mark for the specified axis.
 float getminorunit()
          get value of minor increment.
 chartbaseunittype getminorunitscale()
          represents the major unit scale for the category axis.
 float getminvalue()
          represents the minimum value on the value axis.
 java.lang.string getnumberformat()
          gets number format string.
 axispositiontype getposition()
          represents position of axis
 itextframeproperties gettextproperties()
          represent text properties of axis
 float gettextrotationangle()
          text rotation angle.
 ticklabelpositiontype getticklabelposition()
          represents the position of tick-mark labels on the specified axis.
 long getticklabelspacing()
          represents the number of categories or series between tick-mark labels.
 charttextarea gettitle()
          gets the axis' title.
 boolean hasdatasource()
          indicates whether the format is linked source data.
 void hasdatasource(boolean value)
          indicates whether the format is linked source data.
 boolean hasmultilvllbl()
          get hasmultilvllbl.
 void hasmultilvllbl(boolean hasmultilvllbl)
          set hasmultilvllbl.
 boolean hastitle()
          indicates whether a axis has a visible title.
 void hastitle(boolean value)
          indicates whether a axis has a visible title.
 boolean isautomajor()
          automatic major selected
 void isautomajor(boolean value)
          automatic major selected
 boolean isautomaticticklabelspacing()
          specifies automatic tick label spacing value.
 void isautomaticticklabelspacing(boolean value)
          specifies automatic tick label spacing value.
 boolean isautomax()
          automatic maximum selected.
 void isautomax(boolean value)
          automatic maximum selected.
 boolean isautomin()
          automatic minimum selected.
 void isautomin(boolean value)
          automatic minimum selected.
 boolean isautominor()
          indicates whether the minor unit of the axis is automatically assigned.
 void isautominor(boolean value)
          indicates whether the minor unit of the axis is automatically assigned.
 boolean iscrosscategories()
          indicates that the value axis crosses the category axis between categorie
 void iscrosscategories(boolean value)
          set that the value axis crosses the category axis between categorie
 boolean islogscale()
          logarithmic scale.
 void islogscale(boolean value)
          logarithmic scale.
 boolean ismergesamelabel()
          get ismergesamelabel
 void ismergesamelabel(boolean mergesamelabel)
          set ismergesamelabel
 boolean isreversed()
          gets or set plots data points from last to first.
 void isreversed(boolean value)
          gets or set plots data points from last to first.
 boolean isvisible()
          gets or sets if the axis is visible.
 void isvisible(boolean value)
          gets or sets if the axis is visible.
 void setaxistype(axistype value)
          sets categoryaxis type.
 void setbaseunitscale(chartbaseunittype value)
          set the base unit scale for the category axis.
 void setchartcrosstype(chartcrossestype value)
          sets the crosstype on the specified axis where the other axis crosses.
 void setcrossat(float value)
          set the point on the value axis where the category axis crosses it.
 void setcrossbetweentype(int value)
          set crossbetweentype
 void setdisplayunit(chartdisplayunittype value)
          returns or sets the unit label for the specified axis.
 void setlogscale(int value)
          gets or sets the logarithmic base.
 void setmajortickmark(tickmarktype value)
          represents major tick marks.
 void setmajorunit(float value)
          set the major units for the axis.
 void setmajorunitscale(chartbaseunittype value)
          set the major unit scale for the category axis.
 void setmaxvalue(float value)
          set maximum value on axis.
 void setminortickmark(tickmarktype value)
          set the type of minor tick mark for the specified axis.
 void setminorunit(float value)
          set value of minor increment.
 void setminorunitscale(chartbaseunittype value)
          set the major unit scale for the category axis.
 void setminvalue(float value)
          set the minimum value on the value axis.
 void setnumberformat(java.lang.string value)
          sets number format string.
 void setposition(axispositiontype value)
          set position of axis
 void settextrotationangle(float value)
          text rotation angle.
 void setticklabelposition(ticklabelpositiontype value)
          set the position of tick-mark labels on the specified axis.
 void setticklabelspacing(long value)
          set the number of categories or series between tick-mark labels.
 
methods inherited from class com.spire.presentation.pptobject
checkdisposed, getparent
 
methods inherited from interface com.spire.presentation.charts.entity.ichartaxis
dispose, getparent
 
constructor detail

chartaxis

public chartaxis()

chartaxis

public chartaxis( parent)

chartaxis

public chartaxis( axis,
                  parent)

chartaxis

public chartaxis( axis,
                  parent)

chartaxis

public chartaxis( axis,
                  parent)

chartaxis

public chartaxis( axis,
                  parent)
method detail

ismergesamelabel

public boolean ismergesamelabel()
get ismergesamelabel
specified by:
ismergesamelabel in interface ichartaxis
returns:

ismergesamelabel

public void ismergesamelabel(boolean mergesamelabel)
set ismergesamelabel
specified by:
ismergesamelabel in interface ichartaxis
parameters:
mergesamelabel -

hasmultilvllbl

public boolean hasmultilvllbl()
get hasmultilvllbl.
specified by:
hasmultilvllbl in interface ichartaxis
returns:

hasmultilvllbl

public void hasmultilvllbl(boolean hasmultilvllbl)
set hasmultilvllbl.
specified by:
hasmultilvllbl in interface ichartaxis
parameters:
hasmultilvllbl -

iscrosscategories

public boolean iscrosscategories()
indicates that the value axis crosses the category axis between categorie
specified by:
iscrosscategories in interface ichartaxis
returns:

iscrosscategories

public void iscrosscategories(boolean value)
description copied from interface: ichartaxis
set that the value axis crosses the category axis between categorie
specified by:
iscrosscategories in interface ichartaxis

getcrossat

public float getcrossat()
represents the point on the value axis where the category axis crosses it.
specified by:
getcrossat in interface ichartaxis
returns:

setcrossat

public void setcrossat(float value)
description copied from interface: ichartaxis
set the point on the value axis where the category axis crosses it. the number should be a integer when it applies to category axis. and the value must be between 1 and 31999.
specified by:
setcrossat in interface ichartaxis

getdisplayunit

public chartdisplayunittype getdisplayunit()
returns or sets the unit label for the specified axis.
specified by:
getdisplayunit in interface ichartaxis
returns:

setdisplayunit

public void setdisplayunit(chartdisplayunittype value)
returns or sets the unit label for the specified axis.
specified by:
setdisplayunit in interface ichartaxis
parameters:
value -

isautomax

public boolean isautomax()
automatic maximum selected.
specified by:
isautomax in interface ichartaxis
returns:

isautomax

public void isautomax(boolean value)
automatic maximum selected.
specified by:
isautomax in interface ichartaxis
parameters:
value -

getmaxvalue

public float getmaxvalue()
get maximum value on axis.
specified by:
getmaxvalue in interface ichartaxis
returns:

setmaxvalue

public void setmaxvalue(float value)
set maximum value on axis.
specified by:
setmaxvalue in interface ichartaxis
parameters:
value -

getminorunit

public float getminorunit()
get value of minor increment.
specified by:
getminorunit in interface ichartaxis
returns:

setminorunit

public void setminorunit(float value)
set value of minor increment.
specified by:
setminorunit in interface ichartaxis
parameters:
value -

isautominor

public boolean isautominor()
indicates whether the minor unit of the axis is automatically assigned.
specified by:
isautominor in interface ichartaxis
returns:

isautominor

public void isautominor(boolean value)
indicates whether the minor unit of the axis is automatically assigned.
specified by:
isautominor in interface ichartaxis
parameters:
value -

getmajorunit

public float getmajorunit()
represents the major units for the axis.
specified by:
getmajorunit in interface ichartaxis
returns:

setmajorunit

public void setmajorunit(float value)
set the major units for the axis.
specified by:
setmajorunit in interface ichartaxis
parameters:
value -

isautomajor

public boolean isautomajor()
automatic major selected
specified by:
isautomajor in interface ichartaxis
returns:

isautomajor

public void isautomajor(boolean value)
automatic major selected
specified by:
isautomajor in interface ichartaxis

isautomin

public boolean isautomin()
automatic minimum selected.
specified by:
isautomin in interface ichartaxis
returns:

isautomin

public void isautomin(boolean value)
automatic minimum selected.
specified by:
isautomin in interface ichartaxis

getminvalue

public float getminvalue()
represents the minimum value on the value axis.
specified by:
getminvalue in interface ichartaxis
returns:

setminvalue

public void setminvalue(float value)
set the minimum value on the value axis.
specified by:
setminvalue in interface ichartaxis
parameters:
value -

islogscale

public boolean islogscale()
logarithmic scale.
specified by:
islogscale in interface ichartaxis
returns:

islogscale

public void islogscale(boolean value)
logarithmic scale.
specified by:
islogscale in interface ichartaxis
parameters:
value -

getlogscale

public int getlogscale()
gets or sets the logarithmic base.
specified by:
getlogscale in interface ichartaxis
returns:

setlogscale

public void setlogscale(int value)
gets or sets the logarithmic base.
specified by:
setlogscale in interface ichartaxis
parameters:
value -

isreversed

public boolean isreversed()
gets or set plots data points from last to first.
specified by:
isreversed in interface ichartaxis
returns:

isreversed

public void isreversed(boolean value)
gets or set plots data points from last to first.
specified by:
isreversed in interface ichartaxis
parameters:
value -

isvisible

public boolean isvisible()
gets or sets if the axis is visible.
specified by:
isvisible in interface ichartaxis
returns:

isvisible

public void isvisible(boolean value)
gets or sets if the axis is visible.
specified by:
isvisible in interface ichartaxis
parameters:
value -

getmajortickmark

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

setmajortickmark

public void setmajortickmark(tickmarktype value)
represents major tick marks.
specified by:
setmajortickmark in interface ichartaxis
parameters:
value -

getminortickmark

public tickmarktype getminortickmark()
represents the type of minor tick mark for the specified axis.
specified by:
getminortickmark in interface ichartaxis
returns:

setminortickmark

public void setminortickmark(tickmarktype value)
set the type of minor tick mark for the specified axis.
specified by:
setminortickmark in interface ichartaxis
parameters:
value -

getticklabelposition

public ticklabelpositiontype getticklabelposition()
represents the position of tick-mark labels on the specified axis.
specified by:
getticklabelposition in interface ichartaxis
returns:

setticklabelposition

public void setticklabelposition(ticklabelpositiontype value)
set the position of tick-mark labels on the specified axis.
specified by:
setticklabelposition in interface ichartaxis
parameters:
value -

getmajorunitscale

public chartbaseunittype getmajorunitscale()
represents the major unit scale for the category axis.
specified by:
getmajorunitscale in interface ichartaxis
returns:

setmajorunitscale

public void setmajorunitscale(chartbaseunittype value)
set the major unit scale for the category axis.
specified by:
setmajorunitscale in interface ichartaxis
parameters:
value -

getminorunitscale

public chartbaseunittype getminorunitscale()
represents the major unit scale for the category axis.
specified by:
getminorunitscale in interface ichartaxis
returns:

setminorunitscale

public void setminorunitscale(chartbaseunittype value)
set the major unit scale for the category axis.
specified by:
setminorunitscale in interface ichartaxis
parameters:
value -

getbaseunitscale

public chartbaseunittype getbaseunitscale()
represents the base unit scale for the category axis.
specified by:
getbaseunitscale in interface ichartaxis
returns:

setbaseunitscale

public void setbaseunitscale(chartbaseunittype value)
set the base unit scale for the category axis.
specified by:
setbaseunitscale in interface ichartaxis
parameters:
value -

getminorgridlines

public ichartgridline getminorgridlines()
represents minor gridlines on a chart axis.
specified by:
getminorgridlines in interface ichartaxis
returns:

getmajorgridtextlines

public ichartgridline getmajorgridtextlines()
represents major gridlines on a chart axis.
specified by:
getmajorgridtextlines in interface ichartaxis
returns:

getcharteffectformat

public icharteffectformat getcharteffectformat()
represents format of axis
specified by:
getcharteffectformat in interface ichartaxis
returns:

gettextproperties

public itextframeproperties gettextproperties()
represent text properties of axis
specified by:
gettextproperties in interface ichartaxis
returns:

gettitle

public charttextarea gettitle()
gets the axis' title.
specified by:
gettitle in interface ichartaxis
returns:

getchartcrosstype

public chartcrossestype getchartcrosstype()
represents the crosstype on the specified axis where the other axis crosses.
specified by:
getchartcrosstype in interface ichartaxis
returns:

setchartcrosstype

public void setchartcrosstype(chartcrossestype value)
description copied from interface: ichartaxis
sets the crosstype on the specified axis where the other axis crosses.
specified by:
setchartcrosstype in interface ichartaxis

getposition

public axispositiontype getposition()
represents position of axis
specified by:
getposition in interface ichartaxis
returns:

setposition

public void setposition(axispositiontype value)
set position of axis
specified by:
setposition in interface ichartaxis
parameters:
value -

hastitle

public boolean hastitle()
indicates whether a axis has a visible title. read/write .
specified by:
hastitle in interface ichartaxis
returns:

hastitle

public void hastitle(boolean value)
indicates whether a axis has a visible title. read/write .
specified by:
hastitle in interface ichartaxis

getcrossbetweentype

public int getcrossbetweentype()
get crossbetweentype
specified by:
getcrossbetweentype in interface ichartaxis
returns:

setcrossbetweentype

public void setcrossbetweentype(int value)
set crossbetweentype
specified by:
setcrossbetweentype in interface ichartaxis

getnumberformat

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

setnumberformat

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

hasdatasource

public boolean hasdatasource()
indicates whether the format is linked source data.
specified by:
hasdatasource in interface ichartaxis
returns:

hasdatasource

public void hasdatasource(boolean value)
indicates whether the format is linked source data.
specified by:
hasdatasource in interface ichartaxis
parameters:
value -

gettextrotationangle

public float gettextrotationangle()
text rotation angle.
specified by:
gettextrotationangle in interface ichartaxis
returns:

settextrotationangle

public void settextrotationangle(float value)
text rotation angle.
specified by:
settextrotationangle in interface ichartaxis
parameters:
value -

getticklabelspacing

public long getticklabelspacing()
represents the number of categories or series between tick-mark labels.
specified by:
getticklabelspacing in interface ichartaxis
returns:

setticklabelspacing

public void setticklabelspacing(long value)
set the number of categories or series between tick-mark labels.
specified by:
setticklabelspacing in interface ichartaxis
parameters:
value -

isautomaticticklabelspacing

public boolean isautomaticticklabelspacing()
specifies automatic tick label spacing value. if false: use ticklabelspacing property.
specified by:
isautomaticticklabelspacing in interface ichartaxis
returns:

isautomaticticklabelspacing

public void isautomaticticklabelspacing(boolean value)
specifies automatic tick label spacing value. if false: use ticklabelspacing property.
specified by:
isautomaticticklabelspacing in interface ichartaxis
parameters:
value -

getlbloffset

public int getlbloffset()
get lbloffset
returns:

getaxistype

public axistype getaxistype()
description copied from interface: ichartaxis
gets categoryaxis type.
specified by:
getaxistype in interface ichartaxis
returns:

setaxistype

public void setaxistype(axistype value)
description copied from interface: ichartaxis
sets categoryaxis type.
specified by:
setaxistype in interface ichartaxis


网站地图